Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Generate java objects directly from ERwin

Posted on 2003-12-11
3
Medium Priority
?
337 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

688 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