I agree w/ this, although I think it's a shame not to make JBC somewhat
more extensible in this area. Extensible in the sense of being able to
add new types of JBCMethodCall. (Maybe people can; my impression from a
couple months back is you can't.) Extensible for the purpose of adding
new/improved caching behavior, e.g. acquire a lock around the cluster or
something. May be a bad example. But if people can add a new
JBCMethodCall, they can add new functionality, which may get contributed
back to the core project. Right now this is very difficult to do.
Solving this kind of problem is not trivial either, since the
interceptor behavior is tightly bound to the type of method call. But
it's something to think about -- someday when we all have free time....
For generic RPC functionality, unrelated to core caching functions, I
think the way to go is to use two channels with a multiplexer.
jboss-dev-forums-bounces(a)lists.jboss.org wrote:
I still don't think JBC is the place for a generic RPC
library. Thats what JGroups RpcDispatcher is there for.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39829
35#3982935
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
y&p=3982935 _______________________________________________
jboss-dev-forums mailing list
jboss-dev-forums(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-dev-forums
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry