-->
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: Data Service Architecture Question
PostPosted: Tue Mar 01, 2005 7:55 pm 
Newbie

Joined: Tue Mar 01, 2005 7:40 pm
Posts: 4
Hibernate version: Not chosen yet.
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:SQL Server.
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:

Hi - this is a newbie architectural question I hope someone has some input for... We have an environment with many web applications (using beehive pageflows/struts) running in Weblogic. They use a lot of reference data and I'd like to cache it in one place on the server rather than in many places for every application. I figure I need some sort of a central (yet local) data service layer, like local stateless session beans or something similar. However, I'm leary of introducing EJB's just for this. Is there another alternative?

I have briefly looked at the spring framework but it's not clear to me how to share the data among many apps on the same server.

Thanks in advance!


Top
 Profile  
 
 Post subject: Server level session?
PostPosted: Tue Mar 01, 2005 8:20 pm 
Newbie

Joined: Tue Mar 01, 2005 7:40 pm
Posts: 4
I've read about application level sessions that seem to be in the right direction. Is there such a thing as a "server level session"?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 10:22 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
There is "such a thing" as the Hibernate second-level cache


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 2:24 pm 
Newbie

Joined: Tue Mar 01, 2005 7:40 pm
Posts: 4
steve wrote:
There is "such a thing" as the Hibernate second-level cache


Thanks for the reply Steve. 2nd level cache looks interesting. Would it be affected by the fact that each web application uses its own classloader even though they are running in the same jvm?


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.