Connecting JSP to EJBs

Discussions

Web tier: servlets, JSP, Web frameworks: Connecting JSP to EJBs

  1. Connecting JSP to EJBs (1 messages)

    Hi!
    Is there more than one way through which a JSP can do a look up for a EJB or through which a JSP can get a reference for a EJB ?
  2. Connecting JSP to EJBs[ Go to top ]

    I'd use a servlet to connect to EJBs, then pass the results to a JSP via the RequestDispatcher. Alternatively you can access EJBs via JavaBeans from a JSP.