It's not a secret anymore!
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 REST with Spring (video course) this week in the Spring 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.

I agree. Here's the link:
subject: EJB Client question
It's not a secret anymore!