Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Generate java objects directly from ERwin

Posted on 2003-12-11
3
Medium Priority
?
346 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
1 Comment
 
LVL 7

Accepted Solution

by:
grim_toaster earned 200 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

876 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