-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: "use of process level read-write cache is not recommend
PostPosted: Thu Apr 28, 2005 10:28 pm 
Newbie

Joined: Sat Sep 18, 2004 1:36 am
Posts: 12
I apologize for the basic question, but could someone please tell me what is meant by:

"in JTA environment, use of process level read-write cache is not recommended"

I am currently developing a web-based application using Tomcat, Struts and MySQL. I am planning to use ehcache with read-write caching strategy. Is it safe to do so? I can't use read-write strategy, since I have to modify some of the records during runtime. Is there any other alternative that allow me to do both read & write safely (if that warning message above applies to me, of course). I have tried JBossTransaction caching strategy without success..


Again, I apologize for the basic question. I've tried to look in google, but could not find the answer to my question.



Thank you very much for your kind helps!


Regards,


ALex.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 28, 2005 10:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Is Tomcat a JTA environment?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 1:46 am 
Newbie

Joined: Sat Sep 18, 2004 1:36 am
Posts: 12
Hello Gavin,

Now that you mentioned Tomcat, I remember that I read sometime ago, about the limited support in Tomcat.
And if my memory serves me correctly, it also says that Tomcat is unmanaged (maybe wrong term). So I presume it also means that it is not a JTA environment, and hence I can use read-write caching strategy?


Thanks a lot for the help!


Regards,


Alex.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 10:51 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Exactly. Tomcat is not an application server.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.