aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Tool for UML & code generation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Tool for UML & code generation" Watch "Tool for UML & code generation" New topic
Author

Tool for UML & code generation

Bhavik Patel
Ranch Hand

Joined: Jul 12, 2004
Posts: 155
can anyone tell me which is good & standard modelling tool that i can use for working with UML diagrams and also for generating Java code from generated class diagrams & other designed diagrams.


SCJP 1.4<br />SCWCD 1.4(91%)<br />Working on SCJD -Bodgitt & Scrapper Constructions...<br /> <br />"It takes 43 muscles to frown & 17 to smile but it doen't take any to just sit there with a dumb look on your face .. Keep Smiling "
Justin Yao
Greenhorn

Joined: Jun 16, 2006
Posts: 19
I don't think there is strictly standard UML tools.
But I strongly recommend StarUML, it is free and supports UML2.0
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Bhavik Patel:
working with UML diagrams and also for generating Java code from generated class diagrams & other designed diagrams.


There are many tools that claim to do this, some worse some better, but ultimately they might as well be searching for the Holy Grail. For the level of detail that you have to provide, you might as well be programming � and the resulting code quality is questionable. Often circumstances crop up where you have to change the generated code because you can't "convince" the tool to "do-it-the-right-way"; those code changes have to be reapplied each time you generate the code.

Finding the "perfect tool" is the least of the problems facing an organization trying to harness such a tool. The issues are quite similar to those described in the following article:
Are you ready for MDA?
The model-to-code generation approach has an irresistible allure but its pursuit is generally misguided (there may be some exceptions).

On the other hand code generation can be an important and valuable tool for some specialized domains with a fairly narrow scope.
[ July 12, 2006: Message edited by: Peer Reynders ]
Masoud Kalali
Author
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

you may take a look at netbeans and its enterprise pack.
It is complete UML modeler tool + a bpel and wsdl designer.
EP can do code generation and round trip engineering , it is pretty good and free of charge.
take a look at : http://www.netbeans.org you may find Enterprise pack link in the top section of page.


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tool for UML & code generation