[jboss-dev-forums] [Design of EJB 3.0] - Re: Redesign of Pool Configuration

bstansberry@jboss.com do-not-reply at jboss.com
Wed Jan 28 15:00:30 EST 2009


anonymous wrote : (02:15:19 AM) carlo: ALR: Each cache implementation should have it's own annotations, metadata and deployers.

I like that as well.

An implemenation detail we should remember when we do this though is user-friendliness when people mismatch their configuration. E.g. there used to be two @CacheConfig variants in different packages, one meant for SimpleCache, other for StatefulTreeCache.  People would use the wrong one, which would result in the cache just using defaults.

Of course, getting rid of @Cache and making the cache impl implicit based on the @CacheConfig would remove that problem.

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

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



More information about the jboss-dev-forums mailing list