Miles to go ...

Arun Gupta is a Technology Evangelist for Web Services and Web 2.0 Apps at Sun. He was the spec lead for APIs in the Java platform, committer in multiple Open Source projects, participated in standard bodies and contributed to Java EE and SE releases.
« 3 steps for successf... | Main | Bought a new treadmi... »

http://blogs.sun.com/arungupta/date/20080216 Saturday February 16, 2008

GlassFish v3 gem on JRuby 1.1 RC2

JRuby 1.1 RC2 was released earlier today an GlassFish v3 gem works like a charm on it :)

Read the complete announcement here. The key features of RC2 are:

  1. 260 issues resolved
  2. Large IO refactoring
  3. Less memory than previous release
    1. Control total number of JIT'd methods
    2. Support a JIT cache between runtimes to return permgen
    3. 50-70% reduction in generated methods
Here are the steps for quick verification on v3 gem ...
  1. Download JRuby 1.1 RC2
  2. Install Rails and create a simple Rails application as described in TOTD #24.
  3. Install GlassFish v3 gem using the command as shown below:

    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
  4. And now the simple application can be easily deployed on GlassFish gem as:

    jruby -S glassfish_rails hello

    Notice this command needs to be given from the parent directory of the application. The Applcation environment is as shown below:

    JRuby 1.1 RC2 Application Environment

    and the application output looks like exactly as expected:

    JRuby 1.1 RC2 Application Output
More details about GlassFish and JRuby can be found @ GlassFish wiki and JRuby wiki. Help us test your application on the v3 gem and file issues in JIRA or GlassFish Issue Tracker.

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

Technorati: jruby ruby rubyonrails glassfish v3 gem

del.icio.us | furl | simpy | slashdot | technorati | digg
Comments:

I happened to run across a show-stopping problem (for me - a complete noob in this area) on SXDE 1/08. It seems as though jruby tries to *create* /dev/null rather than just opening it for writing.

http://jira.codehaus.org/browse/JRUBY-2125

I did not have this problem on Windows.

BTW, is it expected that drag and drop of just about all of the jMaki widgets does not work with 1.1? I spent a lot of time this weekend trying to figure out a rather large set of tools (NetBeans, jruby, jMaki, Phobos, MySQL, ...) and this was the straw that made me stop looking at jruby. I suspect that it has something to do with the fact that when a new view is created it creates a .erb file rather than a .rhtml file. Any pointers to what is going on here would be most appreciated.

Thank you very much for your frequent blog entries and screencasts. They have been very helpful.

Posted by Mike Gerdts on February 17, 2008 at 07:49 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 01:03 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
« 3 steps for successf... | Main | Bought a new treadmi... »

Valid HTML! Valid CSS!

This is a personal weblog, I do not speak for my employer.

--> ajax ajaxworld conf eclipse fitness gem glassfish glassfishday hyderabad india indigo interoperability javaone javaone2008 jax-ws jmaki jpa jruby marathon metro microsoft mysql netbeans phobos photography presos railsconf ruby rubyonrails running runninglog runsfm screencast siliconvalleymarathon sun suntechdays swdp tango theserverside totd training traveltips v3 vista wcf web2.0 webservices windows wsaddressing wsit
Project Tango: Adding Quality of Service and .NET Interoperability to the Metro Web Services Stack
Locations of visitors to this page

calendar

« May 2008
SunMonTueWedThuFriSat
    
11
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
Today

Stats

Today's Page Hits: 4350


Total # blog entries: 597
Total # comments: 1640

www.flickr.com
This is a Flickr badge showing public photos from ArunGupta. Make your own badge here.
Add to Technorati Favorites

Last 50