O'Reilly logo

Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java™ Platform by Ola Bini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required