BlazeDS is a set of data services that significantly simplify the development of data-driven Rich Internet Applications, and dramatically improve the performance of their data access operations. In addition, BlazeDS enables the creation of a new breed of real-time data push and collaborative applications. BlazeDS is deployed as a set of JAR files as part of your Web application running in your Java EE application server or servlet container.
BlazeDS consists of three key services:
- The Remoting Service allows your Flex application to directly invoke methods of Java objects deployed in your application server.
- The Message Service provides a publish/subscribe infrastructure that allows your Flex application to publish messages and subscribe to a messaging destination, enabling the development of real-time data push and collaborative applications.
- The Proxy Service allows your Flex application to make cross-domain service requests in a secure and controlled manner. In other words, it allows your Flex application to access a service available on a different domain than the domain from where the application was downloaded (without having to deploy a crossdomain.xml policy file on the target domain).
In this Getting Started tutorial, you will learn how to:
- Set up your BlazeDS environment
- Build a messaging application
- Build a remoting application.
Requirements
To complete this tutorial you will need to install the following software and files:
Adobe Flex Builder 3.0
BlazeDS Turnkey Server
Java Development Kit (1.5 or later)
Eclipse
About the author
Christophe Coenraets worked at Powersoft—which then became part of Sybase—from 1994 to 2000.
He started working with Java in 1996 and became the technical evangelist
for the company's Java and Internet Application Division. Christophe then joined
Macromedia as the technical evangelist for JRun, the company's J2EE application
server. In this position, Christophe started working on rich Internet applications
(RIAs) and on ways of integrating Flash front ends with J2EE back ends. Christophe
is currently Senior Evangelist for the new developer-centric RIA initiative at Adobe. Christophe has been a regular speaker at conferences
worldwide for the last 10 years.