Hi Ranganathan. Thanks for pointing me to the appropriate page.
I checked it out and did following:
1) Created WAR file of the web application containing a
JSP and a
servlet. Servlet refers to EJB.
2) Created EJB project containing a local interface and a session bean.
Build JAR file of the project.
3) Created an EAR project and included both WAR and JAR in it and put it in 'apps' folder of TOMEE.
Result:
1) When EAR with only WAR was deployed, application was deployed sccessfully.
2) When EAR with WAR and EJB JAR was deployed, I could not see index page of the application, indicating something went wrong in EJB JAR.
I did following in EJB Project.
Local interface:
Session bean:
Servlet code:
I have been trying it for quite some time now. Please help..........