File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Client JSP can't find EJB package on compile 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 "Client JSP can Watch "Client JSP can New topic
Author

Client JSP can't find EJB package on compile

Hugh Harrison
Greenhorn

Joined: Mar 01, 2010
Posts: 3
I have developed and deployed an EJBModule in Eclipse (a simple Stateless session bean). I have created, in a separate project, a client JSP to "use" the bean. It must import the EJB package containing the EJB classes since it must instantiate the Home and Remote interfaces. I have added the EJBmodule to the JAVA Build PATH. The problem is that the JSP compiler cannot find the EJB package.

Thanks for any suggestions
Hugh Harrison
Greenhorn

Joined: Mar 01, 2010
Posts: 3
Cancel this. I put the EJB classes in the Web-INF folder in the client project and it worked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client JSP can't find EJB package on compile
 
Similar Threads
JBOSS error with helloworld
The project was not built since its build path is incomplete Websphere error
invoking ejb from jsp in websphere
EJB
JBoss - The Bean Provider must specify the fully-qualified name?