Your SlideShare is downloading. ×
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
Rails on JRuby
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

Rails on JRuby

1,136

Published on

A presentation I delivered to the Melbourne Ruby User's Group on some of the things Rails developers need to be aware of when getting a Rails application running on top of JRuby.

A presentation I delivered to the Melbourne Ruby User's Group on some of the things Rails developers need to be aware of when getting a Rails application running on top of JRuby.

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

  • Be the first to like this

No Downloads
Views
Total Views
1,136
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
25
Comments
0
Likes
0
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. JRuby & Rails Jumping tracks with minimal pain
  • 2. Contents • JRuby & Rails • Why? • Things to Watch • Databases • Servers & Deployment • Beyond Rails with JRuby
  • 3. Why Rails on JRuby?
  • 4. Why? • Easier deployments • Potential scalability
  • 5. Warning Signs?
  • 6. Danger! • Relying upon Native Code • Gems • Standard Library
  • 7. Databases • Pure Ruby Drivers • Slow(er) • Most Compatible
  • 8. ActiveRecord-JDBC • JDBC: Java’s Native Database Protocol • More Databases Supported • Faster • Odd compatibility issues?
  • 9. Database Config Demo
  • 10. Deployment • Deploying to Mongrels/etc. = JRuby 1.0 • Deploying to Java = Preferred JRuby 1.1+
  • 11. Serving from Java • Packaging your application • Getting it to the server
  • 12. Packaging with Warbler • Packaging your Rails app for Java Servers • Resultant artefact is a deployable Application
  • 13. Warbler Config Demo
  • 14. Java on Development • script/server still works • jetty_rails • glassfish_rails
  • 15. Moving to Production • Java 5 (or higher) is the key!
  • 16. Beyond Rails? • Calling Rails from a Java webapp? • Use Merb? Camping?
  • 17. Beyond Rails? • Rack support!
  • 18. Links • JRuby • http://www.jruby.org • http://wiki.jruby.org • JRuby Inside: http://www.jrubyinside.com • Nick Sieger: http://blog.nicksieger.com/

×