Chapter 17. Enterprise JavaBeans

I l @ ve RuBoard

IN THIS CHAPTER

  • The Pros and Cons of EJB

  • EJB in 30 Seconds

  • Stateless, Stateful, and Entity Beans

  • Setting Up JBoss

  • Creating a Stateless Session Bean

  • Being Stateful

  • Talking to MySQL with Entity Beans

  • A Final Goodbye to EJB

When used appropriately, Enterprise JavaBeans (EJB) provides a powerful way to centralize all the business logic and database access of many enterprise applications into a single tightly controlled bundle residing under a single platform. By using EJB, you can ensure that a change in business rules needs to be replicated only on the EJB server instead of over a half dozen applications, but only on the EJB server.

That being said, EJBs add an entire layer of complexity to an application. It's important to understand when and when not to use them, lest you end up using a sledgehammer to drive finishing nails .

I l @ ve RuBoard


MySQL and JSP Web Applications. Data-Driven Programming Using Tomcat and MySQL
MySQL and JSP Web Applications: Data-Driven Programming Using Tomcat and MySQL
ISBN: 0672323095
EAN: 2147483647
Year: 2002
Pages: 203
Authors: James Turner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net