Choosing the Right EJB Type: Some Design Criteria

From the developerWorks archives

Kyle Brown

Date archived: January 3, 2017 | First published: August 01, 2000

When implementing your application design with EJBs, how do you decidewhat kind to use? This article reviews some EJB basics and describes the different kinds of EJBs (session, entity, stateless, stateful). It then gives you six rules of thumb that can help you decide what kinds of EJBs are best in a given situation, with special attention to the issues of database persistence and efficiency.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.

ArticleTitle=Choosing the Right EJB Type: Some Design Criteria