Tuesday, 20 October 2009

Infinispan based Hibernate Cache Provider available now!

Update (2009/11/13)! Infinispan 4.0.0.Beta2 based Hibernate second level cache provider now available in Hibernate 3.5 Beta2. However, neither Infinispan 4.0.0.Beta2 nor the Infinispan Cache Provider jar are available in the zip distribution. Instead, please download Infinispan 4.0.0.Beta2 from our download site and the Infinispan Cache Provider from our Maven repository.

I've just finished the development of an Infinispan 4.0 based Hibernate second level cache provider. This will be included from next Hibernate 3.5 release onwards but if you cannot wait and wanna play with it in the mean time, just checkout Hibernate trunk from our SVN repository and run 'mvn install'.

I've also written a wiki called "Using Infinispan as JPA/Hibernate Second Level Cache Provider" that should help users understand how to configure the Infinispan cache provider and how to make the most of it!

So, what's good about it? Why should I use it? First of all, since the cache provider is based on Infinispan, you benefit from all the improvements we've done to Infinispan in terms of performance and memory consumption so far and there are more to come!

On top of that, starting with this cache provider, we're aiming to reduce the number of files needed to modify in order to define the most commonly tweaked parameters. So, for example, by enabling eviction/expiration configuration on a per generic Hibernate data type or particular entity/collection type via hibernate.cfg.xml or persistence.xml, users don't have to touch to Infinispan's cache configuration file any more. You can find detailed information on how to do this in the "Using Infinispan as JPA/Hibernate Second Level Cache Provider" wiki

Please direct any feedback to the Infinispan user forum.

Galder

18 comments:

  1. I'll be trying this out in the next week or two. Our company's software product has been tested with a variety of hibernate second-level cache providers but we need a solution that allows partitioning to support massive cache + high availability; InfiniSpan is bleeding-edge for us but the feature set sounds perfect.

    ReplyDelete
  2. Do you know if there is a way to make infinispan threads bein managed by websphere application server?

    ReplyDelete
  3. Yes, all threads are accessed via executors and you can pass in an ExecutorFactory for any executor in the system. Using this interface you can pass in any threads you so wish. See ExecutorFactory.

    ReplyDelete
  4. The option to tell Hibernate which caching implementation to use by specifying the name of a class that implements org.hibernate.cache.CacheProvider using the property hibernate.cache.provider_class. Hibernate is bundled with a number of built-in integrations with the open-source cache providers that are listed below. You can also implement your own and plug it in as outlined above.

    proteinpulver

    ReplyDelete
  5. Thanks for sharing useful information on the blog and refer the link Android Training in Chennai

    ReplyDelete
  6. Thanks for sharing this informative blog..If anyone want to get Salesforce Training in Chennai reach FITA academy.

    ReplyDelete
  7. Hi, I wish to be a regular contributor of your blog. I have read your blog. Your information is really useful for beginner. Recently I have completed Software Testing Course in Chennai at a reputed institutes.Its really useful for me to make a bright carrer. If anyone want to get Manual Testing Training in Chennai reach FITA.


    ReplyDelete
  8. Your information is really useful for me.Thanks for sharing such a valuable information. If anyone wants to get SEO Course in Chennai visit FITA Academy located at Chennai. Rated as No.1 SEO Training institutes in Chennai.

    ReplyDelete
  9. I have read your blog and i got a very useful and knowledgeable information from your blog.its really a very nice article.You have done a great job . If anyone want to get Salesforce Admin Training in Chennai, Please visit FITA academy located at Chennai Velachery.

    ReplyDelete
  10. Excellent post on iOS mobile apps development!!! The future of mobile application development is on positive note. You can make most it by having in-depth knowledge on mobile application development platform and other stunning features. IOS Course in Chennai

    ReplyDelete
  11. Excellent this blogs information..iOS 8 comes with big updates to apps you use every day, like Messages and Photos. A whole new way to share content with your family. And exciting new connections between apps and between devices. All that and more make iOS 8 the biggest iOS release ever.
    hadoop training in chennai

    ReplyDelete
  12. hadoop training in chennai
    iOS 8 is the biggest release for developers since the introduction of the App Store. We’ve given them new tools to extend the reach of their apps and opened up new opportunities for them to take advantage of iCloud, Touch ID and more. Which means you’re seeing exciting new apps with capabilities that were never possible before.
    hadoop training in chennai

    ReplyDelete
  13. ResearchKit is a software framework, created specifically for medical research. And it’s open source — so everyone can collaborate to potentially change medicine forever.oracle training in chennai

    ReplyDelete
  14. oracle training in chennai
    iCloud is built into iOS. It makes sure your devices always have the latest versions of your documents, apps, contacts and more. It even helps you track lost devices.oracle training in chennai

    ReplyDelete
  15. Thanks for your informative article on software testing. Your post helped me to understand the future and career prospects in software testing. Keep on updating your blog with such awesome article. Automation training in Chennai | Software training | Software testing training institute Chennai

    ReplyDelete
  16. Your information about Selenium scripts is really interesting. Also I want to know the latest new techniques which are implemented in selenium. Can you please update it in your website? Selenium Training in Chennai | Best Selenium training institute in Chennai | Selenium Training

    ReplyDelete
  17. Nice information about the load testing!!! I prefer Loadrunner automation testing tool to validate the performance of software application/system under actual load. Loadrunner training institute in Chennai | Loadrunner course in Chennai

    ReplyDelete
  18. I have read your lines very useful information for software testing.Thank you for sharing you article.Python Training in Chennai

    ReplyDelete