This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi , i have two different JVM's(one of them belongs to app server weblogic) in my machine....i am calling the EJB deployed on the weblogic using my client program with just home and remote interface classes in my class path.........call is working perfectly......
i m not able to understand , how is it working without having any stub classes in the classpath.....can any one help me understanding this...?
Yes, the remote and home interface classes need to be in the classpath of the client JRE. The stub objects that are sent from the application server are the implementations of these interfaces.
This is the first "stub" object that is sent from application server.
This is the second "stub" object that is sent from application server. [ January 01, 2009: Message edited by: James Clark ]
Joined: Aug 18, 2008
I am sure by just having the classes of interfaces(home and remote) in the classpath....stub objects sent from server cant be deserialized , we need to have stub classes to deserialize the stub objects
Joined: Apr 16, 2008
I am sure by just having the classes of interfaces(home and remote) in the classpath....
The home and remote interface classes ARE the "stub" classes.
The "stub" objects sent from application server are the implementations of these classes which are used in the client's JRE. [ January 02, 2009: Message edited by: James Clark ]