| All but two recipes in this book are based on the EJB 2.0 specification. The recipes on creating EJB web service endpoints and the EJB timer service are based on the EJB 2.1 specification. In a few chapters, the book covers other technologies or frameworks where appropriate. In fact, this book makes use of XDoclet, log4j, Ant, and Cactus. For example, chapter 8 discusses using log4j to provide logging in an Enterprise JavaBeans application. Wherever these outside frameworks or tools are referenced, only the portion that touches the EJB world is described. So even though an introduction may be provided, you might need to consult additional documentation to answer any further questions.
We intend this book for the practicing EJB developer. That said, we don’t include many recipes for tasks that we assume you already know how to do. For instance, you won’t find recipes describing the basic rules of EJB construction, building, or deployment. Many of the recipes show full examples, whereas others may only show psuedo-code or partial examples. Much of the code can be downloaded from the book’s website at www.manning.com/sullins2.
This book is not a story—it does not have a beginning or an end. You don’t have to read the chapters in order; we recommend you use the index or the table of contents to find the topics you’re interested in and jump right to them. Recipe titles are found both in the table of contents and the index. In addition, the major subject areas are referenced throughout the index. The power of this book is its ability to impart solutions in just a few moments. We intend it to be a quicksolutions reference, not an instructional tutorial.
Just as cookbooks contain step-by-step directions for creating different dishes, this book contains recipes for solving problems concerning Enterprise JavaBeans. Topics addressed range from simple, everyday issues to complex design issues using EJB patterns. Intended for developers with some EJB development experience, an understanding of the concepts of enterprise development and the basics of EJB programming is assumed. This book clearly addresses problems and issues and avoids the use of EJB keywords, making it ideal for developers who want quick solutions to frequent problems—or simply EJB development ideas. Easy-to-find recipes range from the common to the advanced and include techniques for securing a message-driven bean, generating EJB code, and improving an entity bean persistence layer.
About the Author Benjamin G. Sullins is a senior-level Java developer with experience in both server- and client-side Java. Currently, he works with JSP and XML to develop collaborative online applications. He lives in Dallas, Texas. Mark B. Whipple is a software developer who has worked extensively with networked applications, including monitoring applications utilizing SNMP and, more recently, JMX. He has been a member of several standards bodies, including the Internet Engineering Taskforce (IETF). He lives in Dallas, Texas. |
|