Review of EJB 3.1 Cookbook by Richard M. Reese, Packt Publishing Ltd., June 2011, ISBN 978-1- 849682-38-1
This cookbook aims to address the challenge developers and programmers face in learning the EJB 3.1 technology, the chosen development environment and the testing of EJBs.
The writing style is concise and to the point with topics clearly illustrated by simple step by step examples that are discussed in detail. Some of the topics covered include: Session Beans, Message- Driven Beans, EJB Persistence, security and deployment. Both Dependency Injection (DI) and the Java Naming and Directory Service (JNDI) is covered. While it could be read cover to cover to learn EJBs there is both an extensive table of contents and index which allows jumping directly to a topic of interest, and the eBook version is fully searchable. All of the code is available for download on the Packt website.
The examples are developed using NetBeans 6.9.1 and GlassFish Server Open Source Edition v3.0.1 starting with simple EJB clients, which are then extended to cover each new topic. While no prior knowledge of EJBs is required, some familiarity with EJB and Servlet concepts and architecture would be helpful and a sound understanding of Java and XML concepts and practices are essential. Annotations are used extensively and a basic understanding of these would be desirable.
This book would be an excellent resource for both intermediate developers looking to learn EJBs and experienced developers wishing to dip into specific techniques. An ideal companion to EJB 3 Developer Guide (ISBN 978-1-847195-60-9).