Flex 3 with Java

More Information
  • Install and configure Flex 3.0 SDK and Flex Builder 3 to build and deploy Flex Rich Internet Applications
  • Discover the Flex application architecture and how to use MXML language to write Flex applications
  • Learn to mix ActionScript and MXML code to write Flex applications, use Events, create custom events, and create and use custom components
  • Use External API and LocalConnection to enable communication between ActionScript and JavaScript and from SWF to SWF
  • Build a sample book explorer application with XML using the E4X approach in Flex
  • Use Adobe LiveCycle Data Services and BlazeDS components for accessing server-side data
  • Discover data access methods such as HTTPService, WebService, and RemoteObjects with code examples and learn how to use them to send and receive remote data
  • Use BlazeDS or LCDS proxy services to access data by eliminating the need for a cross-domain policy file
  • Interact with the server environment and access backend data sources to send and receive remote data in your Flex application.
  • Develop Flex applications to communicate with JSP and process data sent by the server in your Flex application.
  • Debug your application in the production environment using various debugging techniques along with Flex Builder'ۧs debugger and some third-party tools
  • Learn various ways of packaging your Flex application using Flex Builder 3 and Ant Script
  • Customize your application's look and feel using external CSS and learn how to utilize runtime CSS for changing your application's look and feel dynamically
  • Use internationalization techniques to customize your application for multiple locales
  • Localize Flex applications by using ResourceManager class; learn the technique to create resource bundle modules and load them at runtime to change locale dynamically 

Chapter 1: Installing and Configuring Adobe Flex – In this chapter you will learn thebasics of Flex programming: downloading, installing, and configuring Flex SDK and Flex Builder 3.

Chapter 2: Introduction to Flex 3 Framework – This chapter will introduce you to MXML scripting for laying out User Interfaces (UI) in the Flex world; it also provides hand-on examples to get you started with MXML programming.

Chapter 3: Introduction to ActionScript 3.0 – This chapter will introduce you to the ActionScript 3.0 programming along with detailed code samples.

Chapter 4: Flex and JavaScript Communication – In this chapter you will learn how to communicate with JavaScript from a Flex application and vice versa.

Chapter 5: Working with XML – In this chapter you will learn how to work with XML data using Flex's E4X approach.

Chapter 6: Overview of BlazeDS and LiveCycle Data Service – This chapter provides an overview of BlazeDS and LiveCycle Data Service.

Chapter 7: Flex Data Access Methods – This chapter provides in-depth information about data access methods available in Flex with detailed and step-by-step code samples along with a Flash player security model. It also gives you a detailed insight on how to use RemoteObject to communicate with Java code.

Chapter 8: Communicating with Server-Side Java - This chapter provides step-by-step code examples to get started with Flex and Java communication along with clear and simple code examples.

Chapter 9: Debugging Techniques – In this chapter you will learn how to debug your Flex application using Flex Builder 3 and some third-party tools.

Chapter 10: Packaging and Deployment – You will learn how to build and package the Flex application using available tools such as Apache Ant and learn about various deployment options that you can use.

Chapter 11: Styling Your Application – This chapter gives an overview of using Cascading Style Sheets (CSS) for changing look and feel of your Flex application and components with brief code examples and tools for designing CSS files.

Chapter 12: Internationalization – This chapter will give you an overview of internationalizing your application.

Chapter 13: Creating an e-Commerce Application – This chapter provides a step-by-step guide for creating an end-to-end e-commerce application using Flex 3, ActionScript 3.0, BlazeDS, and Java.


Flex 3 is a great technology for developing Rich Internet Applications for the Web as well as for the desktop. If you are a developer looking to design great-looking and sophisticated user interfaces that resemble desktop-based applications, and want to utilize an existing server technology such as Java to develop RIAs, this book is for you.

Targeting developers who want to get started with Adobe Flex 3 programming, this simple and clear handbook introduces Flex technology quickly and straightforwardly. Utilizing your existing knowledge of Java, it gives you the insight and hands-on experience to program with Flex 3.

This book provides comprehensive information on various aspects of Flex 3 and ActionScript 3.0. These include developing simple applications, handling events, creating custom components and events, using RPC services, integration with Java and BlazeDS, styling and formatting, and how to package and deploy Flex applications.

You will start with downloading, installing and configuring Flex 3 SDK and Flex Builder 3 and learn basic concepts such as what MXML and ActionScript are, understanding UI components, controls, compilers, and more. Further you will develop simple applications and slowly advance into more depth where you will learn advanced concepts such as creating custom components, debugging, integrating with Java, using RPC services, styling, internationalizing, and deploying Flex applications, and more.

One of the things you're really going to love about this book is that you will develop a full-blown e-commerce application using a combination of Flex 3, ActionScript 3.0, BlazeDS 3.2, and Java. At the end of the book you will have the knowledge and experience needed to develop Rich Internet Applications.

  • A step-by-step tutorial for developing web applications using Flex 3, ActionScript 3.0, BlazeDS 3.2, and Java
  • Build efficient and seamless data-rich interactive applications in Flex using a combination of MXML and ActionScript 3.0
  • Create custom UIs, Components, Events, and Item Renders to develop user friendly applications
  • Build an end-to-end Flex e-commerce application using all major features of Flex covered throughout the book
Page Count 304
Course Length 9 hours 7 minutes
ISBN 9781847195340
Date Of Publication 25 Jun 2009


Satish Kore

Satish Kore hails from Bangalore, the IT capital of India. He has more than 8 years experience in the technology world, spread across multiple technologies and domains, and he has extensive knowledge of Java, J2ME and Adobe Flex, ActionScript, and so on. He is a Principle Engineer at multinational company in Bangalore, India. He is a Flex enthusiast and evangelist and has been working on Flex since its early 1.5 version days. His application built using Flex 3 has won a best-application award from Flash-based telephony company Ribbit (http://www.ribbit.com). You can visit his blog for more information at http://blog.satishkore.com.