17 June 2009

Adobe LiveCycle Data Services simplifies the development of Rich Internet applications using Flash and Java. LiveCycle Data Services provides tooling, client and server frameworks to help you write applications that leverage the flexibility and power of Flash with your existing as well as new enterprise Java applications.

LiveCycle Data Services 3 beta is a preview of the upcoming version of the product and has some significant new capabilities:

  • Support for model-driven development of applications for Adobe Flash, which make application development better, faster, and easier
  • New capabilities for developers to controls the quality of service of enterprise applications

In this article I will provide an overview of the new capabilities provided by the LiveCycle Data Services 3 beta.

Better, faster, easier application development

Adobe has developed a new technology, code named Fiber, which brings model-driven development to Flex developers. With Fiber, developers start by creating an application model from which they go on to develop the Flex user interface and the server business logic. It is easier and quicker to now develop Flex applications with Flash Builder 4 and LiveCycle Data Services 3.

The beta version of LiveCycle Data Services 3 provides a Fiber model run-time, and thus enables data persistence out of the box. With Fiber, data management is implicitly supported and does not require developers to create custom assemblers or employ complicated LiveCycle Data Services specific configurations. More often you can develop a functional application skeleton or prototype without ever having to write any Java or Flex code.

We have also developed a brand new text and graphical data modeling editor, with a plug-in to Adobe Flash Builder 4 beta, which further simplify creating enterprise-ready Flex applications.

These capabilities help enterprise Flex and Java developers to be more productive, and they are designed to be highly extensible to meet complex enterprise application needs.

Quality of service

Flex applications running in Adobe Flash Player can cache data, execute business logic, and open network connections. This enables new kinds of web applications that are difficult or impossible to implement with HTML/AJAX.

With the LiveCycle Data Services 3 beta, we have added two new features:

  • Reliable communications
  • Data throttling

Reliable communications

Before the LiveCycle Data Services 3 beta, the Flash client application and the server application made the best attempt to send requests and obtain responses, but communications were not guaranteed to reach the recipient. The LiveCycle Data Services 3 beta supports an acknowledge capability that enables all communications between Flex-based applications for Flash and the LiveCycle Data Services server to be guaranteed. All that you have to do is mark the LiveCycle Data Services 3 beta server destination as reliable.

This enables new capabilities and enhanced web applications.

Reliable web transactions over the Internet
  • Online banking applications with reliable account transfers
  • Reliable online trading applications
  • Web applications that update automatically after long data processing tasks are completed in your enterprise
  • Seamless online customer support applications
Reliable real-time and near-real-time applications - Applications can recover network failure without losing data
  • Monitoring applications that recover automatically from a network failure, for example applications for infrastructure performance monitoring, electric grids monitoring, flight arrivals and departures, and live sport score updates
  • Applications that depend on uninterrupted data synchronization across clients, for example inventory management, live auction transactions, and so on
Pause and resume capability for applications
  • Document management clients that provide pause and resume functionality around document upload and download capabilities
  • Analytical applications that transfer large data sets over the Internet don't have to be connected to the network throughout the download process.
  • Consumer facing applications (e.g. using Adobe AIR) that download large data, e.g. online catalogs

Data throttling

Data throttling is an extension of the messaging infrastructure in the LiveCycle Data Services 3 beta. Similar to the media streaming and throttling capability offered by Flash Media Server, data throttling reduces or increases the amount of data being streamed based on the speed at which Flash Player processes data.

The LiveCycle Data Services 3 beta supports several options for throttling data, including adaptive throttling. With adaptive throttling, the LiveCycle Data Services 3 beta server can adjust the data streaming rate automatically without any manual intervention.

Because the LiveCycle Data Services 3 beta server may be able to provide data faster than the client can process, it supports multiple options for developers to control excess data, including:

  • Ignore : You can specify the threshold at which the server stops sending data
  • Conflate (or Merge): Merge subsequent updates and only send the latest updates
  • Custom: Enables developers to hook business specific logic to handle the excess data

Where to go from here

Please visit Adobe Labs for more details. There you can download the LiveCycle Data Services 3 beta and try out some of the new capabilities. You can also check out the documentation, samples, and videos that should help you get started with the new features. Of course, we'd love to hear your feedback on the forum, so be sure to let us know what you think.