[jbosscache-dev] Let's make 3.0 backwards compatible

Bela Ban bela at jboss.com
Tue Aug 19 01:47:07 EDT 2008


No, I think people will switch to the new API, because the indirection 
via the bridge will cost them some perf. But the advantage of a 2.x 
compatible API for 3.x is that they can do the switch at their own leisure

Manik Surtani wrote:
>
> On 18 Aug 2008, at 19:37, Bela Ban wrote:
>
>> +100. Do you suggest a bridge/adapter approach ?
>
> This could be an alternate approach.  We are talking about an adapter 
> for making 2.x and 3.x compatible with 1.x interfaces; it would be 
> much easier to do the same to make 3.x compatible with 2.x.  
> Potentially helps to keep the core 3.x APIs clean so if people want to 
> use 3.x directly they have a chance to use cleaner APIs.
>
> The drawback is that everyone uses the adapter and never the cache 
> directly, which beats the purpose of the new APIs altogether.
>
> Thoughts?
> -- 
> Manik Surtani
> Lead, JBoss Cache
> manik at jboss.org
>
>
>
>

-- 
Bela Ban
Lead JGroups / Clustering Team
JBoss - a division of Red Hat




More information about the jbosscache-dev mailing list