1

I find that most of the features provided by ehCache are reasonably performing put and get by key..But I just want to use a caching to add and peek record as a queue(we need caching,much likes a buffer,because the data may be big..).How to use ehcache or JCS in this way?or any other suggested alternatives? Thanks!

ygnhzeus
  • 367
  • 1
  • 2
  • 14

1 Answers1

0

Based on your description it sounds like you would want to use JMS instead. Its supporting distributed transactions and provides publish/subscribe mechanisms.

Some of the JMS implementations:

user1697575
  • 2,830
  • 1
  • 24
  • 37