New and improved GlassFish gem
Posted by vivekp on November 7, 2008 at 6:55 PM EST
I am
pleased to announce a long awaited GlassFish
gem
ver 0.9.0, it
is based on GlassFish v3 Prelude nucleus. This release of GlassFish gem
has everything that GlassFish v3 Prelude has to offer plus some new
features. See my post
on JRuby on Rails support in GlassFish v3 Prelude.Installation
jruby -S gem install
glassfish

Key features
- Based on GlassFish v3 Prelude nucleus
- GlassFish v3 Prelude is a production quality application server and the nucleus is based on this final version.
- Rack based
- GlassFish gem is Rack based. This means it would be pretty easy to add any Ruby based web frameworks, such as Merb, Camping, Sinatra, etc.
- Merb support
- Not just Rails, you can
start running your Merb applications, simply type
glassfishin your Merb application directory. - Autodetection of application framework
- Simply type
glassfishand it will detect what app you are running, whether Rails or Merb - It means you have to know about only one command glassfish. glassfish_rails is deprected and supported for now due to backward compatibility
- -port or -p option to specify on which port your application runs
- -environment or -e option to specify the Rails development environment, such as production, development or test
- JRuby runtime pool configuration
- Much needed for scaling when running Rails 2.1.x applications
- Not required if running Edge Rails (2.2). Because it is supposed to be MT or atleast MT safe.
- Also, not required for Merb
Issues Resolved
3964 Provide -port option to specify port for v3 gem6470 HTTP keep-alive not honored
4823 glassfish_rails command should attempt to load the current directory if none specified
5446 Jruby on Rails show request header in page
21080 Issues reported at rubyforge
How to use?
Simply type glassfish in your application directory. If not sure see help:jruby -S glassfish -h

Related Topics >>
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- vivekp's blog
- 3087 reads






Comments
by vivekp - 2008-12-04 18:06
The options remain the same. This has been fixed in GlassFish gem release 0.9.1.by sethbc - 2008-12-03 00:51
glassfish-0.9.0-universal-java/modules% grep '\-\-runtime' command_line_parser.rb | head -n 3 [ '--runtimes', '-n', GetoptLong::REQUIRED_ARGUMENT ], [ '--runtimes_min', GetoptLong::REQUIRED_ARGUMENT ], [ '--runtimes_max', GetoptLong::REQUIRED_ARGUMENT ], the options are --runtimes_{min,max} - the help file should be updatedby vivekp - 2008-11-07 19:44
Missing URL, http://blogs.sun.com/Jacobkessler/entry/gem_0_9_0_releasedby vivekp - 2008-11-07 19:44
Also see Jacob's post