5. Java & JEE
the most prevalent language
the most complete enterprise platform
a rich ecosystem of web frameworks
a vibrant open source community
6. Java & JEE
plagued by mediocre web frameworks
not well suited for rapid prototyping
in need of a dynamic language web framework
one level of abstraction too low for the web
13. The Spring Framework
is a layered Java/J2EE application framework
is a lightweight IoC and AOP framework
is one level of abstraction up from JEE
is the leading framework to build enterprise applications
14. The Spring Framework
letâs you use all of the power of JEE
integrates seamlessly with Hibernate
POJO-based development keeps your code clean
harnesses the power of IoC and AOP
15. The Spring Framework
Spring 2.0 supports dynamic languages
support for JRuby, Groovy and BeanShell
beans can be backed by dynamic languages
scripted MVC controllers
24. JRuby on Rails
JEE servers are good at scaling up
no more multi-process management
use JRuby âmulti-VMâ support
leverage the maturity of the JVM and JEE servers
25. JRuby on Rails
deploy your Rails app as a WAR
leverage JDBC from ActiveRecord
26. JRuby
For Rapid Spring Prototyping
...one way of sneaking Ruby in through the back door
27. JRuby+Spring RAD
a simple example by the folks at jobster
use JRuby for rapid prototyping
Spring controller that delegates to a JRuby controller
JRuby controllers live alongside your JSPs
33. JRoR on Spring
Chris Nelsonâs work
âuse rails-integration plugin
â expose WebApplicationContext in a RoR controller
âinclude Spring - Spring plugin for JRuby
34. JRoR on Spring
âinstall goldspike rails-integration plugin on you JRoR app
â rake war:standalone:create to package a WAR with:
âĄYour RoR app
âĄJRuby and Rails libraries
40. JRoR on Spring
âadd a new face to your Spring applications
â leverage thousands of open source projects
âleverage the good parts of JEE like JDBC and JMS
41. Resources
JRuby
www.jruby.org
rubyforge.org/projects/jruby-extras
JRuby Rails Integration
www.headius.com/jrubywiki/index.php/Rails_Integration
headius.blogspot.com/2006/11/advanced-rails-deployment-with-jruby.html
RAD Spring Prototyping with JRuby
thebogles.com/blog/projects/ruby-on-spring/
www.botspiritcompany.com/src/springruby/example_ruby_spring.html
Chris Nelsonâs Work
mysterycoder.blogspot.com/2007/06/spring-jruby.html
mysterycoder.blogspot.com/2007/06/include-spring.html