How to generate Java from online UML models?

大兔子大兔子 提交于 2019-12-20 01:08:59

问题


I need to create UML class diagram online and to generate Java code from it.

Drawing tools such as cacoo don't allow to generate code as they are not real UML modelers.

Does anybody know an UML online tool that generates Java code?

Thanks for your help~~


回答1:


You should take a look at GenMyModel an UML online tool

GenMyModel allows you to create an UML class diagram online and generate Java code from it.




回答2:


There is one generator that allows you to produce Java source code from a UML model. This module uses the standard UML2 metamodel provided by Eclipse Foundation and as such is compatible with any UML tools using this standard like the UML Designer. It's based on the award winning code generation project, Acceleo.

You can refer this: http://marketplace.eclipse.org/content/uml-java-generator#.UeexrtJqkfA




回答3:


If you have the UML files(Class Diagram etc) you can import it into any of the UML diagram Tools(I prefer ArgoUML). Then you will have option to generate the code from the UML diagrams. The code is not just java but multiple languages. Rest if for you to explore!



来源:https://stackoverflow.com/questions/17719159/how-to-generate-java-from-online-uml-models

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!