15. TorqueBox
•Marriage of JBoss AS7 and JRuby
•the application levelintegrate at
Lets Java and Ruby
•in the same application server
Run Java and Ruby applications
16. But Can’t I Already Run JRuby
Apps in My Java App Server?
17. But Can’t I Already Run JRuby
Apps in My Java App Server?
Yes, if you don’t mind disguising your Ruby
application as a Java application
56. Better Java Integration
•Deploy Java and Ruby side-by-side
•Injection of Java components -
CDI, objects bound to JNDI, etc
•Send JMS messages in vice-versa
consume in Ruby and
Java to
•Share caches between Java and
Ruby
•PicketLink authentication in Ruby
•Java Management Tools
63. Questions?
Don’t Be Shy
Image Attributions:
Tools - http://www.flickr.com/photos/jrvogt81/4264575563/
Mailboxes - http://www.flickr.com/photos/joanet/5094833752/
Now and Laters - http://www.flickr.com/photos/jcorduroy/3725077603/
Hand Calendar - http://www.flickr.com/photos/joelanman/366190064/
Cruise Ship Staff - http://www.flickr.com/photos/maethlin/2547037443/
Notas do Editor
\n
\n
Several of us are employed by Red Hat and work on TorqueBox full time but most aren’t.\n
Since this is a JBoss User Group, hopefully most attendees either already use JBoss or are open to the idea of moving to JBoss. So, what this really means is ->\n
\n
\n
Ask any Rubyist why they use the language and “Because with Ruby I’m more productive than when using X” will likely be one of their reasons\n
Give your developers several tools to choose from and let them pick which is the best for each job\n
\n
\n
Ruby running on top of the JVM\n
A few examples of Java library usage from JRuby\n
JRuby has real threads and real concurrency\n
\n
TorqueBox is additive to JBoss AS7 - it’s still JBoss AS7 underneath and you can still deploy Java applications to TorqueBox\nTorqueBox just adds on the Ruby support\n
\n
warbler, jruby-rack\n
\n
\n
no bundling or compilation step, no redeploying or restarting server\n
\n
\n
\n
\n
\n
This download includes a full JBoss AS7 w/ TorqueBox and a bundled JRuby runtime\n
JRuby 1.6.6 and onwards won’t require passing Xmx to the gem install command\n
$TORQUEBOX_HOME/jboss/bin/standalone.sh if you prefer\n