CHAPTER 10An EJB-Backed RailsApplication

In the last chapter we managed to create an Enterprise JavaBean that uses JRuby for its implementation of features. In this manner we've separated the concerns of implementing the business rules from all the other concerns existing outside of the business logic. In this chapter we'll continue with this application by creating a web interface to this functionality, called Big Brother. The web interface is simple by design. The point is to show how you could use an enterprise resource from a Rails application in a simple and useful way. In most cases, this interaction should only need to happen in a few places in your application, and making the architecture of your web application reflect this makes the ...

Get Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.