Solved

Generate java objects directly from ERwin

Posted on 2003-12-11
3
279 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

760 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

23 Experts available now in Live!

Get 1:1 Help Now