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:
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.






















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?
Posted by: Rodrigo Reyes | May 27, 2008 at 05:18 PM
yes good flex document ???
Posted by: evden eve nakliyat | November 11, 2008 at 10:00 AM
Thanks for information.
Posted by: evden eve nakliyat | January 29, 2009 at 04:06 PM
I think a lot more can be done here.
Posted by: evden eve nakliyat | February 24, 2009 at 09:18 PM
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.
Posted by: estetik | March 27, 2009 at 10:16 PM
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 :
Posted by: sac ekimi | March 27, 2009 at 10:16 PM
Thanks Roshan, I got it working after fixing it how you said. Your scripts is great.
Posted by: evden eve nakliyat | May 06, 2009 at 02:23 PM
Recently a new plugin for Adobe Flex, Livecycle DS and BlazeDS is available for the Grails framework:
Posted by: oto kiralama | May 18, 2009 at 11:42 AM
* Participation in reloading of exposed Grails services - This plugin participates nicely with the reloading facilities of Grails.
Posted by: araç kirama | May 18, 2009 at 11:44 AM
When creating new services or exposing existing services, they will be registered in the Flex message broker without restarting the application
* Embedded BlazeDS libraries
Posted by: estetik | May 18, 2009 at 11:45 AM
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.
Posted by: burun estetiği | May 18, 2009 at 11:45 AM
good flex document
Posted by: cam balkon | June 26, 2009 at 11:23 AM
Thanks Roshan, I got it working after fixing it how you said. Your scripts is great.
Posted by: oteller | July 05, 2009 at 09:03 PM
Participation in reloading of exposed Grails services - This plugin participates nicely with the reloading facilities of Grails.
Posted by: haberler | July 05, 2009 at 09:04 PM
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? there is not....Burun Estetiği
Posted by: Ozan kara | July 14, 2009 at 03:31 PM
good sharing,thank you
Posted by: film izle | July 15, 2009 at 05:53 PM
Hey, nice post, really well written. You should post more about this. I’ll certainly be subscribing.
Posted by: bayrak | July 16, 2009 at 11:59 AM
thanks alot admin
Posted by: bayrak | July 16, 2009 at 12:00 PM
Thanks Roshan, I got it working after fixing it how you said. Your scripts is great.
Posted by: sesli sohbet | July 17, 2009 at 02:09 AM
thanks for share
Posted by: nakliyat | July 21, 2009 at 02:08 PM
Nice articles, helped me a lot thanks.
Posted by: perde | July 21, 2009 at 02:23 PM
ff Participation in reloading of exposed Grails services - This plugin participates nicely with the reloading facilities of Grails.
Posted by: burun estetiği | August 20, 2009 at 04:07 PM
Hi .. Java people care about like GWT, DWR, JMS, IntelliJ, search operations are based on Luceneand and others.
Posted by: evden eve nakliyatl | November 11, 2009 at 12:02 PM
this is good article, thanks admin
Posted by: ali | November 16, 2009 at 08:14 PM
thanks alot admin, good document
Posted by: Erd | November 17, 2009 at 09:27 PM