Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Flex 3 with Java

You're reading from  Flex 3 with Java

Product type Book
Published in Jun 2009
Publisher Packt
ISBN-13 9781847195340
Pages 304 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Flex 3 with Java
Credits
About the Author
About the Reviewers
Preface
Installing and Configuring Adobe Flex Introduction to Flex 3 Framework Introduction to ActionScript 3.0 Using External API and LocalConnection Working with XML Overview of LiveCycle Data Services and BlazeDS Flex Data Access Methods Communicating with Server-side Java Debugging Techniques Styling your Application Packaging and Deployment Internationalization and Localization Creating an E-commerce Application

Chapter 6. Overview of LiveCycle Data Services and BlazeDS

Let's begin this chapter by understanding the real meaning of the term Rich Internet applications (RIAs). RIAs are web-based applications that are rich in presenting dynamic content that goes beyond the traditional request and response model. Flex is a presentation technology, which means that it sits over many existing middleware technologies such as Java, .NET, ColdFusion, and PHP. The purpose of Flex is to build data-intensive applications that provide richer and engaging experience to the end user.

You can leverage your existing server-side infrastructure and choose Flex as your presentation layer. Flex integrates well with J2EE (Enterprise Edition) or server-side Java technologies using an additional server-side layer known as LiveCycle Data Services or BlazeDS deployed on your application server. This additional layer facilitates your Flex application to invoke and communicate directly with Java classes on the server so that...

LiveCycle Data Services


Adobe LiveCycle Data Services is the high-performance, scalable, and flexible server-side framework that provides a powerful data service API to simplify critical data management problems such as data synchronization, paging, and conflict management.

The LiveCycle Data Services provides an entire set of data management features such as data synchronization, paging, real-time messaging, and conflict management to help you build real-time enterprise Flex applications. LiveCycle Data Services is deployed as a standard J2EE web application.

LiveCycle Data Services is a commercial product from Adobe. You can download the trial version from Adobe's web site: http://www.adobe.com/go/trylivecycle_dataservices.

LiveCycle Data Services features can be categorized into three main categories, as shown in the following table:

BlazeDS


BlazeDS is a free, open source version that provides a subset of the functionality provided by LiveCycle Data Services. BlazeDS is a server-side remoting and messaging technology. Remoting simplifies communication between Flex and server-side Java by automatically serializing and de-serializing objects between Flex and Java, and vice versa. In simple words, by using BlazeDS, developers can call server-side Java methods and classes from a Flex application. By using BlazeDS, developers can create data-rich Flex applications by easily integrating with server-side Java technology and push data in real time to the Flex application.

BlazeDS, along with the Action Message Format (AMF) protocol specification, are open source. The source code is available under the Lesser General Public License (LGPL v3) from http://opensource.adobe.com/blazeds. The AMF is a compact binary data transfer protocol which increases application's data-loading performance. AMF binary data format is up to 10 times...

BlazeDS vs LiveCycle Data Services


In comparison, LiveCycle Data Services offers more features than BlazeDS. But when it comes to choosing between LiveCycle Data Services and BlazeDS, consider the following comparison points.

LiveCycle Data Services

LiveCycle Data Services offers the following features:

  • High scalability and performance: If your application offers services for a very large number of concurrent users and requires the ability to send and receive data in real time

  • Data management: If you are building real-time data collaboration application services, which require data management abilities such as conflict management, change management, and so on

  • Enterprise document integration: If your application involves reporting and document generation (such as PDF documents) that include graphical assets from Flex applications (such as graphs and charts)

BlazeDS

BlazeDS offers the following features:

  • Remoting: Remoting over AMF offers faster data-loading performance and the ability to...

Summary


In this chapter, you learned about LiveCycle Data Services and BlazeDS technologies for integrating Flex applications with service-side Java. You also understood detailed features offered by BlazeDS and LCDS.

In the next chapter, you will learn about various data access methods with code examples along with the Flash Player security model. You will also get an overview of various data types mapping between Java to ActionScript during serialization/deserialization, which will help you to get started with Flex and server-side Java communication.

lock icon The rest of the chapter is locked
You have been reading a chapter from
Flex 3 with Java
Published in: Jun 2009 Publisher: Packt ISBN-13: 9781847195340
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}

Service

Description

Data Management Services

The services such as real-time data synchronization, data conflict management, and data paging are a part...