[jboss-dev-forums] [Design of POJO Server] - Re: JRMPProxyFactory equivalent for POJO Services

ALRubinger do-not-reply at jboss.com
Wed Jul 23 21:45:10 EDT 2008


"ron.sigal at jboss.com" wrote : 1. Provisionally, I've put RemotingProxyFactory in jboss-aspects/remoting, since it uses facilities from there.  Is there some other more appropriate home for it?

RemotingProxyFactory does the following:

1) Registers the target w/ the Dispatcher
2) Constructs a POJI Proxy to the target
3) Adds an interceptor chain to the proxy

As it's not itself an aspect, I'd consider it a good candidate for a yet-to-exist project under jbossas/projects as opposed to jboss-aspects.  What qualifies a candidate for an integration project (jbossas/projects/integration/remoting)?  
 
"ron.sigal at jboss.com" wrote : 3. "scott.stark" wrote : 
  |   | the jndi binding should be done via an aspect on this bean.
  | I don't understand.  Why not just do it in RemotingProxyFactory?

Who's to say that the returned remoting proxy will always be bound into JNDI?  I'd view this as a separate concern. :)

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166290#4166290

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166290



More information about the jboss-dev-forums mailing list