EJB programming & troubleshooting: jsp talking directly 2 an entity bean
- Posted by: Yogi Yogi
- Posted on: October 10 2001 08:27 EDT
I wud like 2 know whether jsp can directly talk 2 an entity bean .
According 2 Jsp Spec it says jsp's cannot directly talk 2 entity Beans.
Is this tru N what is the reason for it.
There is nothing to stop from you calling entity bean from JSP. However, the typical design pattern is JSP-> Seesion Bean ->Entity Bean. Session Beans process business logic and entity beans deal with business data.