Flex 用于具有 Java/Oracle 后端的基于图表的报告
我对 Flex 的唯一体验是通过网络进行了一些有限的阅读。我想知道的是,如果我想使用 Flex 或其某些变体来生成报告,特别是图表,来自 Java/Oracle 后端,我可以在流媒体(我们无法在我们的系统上播放视频)的环境中实现这一目标吗?工作)已关闭?另外,使用 Flex 进行图表形式的报告是否还有其他限制? 目前,我们使用 Jfree Chart API 来开发图表,但只是探索替代方案。
My only experience with Flex is some limited reading over the web. What i am wondering is if i want to use Flex or some variant of it for generating reports, specifically Charts, coming off a Java/Oracle backend can i accomplish that in an environment where the streaming media (we cannot play videos on our systems at work) is turned off? Also, are there any other restrictions revolving around using Flex for reporting in the form of charts?
Currently, we use Jfree Chart API to develop charts but just exploring an alternative.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Flex 有一个相当不错的图表 API,并且还有其他不错的图表包。总的来说,我认为这是一个不错的解决方案,请记住您需要能够在浏览器中播放 Flash 视频(因为 Flex 在 Flash 播放器中运行)。
您需要从 Java 创建一个服务,向客户端提供数据;您可以使用 REST、BlazeDS(允许服务器将数据“推送”到客户端),或其他类型的 Web 服务。如果您想要基于桌面的客户端,请查看 AIR。
请记住这一点:Flash 播放器是单线程的。如果您的项目需要多线程功能,您将无法从 Flex 获得它。尽管它是事件驱动的,但最终,所有处理都通过单个线程进行,并且可能会为繁重的工作带来一些瓶颈。
尽管有些库不是免费的,但 Adobe 在 Flex 3.5 中开放了他们的数据可视化库:可以免费使用。
以下是一些有用的链接:
Flex has a pretty decent charting API, and there are other nice charting packages out there. Overall, I would say this is a decent solution, keeping in mind you need to be able to play Flash videos in your browser (since Flex runs in the Flash player).
You'll need to create a service from Java which provides data to the client; you can do this using REST, BlazeDS (which allows the server to "push" data to the client), or some other type of Web service. If you want a desktop-based client, check out AIR.
Keep this in mind: the Flash player is single-threaded. If your project requires multi-threaded functionality, you won't get it from Flex. Though it's event-driven, at the end of the day, all processing goes through a single thread and can create a bit of a bottleneck for heavy lifting.
Though some libraries are not free, Adobe opened up their data visualization library back in Flex 3.5: it's free to use.
Here are some helpful links:
Flex 选项非常适合绘制图表(我们使用 C# 后端和 Flex 前端制作了一个基于完整图表/可视化的应用程序)。然后,我们进行了相当小的更改,将其转换为 Adobe Air 安装,将其转变为桌面应用程序,其中 C# 在本地运行并与 mysql 通信。不过,Adobe 对 Java 的支持更好,并且更容易链接到 Flex
The flex option is very good for charting (we did a full charts/visualizations based app with C# backend and Flex frontend). We then, with quite minor changes, turned it into a desktop app by converting it to an Adobe Air install, with C# running locally and talking to mysql. Java is better supported by adobe though, and easier to link to Flex