-->
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: Need suggestions for code generation
PostPosted: Thu Aug 28, 2008 4:06 am 
Newbie

Joined: Wed Jun 27, 2007 1:10 am
Posts: 12
I'm not sure about you guys, but I frequently find myself in the middle of maintaining a huge list of artifacts during a web application development. These artifacts include database tables, hibernate objects, hibernate mapping files and DAOs. More often than not, I have to change a chain of artifacts when some aspect of the application design gets changed.

I know hibernate has some Eclipse code generation plugin that leverages some of the manual work of maintaining the code. However, what I'm really looking for is a workflow that is schema-centered. In other words, the only thing I need to maintain should be a full schema of the domain objects (and maybe some configuration files for mapping, database, etc). Then, based on the schema, the *tool* will help me:

    generate sql for creating the database tables
    generate persistence layer artifacts (hibernate objects, mapping files, DAOs, etc)
    generate artifacts to marshall/unmarshall between xml and hibernate objects


This way, any change introduced to the abstract design (the schema) would propagate across the entire application architecture, from database to persistence layer to DAO layer to presentation layer.

Is there such a workflow out there? Or am I asking too much?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 28, 2008 4:34 pm 
Newbie

Joined: Sat Aug 02, 2008 12:09 pm
Posts: 12
Take a look at Grails


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 29, 2008 3:28 am 
Newbie

Joined: Wed Jun 27, 2007 1:10 am
Posts: 12
goran wrote:
Take a look at Grails


Thanks a lot for the suggestion. I guess I'll start learning some new stuff.


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.