Get GlassFish V2
Purchase Support Worldwide
Main | Next page »
Feb 08
22
GlassFish v3 M2 Now Available!
  Posted by pelegri in GlassFish

Pile of Gifs

Christmas in February!

It took a bit longer than I expected but the GlassFish v3 M2 is now available. This release supports the Java Web Container (no JSF so far) and JRuby on Rails. Also supported are multiple HTTP listeners and Virtual Servers.

Have fun! Downloads and Available Commands.

Jan 08
28
New Mediacast Portal now using JRuby on GlassFish
  Posted by pelegri in Web.Next

ALT DESCR

The Mediacast team (the companion to BSC for large media files) has rewritten the application using JRuby, Rails, Goldspike and GlassFish.

Igor has a good Writeup describing the good and the bad. I know that the area around memory comsumption and performance is improving rapidly right now; we will see how things look like by JavaOne.

Oct 07
8
GlassFish for Rails and Rails for GlassFish
  Posted by arungupta in GlassFish

JRuby on GlassFish

Are you a Rails developer and looking for a better development container ? - GlassFish Gem provides that option. You can use GlassFish V3, instead of WEBrick, for deploying your Rails application. Read the complete details here.

Are you an existing GlassFish V2 user and interested in using Rails ? - JRuby module on the Update Center allows to create WAR of a Rails application that can be easily deployed on GlassFish. Read the complete details here and watch the screencast.

Here are some useful entries (with numerous pointers on screencasts, blogs, tips & extensive feature sets) to get you started:

Sep 07
18
Rails Conference Europe
  Posted by pelegri in NOTD

Radio Receiver Icon

Rails Europe Conference Report from Arun. Covering GlassFish, jMaki, jRuby and NetBeans.

Day 1.
Day 2.

Sep 07
14
GlassFish Gem for Rails - GF v3 Starts Delivering
  Posted by pelegri in Web.Next

We have been improving how jRuby and GlassFish run together (entries) and Jerome now has a Ruby Gem that makes the process as simple as possible. Ruby Gems are the Ruby package mechanism, similar in spirit to RPMs or pkg(1) for Solaris, which enables very natural encapsulation of the functionality.

Ruby Logo

The result is:

Install jRuby
gem install rails
gem install glassfish
gem install whatever else you need
create your rails app
run your rails app! -- runs on GlassFish!

Can't get any simpler than that!

The GlassFish GEM is one of the first concrete deliveries from GlassFish v3; don't rush to go production on this :-), but the future is bright! See more details in Arun's writeup and in the Mail Thread.

Added: Also see the report by Charles.

Sep 07
5
JRuby on Rails using Grizzly 1.6
  Posted by arungupta in GlassFish

Grizzly

In three simple steps, Takai explains how to start your JRuby on Rails application using Grizzly 1.6:

Step 1: Install JRuby on Rails
Step 2: Prepare Rails app
Step 3: Setup JRuby on Rails with Grizzly   

And that's it!

Grizzly 1.6 will be integrated in GlassFish V3. The currently available v3 build contains Grizzly 1.5 and an Earlier Post shows how to How to Run jRuby on them.

The JRuby Process Models explains the difference between the processes involved when a Rails application is deployed using Grizzly and webapp mode.

Thanks to Jean-Francois for the tip!

Sep 07
5
JRuby and GlassFish - Bridging the gap
  Posted by arungupta in GlassFish

Rails and Sun

In a recent interview, David Heinemeier Hansson (creator of Rails) talks about how JRuby bridges the gap between JavaEE and Rails. Here are couple of quotes ...

JRuby is a great way to open the conversation with enterprises by saying, You don't have to throw out all this "junk" you've accumulated over the years, Ruby is just an incremental piece you can put in. But in some ways, it's sugar coating to get people to really come on board. It's a bridge for getting from one place to another.

On Sun promoting Rails ...

I think they recognize what developers want, they are recognizing there is great enthusiasm and passion for Ruby on Rails, and they don't want to miss out on that. To a large extent, they are following the passion, the excitement. ... I welcome Sun and IBM to come in and offer services.

