My Books

  • Follow me on Twitter
My Photo

Subscribe my blog

  • Get this widget from Widgetbox
  • Add to Google
  • RSS FEEDS
  • Enter your Email here to subscribe :



    Powered by FeedBlitz

Blog Widget by LinkWithin

« James Ward's interview about Flex, AIR, LiveCycle Data Services, the AMF protocol and much more ! | Main | Do I need to sign a redistribution license to deploy AIR in an enterprise setting ? »

Grails plugin for Adobe Flex, Livecycle DS and BlazeDS

Grails_logo Grails is growing more and more and it's gaining an important role over the Java community. Grails is an open-source web application framework that leverages the Groovy language (a cool dynamic language) and complements Java Web development. The Grails framework is built on top of  Spring , an establised enterprise framework. 

The community is huge and you can now find a lot of interesting and useful plugin system  to speed up andintegrate integrates Grails with technologies Java people care about like GWT, DWR, JMS, IntelliJ, search operations are based on Luceneand and others.

Recently a new plugin for Adobe Flex, Livecycle DS and BlazeDS  is available for the Grails framework:

Grails Flex Plugin

the installation of the plugin is very easy. It's enough to launch it using this command line :

grails install-plugin flex

And you'll be ready to specify a Grails service as a remoting destination for Blaze DS or Livecycle DS using the expose property to your service class :

static expose = ['flex-remoting']

Grails is a framework for which I'm very eager to know more. I hope this summer I'll find the time to write some tutorials about the use of Grails plugin for Adobe Flex, Livecycle DS and BlazeDS.

Grails plugin for Adobe Flex and BlazeDS features

* Automatic configuration of Flex related web descriptor elements - For Flex to work configuration of servlets etc. are required in the web descriptor. This plugin automatically does this configuration.
* Eposing Grails services as Flex remoting destinations - When using Flex remoting services each Java service need to be configured within Flex using xml configuration. When exposing Grails service classes with this plugin this configuration is not needed anymore. The service class will automatically be registered within the Flex message broker.
* Participation in reloading of exposed Grails services - This plugin participates nicely with the reloading facilities of Grails. When creating new services or exposing existing services, they will be registered in the Flex message broker without restarting the application
* Embedded BlazeDS libraries
* Embedded Flex Webtier Compiler - When installing this plugin it will automatically install the Flex Webtier Compiler to your web application (within the WEB-INF folder). In development mode this Webtier Compiler is automatically enabled.

Comments

Yeap. I've been looking at it and looks good. Still, I think a lot more can be done here. For example, what about Flex scaffolding automatic code generation? What about support for GraniteDS ( http://www.graniteds.org ) so we could could get rid of those pesky "Hibernate Session already closed" exceptions we get from BlazeDS and Spring?

Seems like Marcel Overdijk (its author) is not interested in adding scaffolding ( http://jira.codehaus.org/browse/GRAILSPLUGINS-225 ). I am. Anyone else interested in giving a hand?

yes good flex document ???

Thanks for information.

I think a lot more can be done here.

Automatic configuration of Flex related web descriptor elements - For Flex to work configuration of servlets etc. are required in the web descriptor. This plugin automatically does this configuration.

And you'll be ready to specify a Grails service as a remoting destination for Blaze DS or Livecycle DS using the expose property to your service class :

Thanks Roshan, I got it working after fixing it how you said. Your scripts is great.

Recently a new plugin for Adobe Flex, Livecycle DS and BlazeDS is available for the Grails framework:

* Participation in reloading of exposed Grails services - This plugin participates nicely with the reloading facilities of Grails.

When creating new services or exposing existing services, they will be registered in the Flex message broker without restarting the application
* Embedded BlazeDS libraries

The community is huge and you can now find a lot of interesting and useful plugin system to speed up andintegrate integrates Grails with technologies Java people care about like GWT, DWR, JMS, IntelliJ, search operations are based on Luceneand and others.

good flex document

http://search.live.com
If you do not wish to receive similar messages please inform us on it by mail ban.site[dog]gmail.com

good flex document ty

Thanks Roshan, I got it working after fixing it how you said. Your scripts is great.

Participation in reloading of exposed Grails services - This plugin participates nicely with the reloading facilities of Grails.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Pistach.io

Speaker at

WebDeveloper's Journal Author

  • My favourite Flash Lite 3 mobile phone
  • Web Developer's & Designer's Journal by Sys Con Media
  • Web Developer's & Designer's Journal Blogger
    Web Developer's & Designer's Journal by Sys Con Media
  • FullAsGoog Aggregator
  • Macromedia WebLogs Aggregator

June 2009

Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30