Wednesday August 08, 2007
Screencast #Web6: First JRuby app in GlassFish
UPDATE: Simplified steps for GlassFish V2 are available here and for V3 here.
![]() |
Earlier in a three-part series (part1, part2, part3) I showed how a JRuby application can be deployed on GlassFish. This screencast consolidates all the entries together and shows how such an application can be developed and deployed using NetBeans Ruby IDE. |
Enjoy it here!
The screencast is divided in four segments:
Here are some more useful links
The NetBeans IDE provides a comprehensive support for Ruby code completion, refactoring, debugging, Rails support, support for RHTML files, code templates, unit test execution, shortcuts, and much more. Please post your questions about Ruby support in NetBeans IDE to users@ruby.netbeans.org.
Technorati: jruby ruby rubyonrails glassfish netbeans screencast
Posted by Arun Gupta in web2.0 | Comments[11]
|
|
|
|
Today's Page Hits: 23
Posted by Arun Gupta's Blog on August 09, 2007 at 11:20 AM PDT #
Posted by ericsk's blog on August 10, 2007 at 07:41 AM PDT #
Posted by Arun Gupta's Blog on August 13, 2007 at 09:29 AM PDT #
Just a simple question ,
WHY?
I am very sory , but I dont get it.
I have everything the easy way from pure ROR, and you come to sugest me to make them complecated. why? what is the reason of this? please give a logic explanation. As I see it someone is trying to steal something for "free".
PS: The "not_so_captcha" bellow has no security.
Posted by kritias on August 14, 2007 at 05:41 PM PDT #
Kritias, There are several advantages of using JRuby and GlassFish. First of all, you can deploy your Rails applications on GlassFish which provides high-availability and clustering support. Redploying an application does not require a restart of the server. Using GlassFish also gives you access to several databases that can be accessed only via JDBC. Last but not the least, you've access to a vast amount of Java libraries that can be invoked from Rails application. I'm working on a more complete entry and will post it in the near future.
Posted by Arun Gupta on August 14, 2007 at 05:52 PM PDT #
Arun, it would be good if you could show us how to configure JRuby and Rails to use the JavaDB (Derby) database installed with GlassFish so we don't need to use MySQL. Thanks!
Posted by Glen on August 16, 2007 at 12:58 PM PDT #
Posted by Arun Gupta's Blog on August 20, 2007 at 05:56 AM PDT #
Glen, A new tip showing how to configure JRuby and Rails to use JavaDB installed with GlassFish is available at: http://blogs.sun.com/arungupta/entry/totd_3_using_javadb_with
Posted by Arun Gupta on August 20, 2007 at 05:58 AM PDT #
Posted by Arun Gupta's Blog on August 20, 2007 at 09:32 AM PDT #
Posted by Arun Gupta's Blog on August 27, 2007 at 10:35 AM PDT #
Posted by Arun Gupta's Blog on September 07, 2007 at 05:36 AM PDT #