-->
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.  [ 3 posts ] 
Author Message
 Post subject: Best practices using Jboss, Hibernate, JbossCache, DAO
PostPosted: Wed Jan 26, 2005 2:57 pm 
Newbie

Joined: Wed Jan 26, 2005 1:28 pm
Posts: 5
Hello all,

I have a Struts application a set of session beans (facades) that wrap DAO code implemented using JDBC. I would like to convert the app to use Hibernate and JbossCache.

What are the best practices on implementing these to work together? I'd love to hear is a verbal flow diagram (i.e. Struts action invokes the create method on the session bean which triggets hibernate to persist the object, cache it internally/using JbossCache...). I am a newbie when it comes to either Hibernate or JbossCacge and it would be nice to get an idea of the flow that describes where each of the technologies comes into play.

Thanks a lot
James


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 4:33 pm 
Newbie

Joined: Thu Jan 20, 2005 3:02 pm
Posts: 13
Hello,

You should strongly invest in the Hibernate in Action book by Gavin King. It has an example of how you do this in his book. (Check out chapter 8).

Best of luck,

Ryan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 5:00 pm 
Newbie

Joined: Wed Jan 26, 2005 1:28 pm
Posts: 5
Ryan,

Thanks for teh advice. I'll check the book out

Best,
James


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.