aspose file tools*
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 Spring in Action this week in the Spring 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.