Flex and Java communication, generally using LCDs (LiveCycle data Service), but this is a charge, so the free blazeds instead, BlazeDS is the official from the LCDs of the open source data service middleware.
Why it is generally used LCDs, that is, not necessarily need to use LCDs, because the LCDs provide the function can be fully realized, and in addition to the RemoteObject way, there are webservice, Httpservice and so on. In short, using LCDs allows Flex to communicate with the backend more convenient and characteristic.
BlazeDS is a server-based Java remote control and web messaging technology that enables the communication between flex applications running on the browser and remote Java applications.
The Adobe official website describes blazeds:
BlazeDS is the server-based Java Remoting and web messaging technology This enables to developers connect to easily ND distributed data and push data in real-time to Adobe®flex®and Adobe air™applications for more responsive rich intern ET application (RIA) experiences.
This allows for the existing Java EE project to add Flex, or flex projects to achieve complex functional applications.
The official web site is as follows:
Http://opensource.adobe.com/wiki/display/blazeds/BlazeDS
The next lesson is to use the blazeds to configure Java and Flex development for the environment.
Article Source: http://wangyisong.javaeye.com/blog/395116