Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts


Download the FREE PDF

Download the source code

EJB Design Patterns

The job of the EJB developer is constantly challenging, making the task of designing maintainable and scalable systems difficult without a clear set of best practices to follow. It is with this and other concerns in mind that Floyd Marinescu (Director of TheServerSide.com J2EE Community) worked with thousands of J2EE professionals on TheServerSide to put their collective knowledge together in order to build a library of design patterns, strategies, and best practices for EJB design and development.

EJB Design Patterns goes beyond high-level design pattern descriptions into critical EJB-specific implementation issues, illustrated with source code implementations. The book contains a catalog of twenty advanced EJB patterns and provides strategies for mapping application requirements to patterns-driven design, J2EE development best practices, and a collection of EJB tips and strategies, and other topics such as Build-System best practices using Ant, JUnit testing strategies, using Java Data Objects (JDO) as an alternative to entity beans, and more.

EJB Design Patterns Topping Charts

EJB Design Patterns was the #2 book at this years Java One conference, and held the #1 book on amazon.com in the categories of Java, Web Development and Software Design for many weeks.

What you will find here

This is the official homepage for EJB Design Patterns. Here you can download the source code for the book and also a PDF version of the book. Book Errata and other announcements will also be posted here.

Important Links

Purchase the book on Amazon.com

Book errata

If you find any errors while reading the book, let us know! We'll have our publisher fix them in the next printing. Keep sending them in to bookbug@middleware-company.com with a full description of the page number, line, and specific error. If there is a problem with source code, please be sure to mention the file names, line numbers, and chapters.


Chapter Page No. Description

1

20

The TransferFunds class diagram is missing 'setter' methods for the withdrawAccountID and depositAccountID member variables.

2 and 9

53 and 204

On p53 it is recommended that DTO's be used as arguments to ejbCreate, but then this behaviour is discouraged on p204. This was an oversight. The author recommends using limited primitives as arguments, as described on p204.

4

103

This page is missing a paragraph. The first paragraph on the page (above the one beginning with "One important..." should be: "A source code example of a Business Delegate for a Stateful Session Bean that can be serialized is included in Appendix B, under Business Delegate. This example provides serializability in a completely transparent fashion - other than throwing it into an HTTPSession, the client of the business delegate doesn't need to handle it any differently than it would a delegate for a stateless session bean."

Appendix

231

Member variable sb should be of type ForumService, not TestSession.

Books on TheServerSide.comBooks on TheServerSide.comBooks on TheServerSide.com

Mastering EJB 3.0

The fourth edition in the Mastering EJB series, this book provides in-depth coverage on the changes that come with EJB 3.0. More than 50% new and revised, the free download covers the latest features of the new release and information on the Java Persistence API and the entities defined therein.

Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source and more.

The J2EE Architect's Handbook

This book is written for technical architects and senior developers tasked with designing and leading the development of J2EE java applications. This book will guide the architect through the entire process of delivering a project from analysis through application deployment providing numerous tips, tricks, and "best practices" along the way.

Servlets and JavaServer Pages: The J2EE Technology Web Tier

Servlets and JSP: the J2EE Web Tier covers how to install a Servlet/JSP environment and what is in the JSP 2.0, Servlet 2.4, and JSTL 1.0 specs. The later chapters cover state management, design patterns, internationalization support, multi-client design, Java database connectivity.

Java Testing and Design

Java Testing and Design teaches you how to build production-worthy, scalable, and well performing Web-enabled applications and presents techniques and tools to enable developers, QA technicians, and IT managers to be productive in development and test automation.

Jakarta-Struts Live

Jakarta Struts Live covers the Struts MVC architecture and building each of the Struts components of this architecture. You'll learn to use vital features like Tiles, the Validator, DynaActionForms, plug-ins, and internationalization.

EJB Design Patterns

A companion/standalone book to Mastering EJB 2, EJB Design Patterns seeks to solidify and centralize all the cutting edge strategies and design patterns in use today.


News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy