Penguin-powered UML modeling
Vista relief is here
With speculation building that Microsoft will bring Windows 7 forward by a year, ostensibly to staunch the loss of the Vista weary and Vistaphobes to alternative operating systems, now is a good time to look at the state of development tools for Linux.
Software developers have got it surprisingly good - unlike, say, creative types who pretty much shy away from Linux on the desktop because of the unavailability (for the foreseeable future) of popular applications such as Adobe Creative Suite in a native version.
Given the increasing cross-platform availability of integrated development environments (IDEs), though, it seems feasible the entire development cycle could now take place under Linux. And that includes modeling. The range of UML editors under Linux is now every bit as broad and bewildering as under Windows. No more creating ASCII art use case bubbles in Emacs.
These tools have divided broadly into two categories: the cheap 'n'cheerful diagrammers useful for quickly creating a one-off diagram, and the enterprise leviathans that all appear to have pretty much the same feature-set: full UML 2.1 support, round-trip engineering, export/import XMI, generate reports, and integration with Eclipse plus at least one other IDE.
The prize for the greatest number of IDE plug-ins for one tool goes to Visual Paradigm, a suite that also happens to be about as "enterprise" as it gets.
Umbrello definitely fits into the cheap 'n' cheerful category. It's a nice, clean and simple UML editor that supports nine diagram types, including the non-UML Entity Relationship diagram. Its sequence diagram support is okay-ish, although it didn't lend itself especially well to the main benefit of sequence diagrams, which is allocation of behavior to classes.
Normally, if you draw a message between two objects, you would expect a method to be added to the appropriate class over on the class diagram. With Umbrello, you can sort of make this happen, but it's fiddly: you have to fight the user interface. Umbrello has plenty of good features, though, so is still worth considering. It's the Paint Shop Pro 7 of UML tools: good for doing quick edits and one-off diagrams, but you wouldn't want to maintain your multi-team enterprise architecture using it.
In the same vein as Umbrello is UMLet, a Java-based modeling tool from the Technical University of Vienna. UMLet has a refreshing focus on speediness of use. Also in the cheap 'n' cheerful UML toolettes category is Violet, from author Cay Horstmann, and Gaphor, which offers UML 2.0 compliance and export of class models to XMI when you realise it's time to migrate to something bigger. I did notice they don't offer XMI import, which makes me wonder whether they don't anticipate demand to migrate their way.
Gnome users who want to recreate the pain of creating diagrams in Visio and then hitting a brick wall when they find they want the editor to respect UML semantics, should try the Visio-inspired Dia.
Linux users who don't mind paying for their software should try the die-hard Poseidon, which branched long ago from the open-source ArgoUML. And while you're there, don't overlook their modeling extension for Eclipse, Apollo 3.0, which provides round-trip engineering for Java 5 and UML 2.1. Or alternatively, take a look at another commercial modeler, MagicDraw from No Magic, a well-featured UML tool with team support.
Finally, NetBeans' UML plug-in shows much promise and a dawning focus on usability. However, it still has a long way to go. Just trying to add a labeled message between two objects on a sequence diagram (in such a way that it assigns the operation to the class) involved no less than six mouse clicks and seven swear words. Surprisingly, there's currently little integration between the UML editor and the code editor. I'd have expected to be able to right-click on a class and have virtually the same pop-up menu appear as in the Java editor.
While the greatest (in my opinion) UML modeling tools this side of the Pleiades cluster is not realistically available for Linux just yet, software developers have plenty of viable options. Admittedly, nearly all of them are also available for Windows, and some for OSX. But at least those tools are making it over, unlike some of the applications serving other markets. And who can complain about that?®
Matt Stephens has co-authored Use Case Driven Object Modeling with UML: Theory and Practice, which illustrates how to step nimbly from use cases to code and functional/unit tests while avoiding the dreaded analysis paralysis.