-->
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: entity beans vs or mapping tools advice
PostPosted: Thu Mar 04, 2004 9:56 am 
Beginner
Beginner

Joined: Thu Feb 26, 2004 11:32 am
Posts: 32
hi:
i am a newbie to OR mapping world and would appreciate some advice.
I wanted to know in which scenarios entity beans may be more appropriate than OR mapping tools and vice-versa.

thanks

splash


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 04, 2004 10:08 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
It's mostly a question of application design, i.e. if you want to use coarse-grained components instead of a fine-grained (interconnected) network of objects that implements both the state of entities and the related business logic (known as "domain model" using POJOs/JavaBeans).

Please note that "entity beans" is in fact just a name for another object/relational mapping technique, modern CMP engines are quite similar in features to (other) modern ORM tools. The difference is the view of the entities and their relationships in your application and the design approach you'd like to use for that part of your system.

Search for "domain model" and read up on some well known patterns for implementing this and decide if thats the way you want to implement your business logic in Java. If yes, some ORM software is a good choice for data management.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


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.