InfoQ

News

J2flex - A Persistence Store for Flex applications

Posted by Jon Rose on Oct 22, 2007 09:03 AM

Community
Java
Topics
Data Access ,
Rich Internet Apps
Tags
Flex ,
Adobe
J2flex - A Persistence Store for Flex applications

j2flex.com has started rolling out their j2flex product over the last month, blogging about a number of details, and putting the API documentation online. j2flex is a “Persistence Store for Flex applications,” similar in basic features to Hibernate or iBATIS from the Java community.

The j2flex.com site does not currently offer any details on licensing, or how to gain access to the product. On the site, the features are detailed across a number of blog entries:
  • Mapping the physical data model to the Flex world
  • Dedicated authentication and authorization
  • Workflow support
  • Easily extend j2flex to meet your needs, either through the Flex/ActionScript 3 or Java API
  • j2flex.com describes the product as growing out of their internal Flex development needs starting back with Flex 1.0, and their desire to provide a simple backend option for groups without the ability or need to develop a more significant backend.
    … a lot of smaller shops start evaluating Flex 2.0 but then realized that they do not know how to integrate Flex with their data store. Some of them even do not have a dedicated data store in place and say: "Ohh, Flex is soo cool - but how do I connect to a database?"
    After introducing the product, the j2flex.com site introduced “The main concepts:”
    The main concept in j2flex is something called a “meta database”, an object-oriented data model stored in a relational database system like MS SQL Server or Oracle.

    … In the world of j2flex every object stores an OBJ_ID and an OBJ_TYPE value. Both of these are numeric and together they a unique primary key to lookup date from the several tables.

    … This approach allows us to persist pretty complex data definitions very easily and without much hassle, including 1-1, 1-n and n-m relationships.

    … If you already have a full-blown physical database model in place, it’s quite easy to make it work with j2flex. All you have to do is to add OBJ_ID and OBJ_TYPE columns to your physical data model.
    Their next post covered “CRUD operations” on the client side (API), starting with some overall goals and details:
    One of the main goals for j2flex was to keep things simple. For a default installation this means, that you do not have to code a single line of server side code to persist

    … j2flex comes as a compiled ActionScript library (SWC) that has to be added to the project's build path. The main class you're working with in the client side code is called J2flexService.
    Hopefully, j2flex will soon provide more details on licensing the product, as it will be interesting to see where it fits in the Flex community.

    1 comment

    Reply

    j2flex requires LiveCycle Data Services by Mustafa Egilmezbilek Posted Oct 23, 2007 1:14 PM
    1. Back to top

      j2flex requires LiveCycle Data Services

      Oct 23, 2007 1:14 PM by Mustafa Egilmezbilek

      From the j2flex - CRUD Operations (www.j2flex.com/2007/10/11/12/#more-12):
      "Actually, j2flex 1.0 requires an existing installation of Adobe's LiveCycle Data Services (LCDS) product so under the hood it uses the same messaging and transport infrastructure as LCDS (i.e. AMF3 over HTTP and/or RTMP)."

      Even if the j2flex's license is quite inexpensive, the LCDS license is enough to discourage developers to stay away from using it.

      Mustafa

    Exclusive Content

    Book Except and Interview : Aptana RadRails, An IDE for Rails Development

    Aptana RadRails: An IDE for Rails Development by Javier Ramírez discusses the latest Aptana RadRails IDE, a development environment for creating Ruby on Rails applications.

    Fast Bytecodes for Funny Languages

    Cliff Click discusses how to optimize generated bytecode for running on the JVM. Click analyzes and reports on several JVM languages and shows several places where they could increase performance.

    Scott Ambler On Agile’s Present and Future

    Scott Ambler, Practice Lead for Agile Development at IBM, speaks on the current status of the Agile community and practices having a look at the perspective of the Agile’s future.

    Manager's Introduction to Test-Driven Development

    Dave Nicolette and Karl Scotland try to introduce non-technical managers to one of the most popular Agile development techniques: Test-Driven Development (TDD).

    Structured Event Streaming with Smooks

    Smooks is best known for its transformation capabilities, but in this article Tom Fennelly describes how you can also use it for structured event streaming.

    How to Work With Business Leaders to Manage Architectural Change

    Successful architectures evolve over time to meet changing business requirements. Luke Hohmann presents how to collaborate with key members of your business to manage architectural changes.

    Colors and the UI

    In this article, Dr. Tobias Komischke explains how colors used in a GUI can influence our interaction with a computer and offers advice on using the appropriate colors for the interface.

    Building your next service with the Atom Publishing Protocol

    In his presentation, recorded at QCon San Francisco, MuleSource architect Dan Diephouse explores ways to use the Atom Publishing Protocol (AtomPub) when building services in a RESTful way.