Rails on JRuby
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Rails on JRuby

on

  • 1,993 views

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.

Statistics

Views

Total Views
1,993
Views on SlideShare
1,991
Embed Views
2

Actions

Likes
0
Downloads
24
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Rails on JRuby Presentation 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/