EHCache 0.5 was released today. It has the backport to JDK1.3 and JDK1.2 that has been discussed in this thread included.

The Changelog follows:

EHCache-0.5
===========
Bug Fixes
---------
- Implemented not creating a Disk Store when overflowToDisk="false" is set in ehcache.xml
- toString() methods now report on all fields


Feature Changes
---------------
- Changed from JDK1.4 Logging to Commons Logging. This is to permit JDK1.2 and JDK1.3 to use EHCache.


- Added Apache Commons Collections LRUMap as an alternative backing Map for the MemoryStore. The
java.util.LinkedHashMap has been retained and is used automatically for JDK1.4 and higher.


- Added LICENSE.txt to the jar in the distribution

- The Hibernate plugin now logs a warning rather than failing when a cache has not been configured. A new cache based on the default cache settings is created for these unconfigured caches. This behaviour is similar to JCS.

I am interested in any bug reports or other feedback developers have with EHCache.


On 16/11/2003, at 2:40 PM, Gavin King wrote:


Great :)

Greg Luck wrote:

Gavin
Done.
I have changed logging to commons-logging and have added LRUHashMap from commons-collections. This, along with some packaging changes will be in CVS later today.
Greg Luck
On 15/11/2003, at 10:08 AM, Gavin King wrote:
We already have a dependency to commons-collections, so perhaps just use commons SequencedHashMap instead of LinkedHashMap.

Greg Luck wrote:

Hi
EHCache does require the use of JDK1.4.
Specifically we use:
- LinkedHashMap, which provides us with an LRU HashMap
- JDK1.4 logging
- SoftRefererences
I guess there is a lot of production code out there on JDK1.3 and earlier. I could replace
the JDK1.4 logging with commons logging and the java.util.LinkedHashMap with something
similar.
I was pretty keen to use the java.util.LinkedHashMap, because the combination of a doubly-linked
list combined with a Hashmap in JCS was the source of the memory leak in it. The memory store code
went from around 1500 lines down to a few hundred and became much simpler to understand.
Greg Luck
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/ g22lp.tmpl
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


--
Gavin King
JBoss Group
+61 410534454
http://hibernate.org



-- Gavin King JBoss Group +61 410534454 http://hibernate.org



Greg Luck



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to