O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

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

EJB in 30 Seconds

EJB is a complicated beast; it would require an entire book to cover it in detail. In this chapter, complex issues such as transaction control won't be covered. Instead, here is a very quick overview of how EJB works for distributed processing.

To begin, you need an EJB server. This is the centralized beast that actually does all the work. In the examples, you'll be using the open source JBoss platform. On this server, you'll put two of the three pieces of your application: the remote interface and the enterprise bean. The third piece (the home interface) will live on the client and will be used to communicate with the server.

The remote interface is just an interface that describes the distributed class and what messages it ...

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