BlazeDS is the server-based Java remoting and web messaging technology that enables developers to easily connect to back-end distributed data and push data in real-time to Adobe Flex and Adobe AIR applications for more responsive rich Internet application (RIA) experiences.
Configure an existing J2EE web application to support BlazeDS by performing the following steps:
Here are some useful link1 link2
Suppose you download the updated BlazeDS into folder blazeds-turnkey-4.0.0.14931/, and your existing J2EE application is under Tomcat/webapp/blJ2EEApp/
- Add the BlazeDS JAR files and dependent JAR files to the WEB-INF/lib directory.
- Copy all .jar files from blazeds-turnkey-4.0.0.14931/WEB-INF/lib to Tomcat/webapp/blJ2EEApp/WEB-INF/lib
- Edit the BlazeDS configuration files in the WEB-INF/flex directory.
- Copy blazeds-turnkey-4.0.0.14931/WEB-INF/flex folder to Tomcat/webapp/blJ2EEApp/WEB-INF
- Define MessageBrokerServlet and a session listener in WEB-INF/web.xml.
- Copy part of blazeds-turnkey-4.0.0.14931/WEB-INF/web.xml to Tomcat/webapp/blJ2EEApp/WEB-INF/web.xml
- MessageBroker Servlet part