This content has been marked as final.
Show 6 replies
-
1. Re: Proxy Remote Call Handling
alesj May 19, 2008 5:28 AM (in response to alrubinger)"ALRubinger" wrote:
How are we intending on handling a remote call using the new Proxy component?
Check how we handle remote invocation of KernelBus here:
- http://anonsvn.jboss.org/repos/jbossas/trunk/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java -
2. Re: Proxy Remote Call Handling
wolfc May 19, 2008 10:41 AM (in response to alrubinger)That still uses the Dispatcher singleton, which basically is yet another registry.
Can't we leverage the MC registry for this? -
3. Re: Proxy Remote Call Handling
alesj May 19, 2008 10:47 AM (in response to alrubinger)"wolfc" wrote:
Can't we leverage the MC registry for this?
To do what?
Remote invocation of MC component?
I don't understand what you mean. ;-) -
4. Re: Proxy Remote Call Handling
alrubinger May 25, 2008 4:37 AM (in response to alrubinger)Another problem with KernelBus-based invocation is that the underlying reflection is a potential bottleneck.
S,
ALR -
5. Re: Proxy Remote Call Handling
alesj May 25, 2008 5:24 AM (in response to alrubinger)"ALRubinger" wrote:
Another problem with KernelBus-based invocation is that the underlying reflection is a potential bottleneck.
Bottleneck as in what?
Invocation performance?
Javassist does a good job at that, caching some stuff transparently.
And MC's reflection is pluggable.
Currently we use JDK's, but we also have a Javassist impl ready (not yet at 100%, so help wanted ;-)).
But that's used when we're talking POJO, MBean bus invocations go over MBeanServer. -
6. Re: Proxy Remote Call Handling
alrubinger May 25, 2008 5:39 AM (in response to alrubinger)"alesj" wrote:
Bottleneck as in what? Invocation performance?
Yep.
Currently looking at jboss-remoting-aspects' InvokeRemoteInterceptor, which uses JBoss Remoting to intercept the call and redirect to the remote host via an InvokerLocator. This is more in line with the current impl.
And then we get to avoid Javassist load-time weaving. Going to hack in this direction and put it into Proxy, at Carlo's request. :)
S,
ALR