On Mon, 26 Mar 2001, Troy Molander wrote:

> Hello,
> 
> I have a purely academic question that is geared towards acquiring a better
> understanding of how an object can be dynamically generating from nothing
> more than an interface.  At some point (I assume during deployment) the Home
> interface extending EJBHome is implemented and exported as a
> UnicastRemoteObject.  Exactly how is this object created and the Home
> interface of the provider bean implemented?
JBoss uses the class java.lang.reflect.Proxy to generate proxy
implementations of the bean's interfaces. These proxies delegate to an
InvocationHandler implementation that JBoss provides. Take a look at the
javadoc for those JDK classes: it's almost as cool as doing proxies in
Python 8^})



> 
> Thanks for any insight,
> 
> Troy Molander
> 

-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA.

---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait.
-Eben Moglen


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to