October 2003
Beginner
734 pages
16h 56m
English
With the Java reflection API, you can interrogate an object to get all sorts of information about its class. With Remote objects, you don’t have that option, because you can’t get a reference to the class of the Remote object. The only thing you can interrogate on a Remote client are the stub objects, but they can’t tell you anything about the real EJB object or Home object.
So while a Remote home client has to use EJBMetaData (the interface returned from the EJBHome getEJBMetaData() method) to get info, a local client will simply use the Java reflection methods (getClass(), etc.).
Read now
Unlock full access