This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EJB Client question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Client question" Watch "EJB Client question" New topic

EJB Client question

Patrick Ferguson
Ranch Hand

Joined: Jun 15, 2004
Posts: 30
I've created the ejb's and they have deployed successfully. Now I am trying to create a client interface outside of the ejb project.

Do I have to import classes from the ejb project into my client app so when I do the context look up it will have access to the methods? Also, which classes should get put into the jar file?

Sudhakar Jampa

Joined: Jan 29, 2005
Posts: 7
Atleast you should have remote & home interface classes in your classpath.
then only your client program will work.

Consider Paul's rocket mass heater.
subject: EJB Client question
Similar Threads
Stub classes for standalone EJB clients
Problem referencing EJB in web application on Websphere
Error while running ejb client....
Jar File Dependencies - Class not Found Exception
Client and EJB Classes On Different Servers