Solved

Generate java objects directly from ERwin

Posted on 2003-12-11
3
311 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
session migration servlets 2 42
how to add new optional parameter to JSP 1 49
servlet example issue 6 46
type mismatch (Object[] to double[] 4 33
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

837 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