Back to article

Dynamic Languages on GlassFish

March 22, 2010

According to a recent Sun webcast, GlassFish v3 supports not only JavaEE applications but Ruby/Rails, Groovy/Grails, Jython/Django, PHP, F, Scala and Lift.

When a browser sends a request to GlassFish via HTTP (Grizzly), the GlassFish kernel delegates the request to the appropriate container for processing. All the containers have access to the common GlassFish security, configuration, naming and injection features.

In both v2 and v3, you can deploy a Ruby/Rails application on GlassFish by packaging it as a WAR file. In v3, this packaging is no longer required. Deployment can be automated using Capistrano. The NetBeans IDE 6.5 (All Bundle) supports development, debugging and deployment of Rails applications on GlassFish. There is also a lightweight GlassFish Gem, which is based on the GlassFish v3 kernel.

For Grails applications, GlassFish lets you create "shared-war" files which share the Grails core classes. The resulting files are much smaller than standard WAR files and less expensive to deploy.

Sitemap | Contact Us

Thanks for your registration, follow us on our social networks to keep up-to-date