how 2 call ejb file& servlet ie servlet& ejb communication
Joined: Aug 12, 2003
hello please give me the details of how 2 call ejb file& servlet ie servlet& ejb communication what is the importence of communication give me the exaple thank you
Joined: Jul 18, 2001
I don't understand exactly what you are asking. Do you just want to know how to call an EJB from a Servlet? It is the same as calling an EJB from anywhere else... Assuming the Servlet is running in the same WLS instance as the EJB, your code would look something like:
Joined: Jan 06, 2001
Hi, It's a recommended good practice to use a pattern here. Look for ServiceLocator and/or HomeCache patterns. regards.