Dynamic Languages support in GlassFish v3 Prelude
Posted by vivekp on November 6, 2008 at 9:33 PM EST
Read Jerome's post on GlassFish v3 key architectural points that enables pluggable containers.
Following dynamic languages based frameworks are supported on GlassFish v3 Prelude:
JRuby on Rails
Ruby on Rails applications are supported in the pure native form using JRuby runtime. There is Rails container in GlassFish v3 that deploys and passes on the request and response to Rails using Grizzly. Since Rails is single threaded, there is JRuby runtime pool, which can be configured for scaling well.There is also GlassFish Ruby gem. The GlassFish gem is based on GlassFish v3 nucleus, this means you are running/testing your Rails applications against the same GlassFish server bits. Read here on how to use GlassFish gem.
Read here for more details on how JRuby on Rails works and key features.
Also note that JRuby and Rails deployment on Glassfish v3 Prelude is commercially supported by Sun.
Groovy on Grails
GlassFish v3 Prelude Update Center provides Grails package which is Grails 1.0.3 plus value additions from GlassFish. Here are some key points:- Development and deployment on the same server
- grails run-app runs GlassFish v3 Prelude in embedded mode
- Efficient packaging and deployment
- grails shared-war creates a smaller and efficient grails application
- Hot deployment without OOM/PermGen issue
- Deploying war file created with 'grails war' command has certain issues with with respect to locks in groovy and HSQLDB's issue. These issues cause OOM due to lack of PermGen space on multiple redeployments.
- grails shared-war minimizes it in orders of magnitude
PHP
Quercus (Caucho)
- Open Source (GPL) PHP 5 implementation in Java
- WAR packaging
- WordPress, MediaWiki, phpBB, Joomla
PHP/Java Bridge
- Open Source (LGPL)
- XML based network protocol for native PHP
- Faster, easier than JNI
- Java native threads used for concurrent requests
- PHP and JSP session sharing
Scala/Lift
- Lifts apps packaged as WAR
- asadmin deploy liftApp.war
- For details on developing and deploying Lift applications on GlassFish v3, see here
Related Topics >>
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- vivekp's blog
- 1911 reads





