UML to java or c# tool? [closed]
Is there any tool that can convert UML into Java or C#?
For Java there are quite a few, where I think AndroMDA is among the more well known. In terms of powerfulness though, it seems OpenMDX takes the lead, seemingly providing more powerfulness than others in terms of persistance handling etc. On their webpage it is told that OpenMDX differs from typical MDA frameworks in that it "uses models to directly drive the runtime behavior of operational systems".
For C#, there is nothing coming even close to ECO (Enterprise Core Objects), by the team behind the UML/MDA part of Borland's Delphi Architect product (before Delphi was sold to CodeGear). From their product web page:
ECO will then generate the database schema, the code for the domain classes, and the information for mapping the classes to the database tables.
And better yet, when you change your model, ECO will merge the changes into your code, and update your database schema while preserving your precious data. A feature we refer to as i>Database Evolution
This hints about the powerfulness of it. The main consequence is that with these features you will be able to work with your problem solving at the UML-modelling level (since you can continuously update your codebase with a changed model even after you've added your custom code, without needing to update all the relational mapping etc, since it is taken care of automagically), which - with clever modelling - can reduce the amount of coding needed drastically.
Argo UML
http://argouml.tigris.org/
http://www.argouml-users.net/index.php?title=Modules
Can export to Java, C#, C++ and others. Open source.
Enterprise Architect if you want a non-open source tool.
http://www.sparxsystems.com/
For open source, have a look at StarUML. There are also several commercial tools available, e.g. Rational Rose.
In addition to others mentioned: Umbrello UML Modeller
精彩评论