Feeds

Penguin-powered UML modeling

Vista relief is here

5 things you didn’t know about cloud backup

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.

Of course, Eclipse has its usual galaxy of plug-ins that are not to be sniffed at.

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.

Build a business case: developing custom apps

More from The Register

next story
The Return of BSOD: Does ANYONE trust Microsoft patches?
Sysadmins, you're either fighting fires or seen as incompetents now
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
China hopes home-grown OS will oust Microsoft
Doesn't much like Apple or Google, either
Sin COS to tan Windows? Chinese operating system to debut in autumn – report
Development alliance working on desktop, mobe software
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Why has the web gone to hell? Market chaos and HUMAN NATURE
Tim Berners-Lee isn't happy, but we should be
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
Linux kernel devs made to finger their dongles before contributing code
Two-factor auth enabled for Kernel.org repositories
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Scale data protection with your virtual environment
To scale at the rate of virtualization growth, data protection solutions need to adopt new capabilities and simplify current features.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?