Discussions

EJB programming & troubleshooting: jsp talking directly 2 an entity bean

  1. jsp talking directly 2 an entity bean (1 messages)

    Hi,
    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.
  2. jsp talking directly 2 an entity bean[ Go to top ]

    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.

    Pranab