Results 1 to 2 of 2

Thread: Spring 3.0 + EHCache transaction management in IBM Websphere 6.1

  1. #1
    Join Date
    Feb 2011
    Posts
    20

    Default Spring 3.0 + EHCache transaction management in IBM Websphere 6.1

    Hello,

    I am using Spring 3.0.x, Ehcache 2.2, Sybase ASE 12.x, IBM Websphere v6.1.0.35 in my project. I would like to implement transaction management for DB and Ehcache. Has anyone worked with this before ? Please can someone provide useful tips for implementing this ? Also can someone suggest a smart way to verify if the implemented transaction management is actually working properly or not.

    I would be going for declarative management so is it better to use @Transactional Annotation or use <tx:advice> ?
    Thanks in advance!

  2. #2
    Join Date
    May 2011
    Location
    New Delhi, India
    Posts
    157

    Default

    You will have to use Hibernate if you want your cache to be transactional. Basically Hibernate 2nd level cache. Before using 2nd level cache, you should go through guidelines, specially if you are running your application in a cluster, as in that case you will need a cluster aware cache (like Jboss Tree Cache).

    Spring 3.1 has introduced support for caching (http://static.springsource.org/sprin...tml/cache.html), however i don't think it has support for transactions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •