Solved

Generate java objects directly from ERwin

Posted on 2003-12-11
3
291 Views
Last Modified: 2012-05-04
Hi everybody,

My cuestion is that. I have my db diagrams in .er1 format (ERwin) and I need some sw that generate my java objects directly.

Do you know some one?

Thanks

JL
0
Comment
Question by:jlmz
3 Comments
 
LVL 7

Accepted Solution

by:
grim_toaster earned 50 total points
ID: 9926736
What's sw?  I don't know how to generate java objects directly from the ERwin format, but...

Depending on the sort of java objects you want to construct, I would very much recommend looking into MiddleGen (http://boss.bekk.no/boss/middlegen/) which can be used to generate:
-EJB (CMP 2.0)
-JDO
-JSP/Struts

The only other ways I know of is that you can build your java objects based upon the meta-data of the database (which is probably what MiddleGen works from), you can use the meta data to construct values for Velocity templates (and other meta-programming tools), or simply construct each java file as plain text based upon the results.  This is a lot easier if there is a standard naming convention used across the whole of the database and java application.  But if possible, go for middlegen.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now