This is just to initiate a discussion on the best way to incorporate a 
transport mechanism into JBossCache - ie. provide a mechanism for providing 
transports between caches other than JGroups.

One of the main reasons for undertaking this is that we have a number of 
projects using jboss remoting and use instances of an old, modified version of 
jboss cache - some of the projects use a number of different remoting 
transports, and as a consequence the transport is transparent to jboss cache. 
Most of the projects are unable to use jgroups as they have to run on existing 
frameworks where straightforward ip addressing is unavailable (hence the use of 
jboss remoting).

My original idea was to refactor jbosscache and introduce an interface similar 
to that of hedera (http://hedera.continuent.org) - Hedera is targeted at 
reliable group communication within clusters and their default implementation 
is JGroups. Adding another transport is relatively easy.

After bouncing this off Bela and Manik it seems that an easier approach would 
be to do a simpler refactoring and move JChannel from TreeCache to 
ReplicationInterceptor.

Manik then came back with the following as a way to move forward ...

1.  Move all network related configurations and operations  relating  to remote 
caches to the BaseRPCInterceptor (this  interceptor does not  exist in 1.2.4, 
only in CVS HEAD)
2.  The ReplicationInterceptor extends BaseRPCInterceptor anyway  so  it will 
still have access to remote caches
3.  Other network related code (e.g., state transfers) should be   moved to the 
replication interceptor rather than the TreeCache.

So, does anyone else have any inputs about this? I would like to try and move 
forward on this as soon as possible.

Cheers
Nick


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to