File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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

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

Anna Madhusudhanan Natanagopalan

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
Please don't cross-post. This was already asked and answered in the Servlets forum.

I agree. Here's the link:
subject: calling an EJB from web(jsp/servlets/webservices)
It's not a secret anymore!