More or less, all UML modeling tools provide code generation based on your UML model.
Your question is not easy to answer, since I don't know are you looking for a free tool, what's your experience with UML modeling, and what do you expect to get. It's almost as you asked - which IDE to use.
Anyway, I use PowerDesigner myself, and it's excellent. It provides the code generation based on UML model (e.g. class diagram) for a variaty of languages, not just Java. I also checked Enterprise Architect once or twice, so I think it also provides the functionality you need. Perhaps some of the Ranchers will have other tools in mind.
The quieter you are, the more you are able to hear.
Joined: Dec 14, 2011
I am learning Java at the moment. I would prefer to use a professional tool if it is significantly better than those that are free - hence my question - you see I wanted to determine what peoples experiences were like with different tools.
Following on from that I wanted to take a course in UML if you have any advices on appropriate courses I'd be thankful.
Thanks for your advices and I appreciate you comments.
Jesper de Jong wrote:"Professional" and "free" are not mutually exclusive. The most popular Java IDEs, Eclipse and NetBeans, are both free and used by the majority of professional Java developers.
I caught myself writing the same thing, so I edited it quickly since I also share that oppinion.
Anyway, there are some good plugins for the IDEs (I tried one for NetBeans once), which are both free and good enough for the purpose. Just don't forget what your primary goal is - to learn Java. Learning to use professional (both free and commercial) development tools can result in a very steep learning curve, so you might step away from your primary goal.
subject: UML Modeling Tools for Java Code Conversion