Addressing the storming controversy of EJB head-on, this guide discusses framework problems and common traps that can snare unwary developers. Advice is provided for choosing persistence strategies beyond EJB entity beans and a list of several entity bean antipatterns. Also offered are session bean and messaging antipatterns and a compelling discussion about how and when to use problematic stateful session beans. Solutions to difficult problems such as effective builds and performance tuning are furnished. Designed for EJB developers, architects, programmers, and project managers, this authoritative reference attacks basic Java programming problems to establish antipatterns as a serious field for Java developers in a well-known context.
Bruce Tate is an Internet architect who developed the bitter Java concept after seeing a set of customer problems repeated, collecting their stories, and publishing the solutions. He is the author of ""Bitter Java,"" He lives in Austin, Texas. Mike Clark is president of Clarkware Consulting, Inc. He first encountered EJB pitfalls in 1998 while developing a custom EJB container, prior to the emergence of commercial J2EE servers. He has significantly contributed to the successful delivery of a popular J2EE performance management product and has also created several open source tools including JUnitPerf for automated performance testing. He lives in Parker, Colorado. Bob Lee is an OCI consultant with expertise in AOP, Jini, and web security. He developed an open source AOP framework that utilizes runtime bytecode engineering to intercept method invocations on POJOs and forms the foundation of JBoss AOP. He lives in St. Louis, Missouri. Patrick Linskey is the vice president of engineering for SolarMetric, a company that offers Java persistence alternatives to the Java community. His experience spans EJB application development and product development, and he is a teacher and speaker on the Java conference circuit. He lives in Washington, D.C.