Enterprise JavaBeans (EJB) is a major new technology for server-side application development in Java. It offers a component architecture for developing distributed, multitiered enterprise applications. This model allows you to build complex, mission-critical systems using simple snap-together pieces that model individual business objects and processes. EJB greatly simplifies the process of development by automatically taking care of system issues like object persistence and transaction management.
This book provides a thorough introduction to EJB for the enterprise software developer. It shows you how to develop enterprise Beans to model your business objects and processes. It also shows you how to develop client applications that use the Beans to perform useful work. One powerful advantage of the EJB architecture is that it allows you to partition work appropriately between different parts of the system: the database provides persistence, your Beans model various business entities and the interactions between them, and your client application provides a user interface, but incorporates minimal business logic. The end result is a highly flexible system built from components that can easily be reused, and that can be changed to suit your needs without upsetting other parts of the system. Enterprise JavaBeans teaches you how to take advantage of the flexibility and simplicity that this powerful new architecture provides.
This book covers:
Developing entity Beans (Beans that model business objects) and session Beans (Beans that model business processes)
Deploying Beans in an EJB server
Using the client-side API to use enterprise Beans
Appendices show in detail how to deploy Beans with the most popular EJB servers.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. Melanie Wang was the production editor and proofreader for Enterprise JavaBeans. Sarah Lemaire was the copyeditor. Jane Ellin and Clairemarie Fisher O'Leary performed quality control reviews. Madeleine Newell and Abigail Myers provided production support. Ellen Troutman Zaig and Seth Maislin wrote the index. Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The image of the toy wooden train is from the Stock Options collection. It was manipulated in Adobe Photoshop by Michael Snow. The cover layout was produced by Kathleen Wilson using QuarkXPress 3.3, the Bodoni Black font from URW Software, and BT Bodoni Bold Italic from Bitstream. The inside layout was designed by Nancy Priest. Text was produced in FrameMaker 5.5 using a template implemented by Mike Sierra. The heading font is Bodoni BT; the text font is New Baskerville. The illustrations that appear in the book were created in Macromedia Freehand 8 and Adobe Photoshop 5 by Robert Romano and Rhon Porter. Whenever possible, our books use a durable and flexible lay-flat binding, either RepKover or Otabind. If the page count exceeds the maximum bulk possible for this type of binding, perfect binding is used.