Discover how JRuby on Rails can be used to create web applications faster and more efficiently while still taking advantage of the vast power of the Java platform.
Ruby on Rails is proving itself to be one of the most efficient and powerful agile web development application frameworks available and has had a profound influence on the Java community. The JRuby project offers Java developers the best of two worlds: the flexibility of Ruby on Rails coupled with the enterprise-level power and maturity of the Java platform.
JRuby core developer Ola Bini covers everything you need to know to take full advantage of what JRuby has to offer, including:
Full coverage on how to use JRuby to create web applications faster and more efficiently, while continuing to take advantage of the vast power of the Java platform
Several real-world projects that illustrate the crucial specifics you need to know about the interaction of Java and Ruby
Helpful, practical instruction and discussion on how web applications can be deployed using a variety of popular servers such as Apache and Mongrel
What you'll learn
Create a Rails application that uses JDBC to talk to legacy databases
Use Java Management Extensions (JMX) to more effectively manage your application
Deploy a Rails application within a Java Enterprise web container (Tomcat)
Create interoperable applications involving EJBs and Rails-driven web services
Securely integrate XML processing into your Ruby applications
Build cutting-edge Web 2.0 web sites using Rails, Prototype, and script.aculo.us to provide a pleasing user experience
Build four important projects: Store, CMS, Admin tool, and a web library project
Who this book is for
You'll get the most from this book if you have medium-to-advanced skills in Java web development, with a little Ruby experience, and are interested in taking Web development to the next level, both in terms of speed and features and in interoperability with existing infrastructure.