-->
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.  [ 2 posts ] 
Author Message
 Post subject: Business logic in hibernate mapped file-your opinion welcome
PostPosted: Fri Apr 28, 2006 6:03 am 
Newbie

Joined: Tue Oct 19, 2004 4:05 am
Posts: 14
Location: ireland
hi,

I'm curious how you separate business logic from database. While hibernate maps tables to classes is it OK to put busness logic functions in these classes or perhaps the should be implemented by some kind of interface implemented in some ObjectDAO. On the other hand if business logic is implemented in hibernate mapped classes isn't it putting DAO funcionality into these objects (the class will have such objects as Session which is hibernate specific)? I'm a little bit confused in this issue (where is the line separating DAO from business logic) and welcome your opinion.


Top
 Profile  
 
 Post subject: my 2c
PostPosted: Fri Apr 28, 2006 12:55 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
You make your own decision:

http://www.theserverside.com/patterns/t ... d_id=31010
http://www.theserverside.com/news/threa ... d_id=34278
http://www.theserverside.com/news/threa ... d_id=38047

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


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