GlassFish v3 Gem - 0.1.1 available

Pramod released an updated version 0.1.1 of the JRuby GlassFish v3 gem.

What's New ? - Mainly alignment with Rails convention
  1. The name of the gem is changed from "GlassFish" to "glassfish".
  2. The default port number is 3000.
  3. Applications are deployed at root context ("/"). So the default application is now deployed "http://localhost:3000/home/index" instead of "http://localhost:8080/temp/home/index".
And then there are some other improvements:
  1. The number of concurrent requests can now be set using a command-line argument (instead of "-J-Djruby.runtime"). So 2 Rails instances can be created using the following command:

    jruby -S glassfish_rails temp -n 2
  2. Rails instances are created in parallel to improve the startup time of the gem.
How to install it ?

If you installed 0.1.0 version of the gem, then you need to uninstall using the following command:

bin/jruby -S gem uninstall GlassFish
Successfully uninstalled GlassFish-0.1.0-java
Remove executables and scripts for
'glassfish_rails, asadmin, asadmin.bat' in addition to the gem? [Yn]  Y
Removing glassfish_rails
Removing asadmin
Removing asadmin.bat


And then install the new gem using the following command:

bin/jruby -S gem install glassfish
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Successfully installed glassfish-0.1.1-universal-java
1 gem installed


And for a fresh check out of JRuby trunk, here is the list of gems shown:

bin/jruby -S gem list

\*\*\* LOCAL GEMS \*\*\*

actionmailer (2.0.2)
actionpack (2.0.2)
activerecord (2.0.2)
activeresource (2.0.2)
activesupport (2.0.2)
glassfish (0.1.1)
rails (2.0.2)
rake (0.8.1)
sources (0.0.1)


Read more details about the this newly released gem here.

All the latest information about the gem can be found at GlassFish JRuby wiki or JRuby wiki.

Please use the gem and send us feedback on GlassFish forums, dev@glassfish or gem mailing list.

File issues in JIRA or GlassFish Issue Tracker.

Technorati: ruby jruby glassfish v3 gem rubyforge rubyonrails
Comments:

Wow - you guys are turning around updates quickly! Congrats on moving to the root context - that was a show-stopper for many.

Posted by Brian Ketelsen on February 14, 2008 at 02:08 AM PST #

Thanks Brian. I have been actively working on the gem and do want to provide updates frequently. Please be patient.

Posted by Pramod Gopinath on February 14, 2008 at 03:13 AM PST #

[Trackback] GlassFish v3 Gem allows JRuby-on-Rails application to be launched in GlassFish v3 server. It provides a robust alternative to WEBrick and Mongrel for development and deployment of your JRuby-on-Rails applications. UPDATE (Feb 14): A 0.1.1 version of t...

Posted by Arun Gupta's Blog on February 14, 2008 at 05:32 AM PST #

[Trackback] Rails 2.0 changes the way Scaffold works. This blog walks you through the steps to create a simple CRUD application using Scaffold in Rails 2.0. Download & Install JRuby 1.1 RC2. Install Rails using the following command: jruby -S gem...

Posted by Arun Gupta's Blog on February 19, 2008 at 04:11 PM PST #

[Trackback] BitNami provides easy-to-use, integrated and multiplatform install bundles for different open source apps. They released JRubyStack last week which includes JRuby 1.1 RC2, Rails 2.0.2, GlassFish v3 Gem 0.1.1, MySQL 5.0.45 and some other miscellaneous c...

Posted by Arun Gupta's Blog on March 11, 2008 at 06:03 AM PDT #

[Trackback] Pramod announced the release of GlassFish v3 Gem ver 0.1.2. The focus of this release is bugfixes: IssueTracker #4228: Duplicate entries for Scaffold generated by Rails 2.0.2 IssueTracker #3966: Blank page returned if no Rails instance is available Ru...

Posted by Arun Gupta's Blog on March 13, 2008 at 01:23 PM PDT #

[Trackback] Vivek released 0.3.0 version of GlassFish Gem for Rails (a total of 11 issues fixed and resolved - RubyForge & GlassFish Issue Tracker) earlier. But that caused a regression on #4228. And so matching the agility expected by Rails developers, h...

Posted by Arun Gupta's Blog on June 24, 2008 at 11:42 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.


Java EE 7 Samples

Stay Connected

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
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
   
       
Today