| Author |
Help Regarding Accessing EJB from a java Client
|
Jay Sinha
Greenhorn
Joined: Jun 03, 2004
Posts: 2
|
|
HI Everyone, 1. The Problem I am facing is that whenever i try running an ejb deployed on my weblogic server,, from a simple java Client ,, i get an Exception called as ClassCastException, After searching rigourously on net found some words like,, different Class loader concept and etc etc. Can someone please elaborate on that. 2. Also if anyone has an idea about how to create ejb-client.jar in Weblogic server.. Please revert as soon as possible. Thanks in Advance Jay Sinha
|
Regards
Jay Sinha
|
 |
Scott Duncan
Ranch Hand
Joined: Nov 01, 2002
Posts: 363
|
|
The Problem I am facing is that whenever i try running an ejb deployed on my weblogic server,, from a simple java Client ,, i get an Exception called as ClassCastException, After searching rigourously on net found some words like,, different Class loader concept and etc etc. Can someone please elaborate on that.
Can you give a bit more info like a code snippet. Are you casting to the Home interface for the lookup? If so, what is the object returning? Set it to an Object and then see what the value of Object.class.getName().
|
No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
|
 |
 |
|
|
subject: Help Regarding Accessing EJB from a java Client
|
|
|