Hi guys, me again!
After several attempts at using deployment descriptors for my sample EJB3.0 app I have decided to go the other route (as recommended to me by someone here a few days ago) and chosen Annotations!
From what I have found I think I've done it correct. The only problem is the presentation level (JSPs /
Servlets for now) can not see the
EJB Module classes. I can import them in the Servlet, but when executing the app I get a:-
Exception: javax.naming.NamingException: ejb ref resolution error for remote business interfacecom.myproject.sample1.SampleRemote [Root exception is java.lang.ClassNotFoundException: com.myproject.sample1.SampleRemote] Ideally I want to deploy the WAR and EJB Jar as separate apps, because long term I'm thinking of having them on separate machines.
I have deployed this to a Sun
Java WebApp 9.0 Server
So basically I need to know how to call a EJB (using Remote Interface) from a Servlet within a separate App?
Once again, many thanks for any help.
[ October 15, 2007: Message edited by: Keith Seller ]