On 8/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> I noticed comments from another JDO user regarding the lack of an "ehcache"
> implmentation, which I think is the default used by JBoss. The reflection
> API you have placed in the base cache class should make integration of other
> cache API fairly simple. 

FWIW, EHCache is used in Hibernate by default. I believe that JBoss
uses the JBoss Cache (http://www.jboss.org/products/jbosscache).

Actually, as I started writing the reflection based stuff with Werner,
I realized that integrating EHCache via reflection is a Very Bad Idea.
This is due to the fact that EHCache utilizes java.io.Serializable
instead of java.lang.Object. More to the point, writing a wrapper that
simply assumes serializability, or worse, casts all objects in a
entire object graph to java.io.Serializable is a Very Bad Idea.
Because of this, the onus would need to be placed on the user to make
sure all of the objects being cached are serializable.

Bruce 
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to