How do I get AS3 and/or Flex/AIR applications to communicate with CORBA apps?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Until somebody writes a CORBA-compliant library for Flex (which you may care to do yourself ;), your best bet may be to build a 'wrapper' web service (accessible via the standard Flex WebService object) that acts as a bridge.
回答2:
I think you need to make some sort of proxy, like a Java server that you connect to. I don't think there are any CORBA libraries for AS3. I could be wrong though...
回答3:
From what I know it is possible to call Java from Flex (at least you get lot's of google results for that :-) )
Given that I would recommend to do an experiment if you can use a Java ORB (I would recommend JacORB (http://www.jacorb.org/) and see if you can use it from flex.