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: How to shape assemblies
PostPosted: Wed Feb 27, 2008 10:50 am 
Beginner
Beginner

Joined: Tue Jan 22, 2008 11:33 am
Posts: 46
Hi, just a question concerning the software architecture. I don't know how to split up smartly the file types in different assemblies .

I have four types of files.
- mapping files (*hbm.xml)
- entity classes, which represent my tables
- Data Access Classes, which work with my entity classes - its a abstraction layer between entity and business classes, so I do not smutch neither one of them
- Business Classes, which use the Data from the Access Classes within the Business Logic defintion

mapping and entity files are generated. If something changes in the data model I do not have to transfer addition coding from my former entity classes, but I just replace the old ones with the new ones. Manual code changes will be only made in the access class.

Which file types would you combine in one assembly?

Thanks in advance

antoschka


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.