Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception due to Package

 
Arun Kumarr
Ranch Hand
Posts: 661
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic