jQuery in Action, 3rd edition
The moose likes OO, Patterns, UML and Refactoring and the fly likes Learning UML 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 "Learning UML " Watch "Learning UML " New topic

Learning UML

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
I have good coding experience in Java, JEE .But I do not have experience in UML diagram such as creating UML diagrams and converting into Java code.

In my current company,I am not given a opportunity to work in UML diagrams

Expert ,please help explain ,how I can get experience in UML ?
Is there any good books for UML?
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 430

"UML Distilled" by Martin Fowler gives a nice brief overview over UML.
Ran Pleasant
Ranch Hand

Joined: Jan 16, 2003
Posts: 76
jacob deiter wrote:In my current company,I am not given a opportunity to work in UML diagrams

Expert ,please help explain, how I can get experience in UML ?


Learning the UML is the easy part, just get the book Joachim listed and read it about ten times. The experience takes more time and effort. Start by working on the experience by creating UML diagrams for yourself either at work or at home, even if this is on paper or a white board. The diagrams don't have to include the world in them, just do simple designs with enough so that you know where you are going as you code. Start with simple class diagrams and sequence diagrams (few do more than that anyway). Over time start using the UML as the language in which you talk to your co-works (think of it as a passive shove). If your manager wants to know what you did then draw him a UML picture.

I do understand your situation. I have used UML since 1996 when I trained in OOAD with Craig Larman. However, I too am currently in a company that makes almost no use of the UML and have almost no interest in learning it. However, over time I have forced them to learn the most basic UML because that is the only thing I draw on the white board.

Vlad Varnica
Ranch Hand

Joined: Dec 28, 2002
Posts: 40
You don't really need to read books because UML 2 changed a lot and books are getting rusty
btw, Mr Larman is one of the only writer that I would recommend

You can reverse you java project into a class diagram and have a look. I have found a tutorial on this reverse engineering subject at: http://www.forum-omondo.com/documentation_eclipseuml_2008/reverse/reverse/reverse_engineering_example.html

You have certainly other tutorials available but this is one is easy for me because I am using Eclipse for many years.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 430

Yes, books are getting rusty. But UML 2.0 was released 5 years ago. And even though I haven't followed the development of UML extensively, I have my doubts that the basics from version 2.0 to 2.2 have changed so dramatically that you cannot use a book for UML 2.0 to get started.

And for someone who never dealt with UML before your provided tutorial is not at all sufficient and the advice that "you don't really need to read books" is in my opinion misleading.
Edwin Keeton
Ranch Hand

Joined: Jul 10, 2002
Posts: 214

A good book that shows how to get to code from requirements, through analysis and design, is Use Case Drive Object Modeling with UML by Doug Rosenberg and Matt Stephens. I highly recommend it.

AbderRahman Ali

Joined: Mar 29, 2010
Posts: 4
Maybe you can take a look at those two books:

1- Learning UML 2.0, Russ Miles & Kim Hamilton
2- Applying UML and Patterns, Craig Larman

[jc: corrected name of Mr. Larman]

Share What You Know...
I agree. Here's the link: http://aspose.com/file-tools
subject: Learning UML
It's not a secret anymore!