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 calling an EJB from web(jsp/servlets/webservices) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "calling an EJB from web(jsp/servlets/webservices) " Watch "calling an EJB from web(jsp/servlets/webservices) " New topic
Author

calling an EJB from web(jsp/servlets/webservices)

Anna Madhusudhanan Natanagopalan
Greenhorn

Joined: Apr 05, 2004
Posts: 25
Hi ,
I am getting error when a server side(Webservices / serlvets/jsp) program try to call an EJB.
I created a Test.jws (webservices) which is running in the Tomcat. then
I created a EJB(Test.jar) bean which is running in sun one application server.
I created a client program Test, It tries to communicate with Test.jws. It does. When the Test.jws is tried to communicate with EJB , it gives me CDRInputStream_1. (That is the Test.jws could not find the TestClient.ear).
Do i need to set the classpath for the TestClient.ear. I tried that also. but it doesn't.
What should i do to properly working this one.
Thanks and regards
Anna Madhusudhanan
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Anna,
Please don't cross-post. This was already asked and answered in the Servlets forum.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: calling an EJB from web(jsp/servlets/webservices)