How This Book Is Organized
This book is organized in five parts: Parts I through IV make up the technical manuscript, while Part V comprises the examples. The technical manuscript explains what EJB is, how it works, and when to use it. Part V provides step-by-step instructions for installing, configuring, and running the examples.
The technical manuscript was adapted from Bill Burke and Richard Monson-Haefel’s fifth edition of this book by yours truly, Andrew Lee Rubinger. The code contained herein is not vendor-specific in any way, and it will often value concision over verbose code samples. The intent of this section is to focus on conceptual understanding.
Multiuser distributed system are inherently complex. To ignore the issues they present is to ask for trouble down the line. Luckily, you don’t have to do all the work yourself; Chapters 1 through 4 outline the benefits of taking advantage of EJB—a component model for simplified development of enterprise applications.
In Chapters 5 through 8 we dive into the mechanics of EJB with relation to business logic. We’ll explore the various models available and discuss when each may be appropriate.
While the server-side component models typically speak to actions, the EJB Entity model addresses the need to interact with persistent state. Java Persistence exposes relational data as objects, and EJB comes with integration built-in. Chapters ...