Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classcastexception when getting remoteobject of ejb.

 
paddy Mahadeva Iyer
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I just forgot to say that i am using Java5 jboss 4.0.5
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic