Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using servlet to call EJB and give the response.  RSS feed

Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have an EJB application which is exposed as a service to other stand alone services. I have developed that EJB application in the Weblogic container. i have tested the EJB application using a standalone code. Now I have to use a web application that calls the EJB application and displays the result in the JSP.
I have planned to convert the code in the stand alone code to a servlet. Is this approach correct. If correct how do I get assess to various util classes that the standalone code uses.

What are the code change I have to do to my standalone code to act as a servlet?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!