EJB programming & troubleshooting: Question? EJB calling a Servlet.

  1. Question? EJB calling a Servlet. (1 messages)

    Can anyone tell me how I would go about calling a servlet
    from a session bean that’s running in the same J2EE application.
    Application server is Oracle10g.

  2. Servlets are handling HTTP requests, not java method calls. Refactor and move the functionality you want to access out of the servlet into a class that your bean can call.