-->
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.  [ 1 post ] 
Author Message
 Post subject: Using Hibernate with Entity Beans
PostPosted: Mon Jan 08, 2007 1:45 am 
Newbie

Joined: Fri Dec 29, 2006 9:59 am
Posts: 1
Location: Bangalore
Hi,

We are representing the domain objects as entity beans (BMP) and using Hibernate3 as the persistence mechanism. :-)

The entity bean 'Deletegates' to a business object which then uses hibernate persistent objects.

e.g.
ABCPeristent.java {has all fields to be persisted}

ABCBean.java
{the enity bean with create, finder, etc}

ABCBO.java {the delegate which has all hibernate code for CRUD on ABCPersistent using a DAO}

Is this a good design ? I did not want to use entity beans here, but sort of do not have any opttion but to use it.

I have done lot of search and have not found any one using this kind of design. I have faced some issues with this design but have been able to get it to a more or less stable place now.

Would appreciate any response/comments/guidelines on this.

Regards


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

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.