This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Classcastexception when getting remoteobject of ejb. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Classcastexception when getting remoteobject of ejb." Watch "Classcastexception when getting remoteobject of ejb." New topic
Author

Classcastexception when getting remoteobject of ejb.

paddy Mahadeva Iyer
Ranch Hand

Joined: Feb 10, 2007
Posts: 63
Hi,
I have a WebService Implementation class that has a method that acquires a remote object of an Ejb3 stateless session bean.

Say my my session bean is x and i have the xRemote and xLocal interface.

In my webservice implementation class I have a line


I wrote a client test program and when i executed the program . i get a classcastexception in this line. Saying
paddy Mahadeva Iyer
Ranch Hand

Joined: Feb 10, 2007
Posts: 63
Hi,

I just forgot to say that i am using Java5 jboss 4.0.5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Classcastexception when getting remoteobject of ejb.
 
Similar Threads
jfcunit: Good or bad? Classloader issues...
WSDL access error
Wrapper class on the top of stateless session bean
EJB Testing using JUnit
ClassCastException while using Collections. sort(Vector,Comparator)