|
| Total Answers and Comments: 3 |
Last Update: May 19, 2008 Asked by: Saurabh Jain |
|
| | |
|
Submitted by: arindam_0006in Proxies are created dynamically by subclassing your object at runtime. The subclass has all the methods of the parent, and when any of the methods are accessed, the proxy loads up the real object from the DB and calls the method for you. Very nice in simple cases with no object hierarchy. Typecasting and instanceof work perfectly on the proxy in this case since it is a direct subclass.
Above answer was rated as good by the following members: getravi2k, geeky920 | Go To Top
|