Transactional cache with web application (JBoss Cache?)

D

DK

Hi everyone,

I'd like to use a transactional cache on a data source which is not a
database. I'll probably have to write some sort of adapter to retrieve
records.

In a web application, I'd like to use the transaction capability of the
caching system. When a page is requested, I'd like for all beans to be
retrieved as part of a single transaction since I cannot control the
order in which beans are accessed by the web framework (e.g. JSF). I
_do_ want the transactional quality, though -- accessing a list of
available items twice within a single page request must return the same
values.

I was thinking about using JBoss Cache. However, how do I integrate that
with Tomcat? As I said, a single request is supposed to be processed as
one transaction. When reading documentation Hibernate gets mentioned a
lot, but I don't want to use a relational database.

Maybe what I'm looking for is just a Tomcat / JBoss Cache configuration
issue. But I have no idea where to start. I'd be grateful for some
pointers or even a code example.

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top