Where does EJB feets into struts (MVC architecture)...
Model - bean classes
View - JSPs
Controller - Servlet that handles request and responds with the help of Action and other classes...
If you make use of EJB, Struts can be totally regarded as a Web component.
Model is a bean class, but it could be a simple JavaBean (not EJB) as Entity bean is seldom (or should not be) disclose to the client side.
View is
JSP Controller is the ActionServlet. However, the servlet is mainly used for "controlling" the Web tier flow. When it receives requests, it checks for the types of requests, and then forward the request to the corresponding session bean. After the finished the processes, the servlet obtained the data and then determine the corresponding view for display.
Since EJB holds the business logic, thus, Strut will then become purely Web component and it seldom provides business logic except very special needs.
Nick
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)