I am just several days new on JBoss.
I deployed the CMP entity bean and session bean on JBoss 3.0 successfully. I have a Tomcat server running on a different machine (Not the same machine with JBoss). So in the servlet deployed on that tomcat, how can I use the EJB in JBoss? Basically what I understand is that after deployment of EJB on JBoss, it will generate some stub class that servlet may use these stub class when it uses EJB. But since Tomcat and JBoss not at the same machine, how the sevlet at Tomcat could call EJB successfully?
Your help is greatly appreciated.
Iris
u need to include the jar file that u created with your beans remote interfaces with the web app and then use an initial context to connect to the ejbs then using the remote interfaces for the beans from the servlet