Your SlideShare is downloading. ×
0
GlassFish and NetBeans:
Develop with Pleasure,
Deploy with Fun for a
better Rails experience




Arun Gupta, GlassFish Guy...
What is GlassFish ?




                          dkimages.com




               GlassFish – Serving your Rails applicati...
What is GlassFish ?




               GlassFish – Serving your Rails applications   3
Deployment choices: Directory, WAR, Embedded




                                                             Credits: htt...
Directory-based deployment: How ?




   jruby -S rails railsconf


   asadmin start-domain
   asadmin create-jvm-options ...
Directory-based deployment: Recipes




         Credits: http://blogs.sun.com/Jacobkessler/entry/capistrano_and_glassfish
...
Rails on GlassFish: GlassFish Gem




               GlassFish – Serving your Rails applications   7
GlassFish Gem: How ?


  jruby -S rails railsconf




  jruby -S gem install glassfish
  cd railsconf
  jruby -S glassfish

...
GlassFish Gem: Options



  jruby -S glassfish -h

  -c: change the context root
  -e: environment
  -d: Runs as daemon
  -...
GlassFish Gem: Recipes




        Credits: http://blogs.sun.com/Jacobkessler/entry/capistrano_and_glassfish_now_with
     ...
Not Just Rails ...




        http://blogs.sun.com/arungupta/entry/totd_53_scaffold_in_merb
        http://blogs.sun.com/...
And more ...




       http://weblogs.java.net/blog/vivekp/archive/2009/04/plugin_any_ruby.html
                         ...
Deployment Options




      http://blogs.sun.com/arungupta/entry/totd_81_how_to_use
      http://blog.headius.com/2009/04...
Rails on GlassFish: WAR Deployment




               Credits: http://birdwatchersdigest.com

               GlassFish – S...
WAR Deployment: How ?




 jruby -S gem install warbler
 jruby -S warble


         http://blogs.sun.com/arungupta/entry/t...
WAR Deployment: How in NetBeans ?




              GlassFish – Serving your Rails applications   16
WAR Deployment: Packaging




              GlassFish – Serving your Rails applications   17
NetBeans: Develop with Pleasure




          http://blogs.sun.com/arungupta/entry/screencast_26_develop_run_debug
       ...
Endorsements
                                  had no reliability and
                                 performance issues ...
Who loves Rails on GlassFish ?




                GlassFish – Serving your Rails applications   20
Resources
• glassfish.org
• blogs.sun.com/theaquarium
• glassfish-scripting.dev.java.net
• wiki.glassfish.java.net/Wiki.js...
Upcoming SlideShare
Loading in...5
×

GlassFish and NetBeans: Develop with pleasure, Deploy with Fun for a better Rails experience

2,568

Published on

This presentation was delivered at JRubyConf 2009 Lightning Talks to show the benefits of JRuby/Rails/Merb/Sinatra using GlassFish and NetBeans.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,568
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
59
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "GlassFish and NetBeans: Develop with pleasure, Deploy with Fun for a better Rails experience"

  1. 1. GlassFish and NetBeans: Develop with Pleasure, Deploy with Fun for a better Rails experience Arun Gupta, GlassFish Guy http://blogs.sun.com/arungupta Sun Microsystems, Inc. 1
  2. 2. What is GlassFish ? dkimages.com GlassFish – Serving your Rails applications 2
  3. 3. What is GlassFish ? GlassFish – Serving your Rails applications 3
  4. 4. Deployment choices: Directory, WAR, Embedded Credits: http://birdwatchersdigest.com GlassFish – Serving your Rails applications 4
  5. 5. Directory-based deployment: How ? jruby -S rails railsconf asadmin start-domain asadmin create-jvm-options -DJRUBY_HOME=... asadmin deploy railsconf GlassFish – Serving your Rails applications 5
  6. 6. Directory-based deployment: Recipes Credits: http://blogs.sun.com/Jacobkessler/entry/capistrano_and_glassfish GlassFish – Serving your Rails applications 6
  7. 7. Rails on GlassFish: GlassFish Gem GlassFish – Serving your Rails applications 7
  8. 8. GlassFish Gem: How ? jruby -S rails railsconf jruby -S gem install glassfish cd railsconf jruby -S glassfish http://blogs.sun.com/arungupta/entry/totd_70_jruby_and_glassfish GlassFish – Serving your Rails applications 8
  9. 9. GlassFish Gem: Options jruby -S glassfish -h -c: change the context root -e: environment -d: Runs as daemon -P: location of PID file -l: log file location -log-level: Logging level (0-7) GlassFish – Serving your Rails applications 9
  10. 10. GlassFish Gem: Recipes Credits: http://blogs.sun.com/Jacobkessler/entry/capistrano_and_glassfish_now_with GlassFish – Serving your Rails applications 10
  11. 11. Not Just Rails ... http://blogs.sun.com/arungupta/entry/totd_53_scaffold_in_merb http://blogs.sun.com/arungupta/entry/totd_80_sinatra_crud_application GlassFish – Serving your Rails applications 11
  12. 12. And more ... http://weblogs.java.net/blog/vivekp/archive/2009/04/plugin_any_ruby.html GlassFish – Serving your Rails applications 12
  13. 13. Deployment Options http://blogs.sun.com/arungupta/entry/totd_81_how_to_use http://blog.headius.com/2009/04/apache-jruby-rails-glassfish-easy.html GlassFish – Serving your Rails applications 13
  14. 14. Rails on GlassFish: WAR Deployment Credits: http://birdwatchersdigest.com GlassFish – Serving your Rails applications 14
  15. 15. WAR Deployment: How ? jruby -S gem install warbler jruby -S warble http://blogs.sun.com/arungupta/entry/totd_73_jruby_and_glassfish GlassFish – Serving your Rails applications 15
  16. 16. WAR Deployment: How in NetBeans ? GlassFish – Serving your Rails applications 16
  17. 17. WAR Deployment: Packaging GlassFish – Serving your Rails applications 17
  18. 18. NetBeans: Develop with Pleasure http://blogs.sun.com/arungupta/entry/screencast_26_develop_run_debug GlassFish – Serving your Rails applications 18
  19. 19. Endorsements had no reliability and performance issues with Glassfish money is on JRuby (and Look like the best Glassfish) for the long deploying option I ever haul; if you haven't checked found for Rails, GREAT! out Glassfish yet, you're doing yourself a disservice! nice way to deploy and manage my app while leaving things open for scaling the easiest rails stack in the world, jruby 1.2rc, rails 2.3rc, leading the way to simple, glassfish v3 scalable, no-hassle hosting for ... Ruby web applications. too easy to run jruby/rack/ ... glassfish behind nginx it's true one-step deployment. GlassFish – Serving your Rails applications 19
  20. 20. Who loves Rails on GlassFish ? GlassFish – Serving your Rails applications 20
  21. 21. Resources • glassfish.org • blogs.sun.com/theaquarium • glassfish-scripting.dev.java.net • wiki.glassfish.java.net/Wiki.jsp?page=JRuby • blogs.sun.com/arungupta GlassFish – Serving your Rails applications 21
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×