Practical JRuby on Rails Web 2.0 Projects

Bringing Ruby on Rails to Java

By Ola Bini

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.

Full Description

  • ISBN13: 978-1-59059-881-8
  • 330 Pages
  • User Level: Beginner to Advanced
  • Publication Date: September 25, 2007
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $42.99
  • eBook Price: $30.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

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.

Table of Contents

Table of Contents

  1. Introduction
  2. Getting Started
  3. Introduction to Rails
  4. Store Administration
  5. A Database-Driven Shop
  6. Java Integration
  7. A Rails CMS
  8. Content Rendering
  9. A JRuby Enterprise Bean
  10. An EJB-Backed Rails Application
  11. Deployment
  12. Web Services with JRuby
  13. JRuby and Message-Oriented Systems
  14. The LibLib Rails Application
  15. Coda: Next Steps
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

No errata are currently published