1. What is Granite Data Services
Overview
Granite Data Services (GraniteDS or GDS) is a free, open source, LGPL2'd alternative to Adobe® LiveCycle® (Flex™ 3+) Data Services for JavaEE application servers.
It is not, however, a drop-in replacement; you will not be able to simply deploy a LiveCycle Data Services application into a GraniteDS server without modifications. The main goal of this project is to provide a framework for Flex 2/EJB 3/Spring/Seam/Guice/POJO application development with full AMF3/RemoteObject benefits.
It implements service factories required for:
- EJB 3 (session beans that return entity beans),
- Seam (with identity security and conversation support),
- Spring (with Acegi or Spring security and entity beans support),
- Guice/Warp (with entity beans support),
- Simple Java™ classes (aka POJO) interactions.
Here is an architecture schema overview:

It also features:
- Gas3: An ActionScript3 code generator that may be run as a standalone Ant task, as an Eclipse Ant plugin, or even as an Eclipse builder plugin.
- Web Compiler: A servlet that compiles your MXML/ActionScript3 code at runtime.
GDS is designed to be lightweight, robust, fast, and highly configurable.
