Building EJB Applications - A Collection of Patterns

Although Enterprise JavaBeans provide simple APIs for relatively complex tasks, designing and implementing a scalable, maintainable and reasonably fast application based on EJB is not trivial. Over time, a set of proven patterns has emerged – this paper presents some of them. The patterns will be part of a book about EJB architecture and application patterns which is currently being written by the authors of this paper. We do not address other parts of J2EE such as Servlets or JMS, we solely focus on the “middle tier” made up of EJBs. Intended Audience These patterns are intended for architects, designers and implementers of EJB applications. We expect the reader to understand the EJB architecture and APIs, and we expect that the reader has some experience in building EJB applications.