GraniteDS - Flex 2+/EJB3/Seam/Spring/Guice/Pojo

Discussions

News: GraniteDS - Flex 2+/EJB3/Seam/Spring/Guice/Pojo

  1. GraniteDS - Flex 2+/EJB3/Seam/Spring/Guice/Pojo (2 messages)

    GraniteDS, aims to deal with removing the complexities of creating an RIA Flex or AIR application. There are a lot of choices out there today for creating rich internet applications, each with its own set of advantages. When making the decision on which path to take, you want to get started easily but without sacrificing the ability to create a robust, scalable application. GraniteDS maintains this balance. Some of the main features GraniteDS 1.1.0 GA offers: Granite Eclipse Builder : A new Eclipse builder plug-in runs automatically Gas3 (the GDS ActionScript3 generator) each time you have created or modified a Java bean (likely an entity bean). When configured for your Java project via its graphical wizard or options panel, it replicates on the fly your entire Java model to its ActionScript3 mirror. Generated beans implement all required logic for strong typing externalization, lazy-loading support and Tide integration. MXML/AS3 Web Compiler: it has the same features offered by its Adobe equivalent (on-the-fly compilation of MXML files deployed in your war) but also brings the ability to compile code from any input stream (from a simple String or a database for example). This has been contributed by Sébastien Deleuze (author of the Igenko project) and you may test it online here. Tide: Aims to deal with removing the complexities of creating an RIA Flex or AIR application. There are a lot of choices out there today for creating rich internet applications, each with its own set of advantages. When making the decision on which path to take, you want to get started easily but without sacrificing the ability to create a robust, scalable application. Tide maintains this balance. Tide is intended to be a full alternative for the Cairngorm + Flex Data Management Service stack. On Flex side, we have found Cairngorm to be a good Flex development framework but somehow tedious to follow (numerous files required for rather simple operations). On Java side, Flex Data Management is only available in LiveCycle Data Services and some features required for us aren't implemented at all or not the way we expect them. Tide addresses all those requirements and targets for now the JBoss/Seam framework (Spring and plain EJB3 will come soon). More Tide advantages: • The client works with strongly typed Hibernate/JPA detached objects, not object proxies, thanks to GDS’ support of lazy initialized entities and the gas3 generator • All client/server interactions are done exclusively by method calls on services exposed by the server, and thus respect transaction boundaries, security, and validation rules defined by the remote services • All managed entity instances are unique in a Tide context. This allows you to maintain correct data bindings between calls to remote services. • Collection paging and transparent initialization of lazy collections • client-side entity caching • Integration with hibernate validator • Integration with Seam’s paged Query components which can be used as data providers for Flex UI components • Integration with Seam’s events, both synchronous and asynchronous, allowing Flex client to observe events raised by the server • Integration with Seam’s paged query component • Support for Seam contexts (conversation, session, application, etc…) • Increased exception handling support • Simplified Configuration support. One services-config file can service all of your needs • Lightweight component based Flex framework that is deeply integrated with the other features and can advantageously replace Cairngorm or PureMVC An example call to a seam component would look like this: public class HelloWorld { public function helloWorld():void { (1) var tideContext:Context = Seam.getInstance().getSeamContext(); (2) tideContext.helloWorld.sayHello("Jimi", helloResult); } private function helloResult(event:TideResultEvent):void { (3) Alert.show(event.result); } } You can also get some more information from the GraniteDs website.
  2. Just wanted the take the time to say thanks to the GraniteDS team. We've been using it for about a year and it's a been a great help by being very flexible (no pun here!), allowing us for example to pretty easily taylor it to some specific needs by developing our own externalizers (think marshallers). The AS3 templates processed by the generator are plain Groovy templates so it's a joy to work with. All in all, a great product, robust and versatile. Thanks again!
  3. Flex 2+, EJB3, Seam, Spring, Guice, Pojo
    Buzzword Halloween.