Search code examples
ejb

How to call session bean from jsp


I'm new to ejb. Actually I've created one ejb and I added reference to a web application which will call the session bean simply. How to call the session bean from the jsp file?


Solution

  • I could also prefer you to use the MVC model for your application. In that case there is no need to call a session bean from the jsp, you can call it from the servlets itself.

    Check out this link to call a EJB from a servlet. Click