Your SlideShare is downloading. ×
GlassFish and NetBeans: Develop with pleasure, Deploy with Fun for a better Rails experience
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

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

2,545
views

Published on

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

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,545
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
59
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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. What is GlassFish ? dkimages.com GlassFish – Serving your Rails applications 2
  • 3. What is GlassFish ? GlassFish – Serving your Rails applications 3
  • 4. Deployment choices: Directory, WAR, Embedded Credits: http://birdwatchersdigest.com GlassFish – Serving your Rails applications 4
  • 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. Directory-based deployment: Recipes Credits: http://blogs.sun.com/Jacobkessler/entry/capistrano_and_glassfish GlassFish – Serving your Rails applications 6
  • 7. Rails on GlassFish: GlassFish Gem GlassFish – Serving your Rails applications 7
  • 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. 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. GlassFish Gem: Recipes Credits: http://blogs.sun.com/Jacobkessler/entry/capistrano_and_glassfish_now_with GlassFish – Serving your Rails applications 10
  • 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. And more ... http://weblogs.java.net/blog/vivekp/archive/2009/04/plugin_any_ruby.html GlassFish – Serving your Rails applications 12
  • 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. Rails on GlassFish: WAR Deployment Credits: http://birdwatchersdigest.com GlassFish – Serving your Rails applications 14
  • 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. WAR Deployment: How in NetBeans ? GlassFish – Serving your Rails applications 16
  • 17. WAR Deployment: Packaging GlassFish – Serving your Rails applications 17
  • 18. NetBeans: Develop with Pleasure http://blogs.sun.com/arungupta/entry/screencast_26_develop_run_debug GlassFish – Serving your Rails applications 18
  • 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. Who loves Rails on GlassFish ? GlassFish – Serving your Rails applications 20
  • 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