I put together a new Test Drive environment to allow you to explore the development of Flex 4 applications with a Java back-end using the new “Data-Centric Development” features of Flash Builder 4. These features include service introspection, value object and service stub generation, etc. This Test Drive is still work in progress: it currently consists of a single application called InSync (a complete Flex 4 rewrite of my contact management sample application), but I think it’s already valuable to understand the impact of the new Flash Builder 4 data features. Insync also demonstrates some of the new features of Flex 4: skinning, skinnable components, layout managers, etc.
Watch the video below to get familiar with the Test Drive environment and the sample application:
Installation Instructions
- Download flex-java-testdrive.zip, and unzip the file in your root directory.
- Open a Command Window or Shell, navigate to /flex-java-testdrive/tomcat/bin, and start Tomcat (for instance: catalina run).
- Open a browser and access http://localhost:8400/testdrive/InSync/InSync.html.
Importing the projects in Flash Builder 4
- In Flash Builder 4, click File > Import > General > Existing Projects into Workspace.
- Specify flex-java-testdrive/projects as the root directory and click finish.
- Explore the projects: InSync is the Flex project and java-testdrive is the Java project for the server-side classes.
In the InSync project, the classes in the services and valueObjects packages have been generated automatically by Flash Builder 4. My next blog post will show you how to generate these classes based on existing Java services deployed in BlazeDS.
NOTE: Because BlazeDS 4 hasn’t yet been released, this version of the Test Drive uses a nightly build of BlazeDS 4.
RSS