Rubyists Dream of Eclectic Java

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    3 Favorites & 1 Group

    Rubyists Dream of Eclectic Java - Presentation Transcript

    1. Rubyists Dream of Eclectic Java Leveraging Enterprise Java for Ruby fu Vishnu Gopal www.vish.in
    2. Me • Born and brought up a Keralite. Mallu. • Worked in the Mobile VAS sector • Founded Torque: www.torque.co.in • Uzanto & SlideShare: www.slideshare.net • Me: www.vish.in
    3. Ruby • New kid on the block (?) • Dynamic programming, meta-programming • Less is more, succinct code • Riding the Rails wave • Ruby (MRI) is Slow(er)
    4. Java • Most popular programming language • Rich toolset, GUI tools, editors, RAD IDEs • Enterprise support and adoption • Community and Libraries • Java is OpenSource • Cumbersome, heavy language, strict typing
    5. JVM • A tried and true Virtual Machine • JSR 223: Scripting for the Java Platform • Java 6 increased performance! • SUN
    6. Java + Ruby • JVM is cool, Java has tools • Ruby brings elegance • Any solution must: • Preserve Ruby’s ability to reflect on itself • Not sacrifice Java performance and toolset • Be an elegant bridge
    7. Java + Ruby = JRuby • Ruby interpreter written in 100% Java • Walks, talks and quacks like Ruby • Almost all of the Ruby Standard Library has been ported • Even runs Rails! (with warnings)
    8. Interlude One JRuby v/s Ruby
    9. Rails on JRuby • You can use Camping/JRuby well • Ruby hype is mostly Rails • JRuby running Rails is a huge milestone • Not there yet, but good progress • Simple web applications run well • SQLite adapter isn’t supported
    10. SlideShare on JRuby • Complicated app • 90K+ of Ruby Code • Plugins, homegrown extensions • Memcached libraries, fragment caching, backgroundrb • Ported over in 3 hours of work • Around 40% functionally complete
    11. Interlude Two SlideShare on JRuby
    12. Slideshare/JRuby Workarounds • script/console (in dev mode) worked without a hitch • script/server had problems • Resolved by: • removed @@instance variables • removed flash notices • removed OutputCompression plugin
    13. Future • JVM is cool, Java toolset scene is cooler • Netbeans/Ruby/tools integration • Dynamically add in Java modules to Rails applications • Glassfish and autodeploy as WARs • Get Rails adoption into the enterprise
    14. Finis Questions? www.slideshare.net/vishnu
    15. Alternatives to JRuby • Scripting Language: • JPython • Grails & Groovy • Other Java cool stuff: • Google Web Toolkit

    + vishnuvishnu, 3 years ago

    custom

    3959 views, 3 favs, 1 embeds more stats

    My talk at Barcamp Hyderabad3, Dec 16, 2006.

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 3959
      • 3947 on SlideShare
      • 12 from embeds
    • Comments 0
    • Favorites 3
    • Downloads 0
    Most viewed embeds
    • 12 views on http://vysnu.com

    more

    All embeds
    • 12 views on http://vysnu.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events