[jbosscache-dev] Default JGroups configs
    Vladimir Blagojevic 
    vladimir.blagojevic at redhat.com
       
    Thu Oct 25 08:14:58 EDT 2007
    
    
  
Bela Ban wrote:
>   1.   I'd actually return "udp.xml", or at least a ref to some XML
>      file that ships with JGroups, rather than hard-code that into a 
> string
Yes it is definitely better to reference jgroups conf file. Either 
udp.xml or flush-udp.xml is ok.
>   2. If you use STREAMING_STATE_TRANSFER, then this requires the user
>      to implement the right callbacks, which I don't think many folks
>      do. IIRC, Vladimir uses the byte[] buffer methods if that's not
>      done, but I might be wrong
No need for special callbacks. This is completely transparent. User can 
switch back and forth between these two types of transfer without any 
additional coding. We'll do that in JGroups 3.0 as well.
    
    
More information about the jbosscache-dev
mailing list