Your SlideShare is downloading. ×
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
JRuby in The Enterprise
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

JRuby in The Enterprise

2,199

Published on

Code on github: https://github.com/leonardoborges/railssummit09

Code on github: https://github.com/leonardoborges/railssummit09

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

No Downloads
Views
Total Views
2,199
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
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 in the Enterprise Leonardo BorgesSunday, October 4, 2009
  • 2. JRuby in the Enterprise Leonardo BorgesSunday, October 4, 2009
  • 3. Who am I? • Consultant at ThoughtWorks Australia (former developer at HotelSearch.com) • Open source contributions - Rails - JRuby - rcov_plugin - readable_test_names_runner • Blogger • www.leonardoborges.com • First time speaker JRuby in the EnterpriseSunday, October 4, 2009
  • 4. Who are you? JRuby in the EnterpriseSunday, October 4, 2009
  • 5. Who are you? • Ruby? JRuby in the EnterpriseSunday, October 4, 2009
  • 6. Who are you? • Ruby? • Rails? JRuby in the EnterpriseSunday, October 4, 2009
  • 7. Who are you? • Ruby? • Rails? • Java? JRuby in the EnterpriseSunday, October 4, 2009
  • 8. Who are you? • Ruby? • Rails? • Java? • JRuby? JRuby in the EnterpriseSunday, October 4, 2009
  • 9. Who are you? • Ruby? • Rails? • Java? • JRuby? Why are you here? JRuby in the EnterpriseSunday, October 4, 2009
  • 10. Why JRuby? • Better threading support • Leverage the knowledge • Improved performance of an existing team • Java integration (with a • Reuse existing logic vast array of libraries) • Testing • Active community • Full Ruby 1.9 support on the way JRuby in the EnterpriseSunday, October 4, 2009
  • 11. ...but before we get dirty Java integration: Ruby meets swing JRuby in the EnterpriseSunday, October 4, 2009
  • 12. JavaRuby meets swing Integration frame = javax.swing.JFrame.new("Hello Rails Summit 2009!") frame.setDefaultCloseOperation(javax.swing.JFrame::EXIT_ON_CLOSE) frame.setSize(java.awt.Dimension.new(200,200)) label = javax.swing.JLabel.new("JRuby rocks!") frame.getContentPane.add(label, java.awt.BorderLayout::CENTER) frame.setVisible(true) JRuby in the EnterpriseSunday, October 4, 2009
  • 13. JavaRuby meets swing Integration frame = javax.swing.JFrame.new("Hello Rails Summit 2009!") frame.default_close_operation = javax.swing.JFrame::EXIT_ON_CLOSE frame.size = java.awt.Dimension.new(200,200) label = javax.swing.JLabel.new("JRuby rocks!") frame.content_pane.add(label, java.awt.BorderLayout::CENTER) frame.visible = true JRuby in the EnterpriseSunday, October 4, 2009
  • 14. Case Study Introducing JTasks JRuby in the EnterpriseSunday, October 4, 2009
  • 15. Extending the Case Study listing tasks with JRuby JRuby in the EnterpriseSunday, October 4, 2009
  • 16. What’s next? JRuby 1.4 RC1 is out... • 1.8.7 compatible • Improved 1.9 Compatibility • Java method selection and Coercion API • Ruby2Java in the core API • and more... JRuby in the EnterpriseSunday, October 4, 2009
  • 17. Conclusion JRuby in the EnterpriseSunday, October 4, 2009
  • 18. Q&A JRuby in the EnterpriseSunday, October 4, 2009
  • 19. References • www.engineyard.com/blog • www.jruby.org • www.leonardoborges.com • github.com/leonardoborges/readable_test_names_runner Slides / Source code • http://github.com/leonardoborges/railssummit09 JRuby in the EnterpriseSunday, October 4, 2009

×