Using Different EJB Types with Struts
This section examines the four main types of available EJBs and how they might fit in with Struts. Although in any situation, as the old Perl adage goes, TIMTOWTDI (“There is more than one way to do it!”), it’s possible to generalize. These recommendations might not exactly fit what you’re doing, but they provide a starting point and give you a good idea of how EJB technology fits with Struts.
Entity beans are primarily used as an interface to a database. They enable the developer to work with database data at a business-object level and not worry about low-level management of the database. The actual JDBC calls as well as the code are taken care of by the entity bean and the EJB container. ...