Charles Nutter Presentations
Upcoming SlideShare
Loading in...5
×
 

Charles Nutter Presentations

on

  • 1,404 views

 

Statistics

Views

Total Views
1,404
Views on SlideShare
1,403
Embed Views
1

Actions

Likes
1
Downloads
26
Comments
0

1 Embed 1

http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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

Charles Nutter Presentations Charles Nutter Presentations Presentation Transcript

  • JRuby on Rails
    • Charles Oliver Nutter
  • Agenda
    • Who Am I
    • What Is JRuby
    • Why JRuby on Rails
    • Demos
    • What Now
    • Conclusion
  • Who Am I
    • Charles Oliver Nutter
    • Senior Staff Engineer at Sun Microsystems
    • JRuby Core Developer
    • Rubyist wannabe living in a Java world
    • Based in Minneapolis, Minnesota, USA
  • Why Go To Sun?
    • Work full-time on JRuby
    • Opportunity to make real progress
    • Sun folks get it, want Ruby to succeed
    • Java folks need Ruby
  • Why Stay in Minnesota
  • What Is JRuby
    • 100% Java impl of Ruby...Ruby on the JVM
    • Pure interpreted, native threaded
    • Born 2001, product of many developers
    • Largely Ruby 1.8-compatible
    • Slower than Ruby...for now
  • Ruby calling Java
    • require ‘java’ include_class “javax.swing.JFrame” include_class “javax.swing.JButton” frm = JFrame.new(“My frame”) btn = JButton.new(“My button”) frm.set_size(300, 300) frm.content_pane.add(btn) frm.show
  • Ruby calling Java
    • include_class “java.awt.event.ActionListener” class MyListener < ActionListener def actionPerformed(event) event.source.text = “New text” end end btn.add_action_listener(MyListener.new)
  • Why JRuby on Rails
    • Java is pervasive
    • Java libraries are exhaustive
    • Many still believe Java is the “everytool”
    • Java webapp developers are unhappy
    • Rails webapp developers are happy
  •  
  • What do Rails Devs Get
    • Scads of libraries; if you need it, there’s a lib
    • JDBC - universal database support
    • “Good” EE stuff: clustering, failover, deployment, remote management
    • Extensive monitoring capabilities
    • A gateway to the “enterprise”
  • What do Java Devs Get
    • A web framework that’s usable
    • A useful schema management tool (finally)
    • Markup that doesn’t suck
    • Four extra days per week
    • Happiness
  • Depot 2
    • ActiveRecord-JDBC to MySQL
    • Rails integrated with Java EE
    • Java Management Extensions (JMX)
  • What Now: Short Term
    • Fix broken bits
      • Marshal-based session
      • Interpreter bugs
    • Performance
    • Script-based Java EE/Java library support
  • What Now: Long Term
    • Implement remaining C extensions: Mongrel, SSL, others you’d suggest?
    • Continue expanding ActiveRecord-JDBC
      • Abstract out schema definition
      • Solidify automatic CRUD support
    • More GUI tool support
  • Conclusion
    • JRuby on Rails mostly works right now
    • JRuby will not be “done” until it’s fully working
    • ActiveRecord-JDBC opens many doors
    • Java EE is actually fun with Rails
    • More Rails is more Rails...JRuby enables!
  • Information
    • Email: [email_address]
    • Blog: headius.blogspot.com
    • JRuby: www.jruby.org
    • ActiveRecord-JDBC and Mongrel-Java: rubyforge.org/projects/jruby-extras
    • More JRuby at RubyConf and JavaPolis