• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception due to Package  RSS feed

Ranch Hand
Posts: 662
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I connect to another PC which has Weblogic server running in it and has a TestSession EJB deployed in it in the following package "nazer.testing".

Now when I look up the EJB from my clientside code (which uses my client side Home Interface and EJB Object interface in the same package) and try to cast it throws a ClassCastException. But When I place my Client Code(and the Home and EJB object interface) in the package "nazer.testing", I don't get any ClassCastException.

Can I know Why?
Is there any relation between packages of the remote EJB and the Client side interfaces.
[ August 23, 2005: Message edited by: Arun Kumarr ]
Onion rings are vegetable donuts. Taste this tiny ad:
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!