Tuesday May 15, 2007
Ruby-on-Rails Hello World on GlassFish
UPDATE: Simplified steps for GlassFish V2 are available here and for V3 here.
Ashish described how to create RoRaWAR (Ruby on Rails as Web ARchive). I decided to try these instructions on GlassFish V2 b46. Here are the steps I followed:rails hello_demo" command as
well.goldspike" (nee
rails-integration) plug-in by giving the following command:script/plugin install svn://rubyforge.org/var/svn/jruby-extras/trunk/rails-integration/plugins/goldspikeruby script/plugin install svn://rubyforge.org/var/svn/jruby-extras/trunk/rails-integration/plugins/goldspikevendor/plugins/goldspike" directory in your
application directory. This plug-in's purpose is to WAR'up a RoR
application.Run Rake Target", select "Refresh Target List".
This will add a new category, "war", of rake targets. Select "war",
"standalone", "create" to create a stand-alone WAR
file. This is equivalent to invoking the command "rake war:standalone:create".
This will archive the Rails framework libraries in the WAR file. domains/domain1/autodeploy"
directory of your GlassFish instance and you are done!This is really simple. I'll add database interaction in this app and report back.
Read more on Rails Integration with JavaEE servers.
Technorati: glassfish rubyonrails ror netbeans jruby ruby
Posted by Arun Gupta in web2.0 | Comments[13]
|
|
|
|
| jMaki, NetBeans and GlassFish in Rails Conf
![]() |
Sun Microsystems is a diamond sponsor of Rails Conference (May 17 - 20). In the conference, you'll hear from Sun luminaries on different topics. You'll see how NetBeans IDE and GlassFish provide a complete development and deployment environment for your Rails application. You'll also see how RIA can be easily created using jMaki. |
Here is list of sessions from Sun speakers:
| Your First Day with JRuby on Rails | Charles Nutter, Thomas Enebo | Thu, 5/17 | 8:30am - 12pm |
| Keynote | Tim Bray | Sat, 5/19 | 9:15am - 10:15am |
| Ruby Tooling: State of the Art | Brian Leonard | Sat, 5/19 | 10:45am - 11:30am |
| JRuby on Rails: A Taste of Honey (for the Enterprise) | Charles Nutter, Thomas Enebo | Sun, 5/20 | 10:45am - 11:35am |
Other than this, you can always find us in the exhibitor pavilion. Joyent, one of our partners, will be sharing the booth space and showcasing their Ruby on Rails powerful and scalable development and deployment systems.
See you there!
Technorati: sun railsconf ror rubyonrails netbeans jmaki glassfish
Posted by Arun Gupta in web2.0 | Comments[1]
|
|
|
|
|
Today's Page Hits: 4804
Total # blog entries: 994