Here are some useful entries (with numerous pointers on screencasts, blogs, tips & extensive feature sets) to get you started:

Sep 07
4
HowTo - Difference between Ruby Gem and Rails Plugin
  Posted by pelegri in HowTo

Informational Sign

A tip from Arun:
Difference between Ruby Gem and Rails Plugin

Aug 07
28
Simplified ActiveRecord-JDBC Configuration
  Posted by pelegri in Web.Next

ALT DESCR

Arun has been documenting how to use Ruby, jRuby and Rails (entries). The whole jRuby team has been making improving usability very quickly so old writeups sometimes need refreshing and Tom's recent changes prompted Arun to revisit Configuring ActiveRecord.

BTW, we had a recent thread on what shorthand to use to describe "Rails Running on jRuby on the Java Platform"; we settled on jRoR; what do you think?

Aug 07
21
Ruby and jRuby, Mogrel, Goldspike, Grizzly and GlassFish
  Posted by pelegri in Web.Next

Ruby Hack Day (see Arun's report) included a presentation by Nick Sieger on how to deploy Rails Application for production. The traditional (old?) arrangement (diagram) is to have the HTTP processing done via Mongrel and then use Mongrel_Cluster: one Rails per Mongrel, one Mongrel per (native) Ruby, each Ruby as an OS process. Nick showed 3 variants using jRuby instead of Ruby.

GlassFish-jRuby-GoldSpike

The first approach uses Mongrel_jCluster: one Rails per Mongrel, one Mongrel per jRuby, many jRuby per JVM.

In the second approach the Rails app is packaged as a WAR, the HTTP processing is done by GlassFish and then, via the Goldspike RailsServlet delivered to Rails instances.

In the third approach the requests are passed directly from the Grizzly layer to Rails.

Arun has a nice writeup capturing these options from where I stole the pictures. You may also want to check the Wiki pages on Ruby and GlassFish and on Ruby and NetBeans.

Aug 07
13
jRuby on GlassFish v3
  Posted by pelegri in General

ALT DESCR

Summer is almost over :-( and the different projects are showing renewed activity, and that includes GlassFish v3. Arun has been doing a number of screencasts around Ruby recently and the latest one shows How to Run jRuby on V3.

Other GFv3-related activity already announced includes working on the Separate JSP Project and Hg Plugin for Hudson. Stay tuned for more; things should start picking up in speed after we get GlassFish v2 out. That is still scheduled for mid-next month.

May 07
24
Mephisto on GlassFish v3 (and other notes on Ruby on Rails)
  Posted by pelegri in GlassFish

Screenshot of Mephisto on GlassFish

Arun has posted a nice set of write-ups on how to use jRuby and Rails on GlassFish, including Getting Started with RoR and several Hello Worlds: basic, RoR with a database and RoR with a database in a WAR.

His last two blogs have started to move info GlassFish v3 - check his jRuby Tutorial overview, and then how to run Mephisto on v3

The feedback so far is very positive ... and even simpler approaches are cooking....

May 07
1
Rails Integration Exploiting GlassFish Availability
  Posted by pelegri in GlassFish

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!

Feb 07
28
PHP and Ruby on Sun Web server
  Posted by pelegri in WebServer

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.

Feb 07
21
Ruby on Rails on GlassFish and with an Embedded Derby
  Posted by pelegri in GlassFish

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.

Languages

NEWS AND EVENTS

Join us at CommunityOne
ALT DESCR

Free!

Search

Popular Tags

adoption ajax clustering community fastinfoset frontpage glassfish grizzly hudson interoperability java javaee javaone jax-rs jax-ws jaxb jboss jcp jersey jmaki jruby jsf maven metro mysql netbeans opends opensource opensso performance phobos php portal rails rest roller ruby sailfin scripting sip sun tools updatecenter v2 v3 webserver webservices weekly wsit xml

Companion Blogs

Useful Blog Entries

Friends and Relatives

Subscribe

Enter your Email

Contact Us

Send feedback and leads to theaquarium@sun.com

Downloads

Events


Adoption Stories

Related Links

Recent Entries

Latest Project News

Navigation