Hi all,
I've just managed to get a 2.1
EJB to work from a
servlet(been struggling for a while).What I would like to know is how come it's working just fine when I haven't put an ejb-ref element in the web.xml.
This is what I've done:
Create EAR project
Create EJB project with EJB client jar(inside EAR)
Create Dynamic Web Project inside EAR.
Add client jar to web project's build path.
Create EJB reference
I'm guessing that having ejb-ref elements in the ejb-jar.xml is the reason why I dont need it in the web.xml..Anyone care to elaborate?
Also,I call remove on the ejb but I dont get any output(my ejbcreate method returns output though)