E-book details

Flex 3 with Java. Develop rich internet applications quickly and easily using Adobe Flex 3, ActionScript 3.0 and integrate with a Java backend using BlazeDS 3.2

Flex 3 with Java. Develop rich internet applications quickly and easily using Adobe Flex 3, ActionScript 3.0 and integrate with a Java backend using BlazeDS 3.2

Satish Kore

Ebook
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.
  • Flex 3 with Java
    • Table of Contents
    • Flex 3 with Java
    • Credits
    • About the Author
    • About the Reviewers
    • Preface
      • What this book covers
      • What you need for this book
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code for the book
        • Errata
        • Piracy
        • Questions
    • 1. Installing and Configuring Adobe Flex
      • Installing open source Flex 3 SDK
        • Installation directory structure
        • About configuration files
      • Flex compilers
        • Using compcthe component compiler
        • Using mxmlcthe application compiler
      • Installing Flex Builder 3
      • Creating a Flex project
        • UI designer and source code editor
        • Flex LiveDocs
      • Summary
    • 2. Introduction to Flex 3 Framework
      • How Flex works
      • Compiling and running an application
      • About MXML
        • Understanding namespaces
        • Using namespaces in your code
      • Containers
        • Layout manager
        • Layout containers
        • Using Box, HBox, and VBox containers
        • Navigator containers
        • Form containers
        • Constraint-based layout
      • Using events in MXML
      • Creating custom events
      • Validating and formatting data
        • Restricting user entry
        • Formatting
      • Data binding
        • Using the [Bindable] metadata tag
      • Creating MXML custom components
      • Understanding Flex itemRenderers
        • Drop-in itemRenderers
        • Inline itemRenderers
        • External itemRenderers
      • Summary
    • 3. Introduction to ActionScript 3.0
      • ActionScript 3.0 language features
        • Strict data typing
        • Runtime exceptions
        • Sealed classes and dynamic classes
        • Method closure
        • XML and E4X
        • New primitive data types
        • Regular expressions
        • Object-oriented programming
      • ActionScript 3.0 fundamentals
        • Variables
        • Access modifiers
        • Packages
        • Classes and interfaces
          • Classes
          • Interfaces
          • Implementing an interface in a class
          • Inheriting classes
        • Functions and methods
          • Named functions
          • Anonymous functions
          • Function parameters
            • The default parameter values
            • The ...(rest) parameter
        • Setter and getter methods
        • Flow control and looping
          • If/else statement
          • switch statement
          • Looping
            • While looping
            • do..while looping
            • for looping
            • for..in looping
            • for each..in looping
        • Exceptions and error handling
          • try...catch...finally statements
          • Create your own custom Error class object
        • Reserved words and keywords
      • Using ActionScript 3.0 with MXML
        • Using the <mx:script> tag
        • Using the include directive
      • Working with events
        • Registering event handlers
        • Dispatching an event
        • About the target and currentTarget properties
        • Event propagation
          • Capturing phase
          • Targeting phase
          • Bubbling phase
        • Creating custom events
        • Creating and using ActionScript components
        • The commitProperties() method
        • The createChildren() method
        • The layoutChrome() method
        • The measure() method
        • The updateDisplayList() method
      • Summary
    • 4. Using External API and LocalConnection
      • Using External API
        • Using the ExternalInterface class
          • Getting information about external container
        • Calling JavaScript code from ActionScript
        • Calling ActionScript code from JavaScript
      • Using LocalConnection
        • Summary
    • 5. Working with XML
      • XML basics
      • Understanding E4X
        • The XML object
        • The XMLList object
        • Working with XML objects
        • Using XML as dataProvider
      • Loading external XML documents
      • An example: Building a book explorer
      • Summary
    • 6. Overview of LiveCycle Data Services and BlazeDS
      • LiveCycle Data Services
      • BlazeDS
      • BlazeDS vs LiveCycle Data Services
        • LiveCycle Data Services
        • BlazeDS
        • Understanding AMF
      • Summary
    • 7. Flex Data Access Methods
      • Flex data access components
        • The HTTPService class
          • Using the HTTPService tag in MXML
          • An example of HTTPService
          • Using the HTTPService class in ActionScript
        • The WebService class
          • Using the WebService tag in MXML
          • An example of WebService
          • WSDL document
          • Using the WebService class in ActionScript
          • Working with SOAP headers
        • The RemoteObject class
          • Using the RemoteObject tag in MXML
          • An example of RemoteObject
          • Working with strongly-typed objects
        • Understanding the Flash Player security sandbox
          • Understanding the cross-domain policy file
          • Creating a proxy service
      • Summary
    • 8. Communicating with Server-side Java
      • The HTTPService class
        • Working with XML data
        • Working with JSON data
      • Summary
    • 9. Debugging Techniques
      • Flash Debug Player
        • Using client-side logging
        • Flex Builder Debugger
          • The Debug view
          • The Variables view
          • The Breakpoints view
          • The Expressions view
        • Network monitoring
          • ServiceCapture
          • Charles Web Debugging Proxy
      • Summary
    • 10. Styling your Application
      • Using inline styles
      • Using external CSS files
        • Creating and designing Cascading Style Sheets
      • Loading stylesheets at runtime
      • Summary
    • 11. Packaging and Deployment
      • Packaging your application
      • Using Flex Ant Tasks
      • Deploying your application
        • Flex deployment options
          • Using a single SWF file deployment
          • Using web-tier compilation
      • Summary
    • 12. Internationalization and Localization
      • Internationalization (i18n) and localization (l10n)
        • Language
        • Assets
        • Culture
        • Time zones
      • Localization of Flex applications
        • Creating a resource file
        • Creating resource modules
      • Summary
    • 13. Creating an E-commerce Application
      • The general anatomy of the application
      • Lets start coding
        • The Flex code
        • The Java code
          • Directories and files
      • Summary
    • Index
  • Title: Flex 3 with Java. Develop rich internet applications quickly and easily using Adobe Flex 3, ActionScript 3.0 and integrate with a Java backend using BlazeDS 3.2
  • Author: Satish Kore
  • Original title: Flex 3 with Java. Develop rich internet applications quickly and easily using Adobe Flex 3, ActionScript 3.0 and integrate with a Java backend using BlazeDS 3.2
  • ISBN: 9781847195357, 9781847195357
  • Date of issue: 2009-06-26
  • Format: Ebook
  • Item ID: e_3bad
  • Publisher: Packt Publishing