将 Java EE 项目迁移到 Flex 4
我有一个 Java EE 项目,其中包含由 Flex 实现的部分。 我想升级所有由JSP页面实现的接口,以 弯曲 4. 我认为这两种技术是完全不同的。还有,还有 不是flex和JSP之间的桥梁。 这就是为什么我必须通过 Flex 从零开始重新初始化项目 技术。 请问你有什么解决办法吗?
I have a Java EE project which contain a part implemented by Flex.
I want to upgrade all the interfaces, implemented by JSP pages, to
flex 4.
I think that the two technologies are completely different. Also, there
is not a bridge between flex and JSP.
That why i have to reinitialize the project from zero by Flex
technology.
have you any solution please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我会尝试为您提供从哪里开始的线索。 Flex 确实支持使用 JSP 作为后端,使用 HTTPService 对象。假设您的 JSP 是在构建时考虑到这一点的。如果没有,您可以构建新的兼容 JSP,以支持现有功能和 HTTPService 调用的新要求。 Adobe 提供的一个不错的起点。 http://cookbooks.adobe.com/post_Building_Flex_Applications_with_JSPs-7746.html
上述链接假设您正在提供一个可序列化的数据流作为调用 JSP 页面的结果。这将允许您从操作脚本代码中访问数据,并以您想要的任何方式操作它。
还有其他可用的来源,包括上面链接中提到的 BlazeDS。 http://labs.adobe.com/technologies/blazeds/
OK, I'll attempt to give you a clue where to start. Flex does support using JSP as the backend, using the HTTPService object. Assuming your JSPs were built with this in mind. If not you can build new compliant JSPs that support your existing functionality and the new requirements of an HTTPService call. A decent starting point, provided by Adobe. http://cookbooks.adobe.com/post_Building_Flex_Applications_with_JSPs-7746.html
The above link assumes you are providing a serializable datastream as the result of a call to your JSP pages. This would allow you to access the data from within your actionscript code, and manipulate it any way you want.
There are other sources available, including BlazeDS, mentioned in the above link. http://labs.adobe.com/technologies/blazeds/