Win a copy of Functional Reactive Programming this week in the Other Languages 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic