-->
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: Recomendet tools to reverse-engineer existing DB schema ?
PostPosted: Mon Dec 11, 2006 1:24 pm 
Newbie

Joined: Mon Dec 11, 2006 10:28 am
Posts: 7
I am a newbee regarding Hibernate and I am looking for the best fitting tools for my development:

I use the following IDE and database:
- NetBeans 5.5 with Visual Web Pack
- SYBASE /iAnywhere Adaptive Server Anywhere 9

I write a web-app that accesses an existing database. I cannot change the db schema. This means I have to perform a reverse engineering to create Java Objects from the schema. The web-frontend will be based on JavaServer Faces.

The question is: What are the recommended tools to perform this reverse engineering? I like to omit to write manually tons of XML files for the ORM.

HibernateTools seem to work with Eclipse but not with NetBeans?

The other question is: Is it recommendable to write the persistence layer in a separate project and include it as library (jar file) into my NetBeans Web project? If so I could use HibernateTools and Eclipse for that.

What is the recommended way of implementing such a web-app? I would greatly appreciate your feedback and experiences made with your projects.
Many thanks.

Thomas


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 11, 2006 1:41 pm 
Expert
Expert

Joined: Tue Jul 11, 2006 10:21 am
Posts: 457
Location: Columbus, Ohio
1) Hibernate tools supports Ant to do reverse engineering and code generation. I use Eclipse and still use the Ant tasks as opposed to the plugins (that way I am not tied to an IDE).

2) In my ecperience, jar'ing up the persistence layer is a good way to learn about your classloaders. ;) But really, just keep the persistence layer in a sepearate package and you'll be fine.

3) For web-apps, look at http://www.hibernate.org/43.html , it makes things pretty simple without having to worry about collection initializations, lazy loading issues, etc.


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.