Tuesday May 01, 2007

Rails Integration Exploiting GlassFish Availability

Three Locomotives

Here are two related entries by Ashish. First he reports on the latest release (1.1.1) of Rails Integration (creation of WAR files from Rails apps), which improves deployment, performance and conforms to Rails 1.2.x.

Ashish next describes how to deploy these WARs to a GlassFish v2 cluster! We will show this demo at JavaOne but you can beat the crowds (for free!) at GlassFish Day (requires registration).

PS. I'm falling quite behind in reporting important news because I'm very busy with J1 and GFD and the pace of announcements is increasing. Fortunately it is just one more week!

Wednesday Feb 28, 2007

PHP and Ruby on Sun Web server

PHP Logo

Here are two recent entries showing how to use fastCGI to enable using Scripting Languages in the new Sun WebServer 7.0. First, check Natarajan detailed blog to learn how to use the new PHP AddOn. Then you can also check Seema and Marina's very detailed article to use Ruby on Rails.

All TheAquarium entries related to the Sun WebServer use the WebServer tag. For details on the Sun WebServer 7.0, check the Product Page and the SDN Developer page. The download is available here and the documentation here.

Wednesday Feb 21, 2007

Ruby on Rails on GlassFish and with an Embedded Derby

Derby Logo

Ashish is making Rails apps run well on GlassFish, and has been writing about it. His latest writeup describes how to take a RoR app, deploy it into GlassFish and have it use a Derby database embedded (the alternative is remote, where Derby runs in a separate process).

A few gotcha's, so check Ashish's blog for details if you are to do this.

Friday Feb 16, 2007

RoR as a WAR, Simplified Process

Rails on Wooden Sleepers

Continued improvement in how to deploy a Ruby on Rails Application into GlassFish as a WAR file. Ashish explains how to use jRuby-Extras so that you only need to say:

cp -R rails-integrations/plugins/war rails-app-dir/vendor/plugins/
cd
rails-app-dir; rake war:standalone:create;

Check the details at Ashish's blog.

Sunday Jan 21, 2007

More on Rails on GlassFish

Ruby on Rails

Ashish has been spending some time on Ruby on Rails and on GlassFish and has written a number of articles on how to combine the two technologies (TA entries). He just published a new blog entry describing in detail how to use Grizzly in GlassFish with jRuby and RoR using TAKAI Naoto's contribution.

Still a bit too many steps for my liking, but steadily moving in the right direction...

Tuesday Dec 26, 2006

Recent Developments at Ruby, jRuby, GlassFish and NetBeans

There is a lot happening in the GlassFish and NetBeans communities related to Ruby and Rails. Several of the developments have been presented at JavaPolis, read about it from Ludo, Jean-Francois, and Charles, and here is my recap and overview:

JRuby Logo

On the JRuby front, Tom, Charles, Ola, et al have Released JRuby 0.9.2 focusing on compatibility and basic performance (direct generation of bytecodes will come later), just presented two Talks at JavaPolis and you can also try directly the WebStart-enabled IRB console that Tom posted recently.

NetBeans Logo

On the NetBeans side, Tor et al have been making very good progress on adding Ruby support to NB 6.0 (Introduction, Update). The editing part uses jRuby underneath (that's should just be an internal dependency) but I need to find out more about what type of debugging is available under what conditions.

GlassFIsh v2 Logo

Finally, Ashish has a good series of blogs covering several of the ways to run a Rails app depending on how you package it, who handles the HTTP requests, and what runtime is used. First two blogs on how to use jRuby as the runtime inside GlassFish: first deploying a WAR and then how to Use Derby as the database. Then he shows how to use the GlassFish's CGI support and Ruby native first one Rails App and then Multiple Apps.

All this is pretty bleeding edge, but stay tuned. This is obviously an area of keen interest and usefulness, so expect continuous improvements over the next year.

Saturday Nov 18, 2006

(j)Ruby on Rails on GlassFish (and on Grizzly)

Ruby on Rails

Charles reports on the recent progress on Packaging and Deployment Options for (j)Ruby. Charles now has an all-in-one JAR that can then be run on the client and on the server side. On his part, TAKAI has been working on replacing the WEBbrick and has succeeded in using AsyncWeb with very substantial performance improvements, and then also on deploying directly on GlassFish.

All this looks very promising and I think will open many doors for Ruby in the enterprise - even this very early work is already mentioned in more mainstream blogs. Thanks to JeanFrancois for pointing to Grizzly's Role.

Thursday Nov 02, 2006

RoR and Blojsom and more Web 2.0 Apps on Sun Web Server

Rails Logo

Sun's WebServer 7.0 provides a Java Web Tier as well as good connectivity (NSAPI, Fast-CGI) with many non-Java applications. As an example of the former, Seema also shows how to run Blojsom, which follows from Blojsom on GlassFish, as did our previously reported Phobos on Web Server. As an example of the latter, Seema describes in detail how to Run Ruby On Rails.

All together, the Sun WebServer is a good Web 2.0 Platform, and it will get better as one will be able to run the latest Java Web Tier by Plugging the GlassFish Web Tier.

Tuesday May 02, 2006

The Rails Lesson, GlassFish and NetBeans

Rails Logo

Ruby on Rails certainly has triggered a lot of attention and it is raising the bar on ease of development for CRUD (or BREAD!). One can argue about maintenability or Greenfield but the experience of the first few minutes is undoubtable good, so I expect people to try to match or exceed it.

In a recent blog, Geertjan talks about CRUD in two blogs on The Best Feature in NB 5.5 [1] and [2], and Tim reflects on that at Rails Lesson. Let's see what else shows up at JavaOne...

PS. It is hard for TA to accuratedly track all the relevant activity in NetBeans-land, but one recent blog worth checking is this List of New Features in NB 5.5.

Tuesday Mar 07, 2006

JSF books and training course

Kito Mann

Kito Mann, author of "JavaServer Faces in Action" has developed a training course called "JSF in Action: JavaServer Faces (JSF) with Struts, Shale and Facelets". If you're in the UK and take the course let us know what you think.

Ed Burns who is working on a new book JavaServer Faces: The Complete Reference, has posted a couple of useful blogs. One that he posted a while ago Repost: Bringing Ruby on Rails's Flash to JSF. His other post, Repost: Using JAAS with JSF shows how JAAS can be used to provide authentication for JSF web applications.


Tuesday Jan 17, 2006

Bringing Ruby on Rails's Flash to JSF

RubyOnRails logo

Ruby on Rails is a very interesting web framework that is prompting renewed interest in how to improve programmers productivity. Ed has written on how to bring the flash concept into JSF, and he is exploring this further through his engineer's sandbox (check also the discussion on using JAAS with JSF). He is implementing the ideas in the GlassFish community, in a new jsf-extensions project.