advertisement
javaboutique
Search Tips
Articles  |   Tutorials  |   Reviews  |   Tools  |   by Category  |   by Date  |   by Name  |   Submit  |   Source  |   Forums  |  
javaboutique
Browse DevX


Partners & Affiliates











advertisement

Java Boutique : Reviews : Software Reviews : Super Modeling With Together Control Center :

Super Modeling With Together Control Center

by: Chris Bedford

TogetherSoft's Control Center 6.0 is a software development environment that enables Java professionals to seamlessly integrate UML modeling into their design and coding workflow. Any developer who needs to occasionally dive in and understand existing systems should consider using a modeling tool.

Control Center is the best product I’ve seen in this category. It’s also huge, encompassing support for UML diagrams, refactoring, GUI development, Web services, audits, metrics, and a slew of other things that are best read about on the company's Web site (www.togethersoft.com.) Rather than attempting to cover everything in the product, I am going to look at it from the standpoint of how it helps me perform one critical task: mapping out and evaluating an existing complex code base.

Dealing With An Unfamiliar Existing Code Base

Has a panicked manager ever asked you to fix a customer-critical bug in an unfamiliar system, while insisting on lurking nearby to "help”? Whenever this happens to me I turn to tools like Control Center to quickly find my bearings. Together's New Project Expert allows me to easily import and reverse engineer large code bases into class diagrams that serve to give me an overview of a new system. For this review I downloaded Castor (an open source Java persistence framework of about 100,000 lines) and was able to import the whole thing in under 20 seconds on a 600 MHz Pentium III box with 384MB of RAM. (See Figure 1.)

together00.gif
(enlarge)
Figure 1 -- Importing Files with the New Project Expert

Once your files are imported the first thing that you'll see is a top-level package diagram (Figure 2). You can click on any sub-package to get a detailed view of the contents. It works very well. The only problem that I experienced was with getting inner classes to appear. Navigating to a new Castor package took about 5 to 10 seconds the first time through on my box. Subsequent navigations were a little faster. To test Control Center’s memory requirements I loaded diagrams for each of the 11 sub packages under org.exolab.castor. These were all moderately complex, each containing an average of about 20 model elements (classes, packages, interfaces.) Immediately after launching Control Center the Windows Task Manager told me I was using 174MB of memory. After loading all 11 diagrams, I was using 282MB.

together01.gif
(enlarge)

Figure 2 – The Initial Package Diagram Visible Right After Import

The top portion of Figure 3 illustrates Together's Designer View. This view contains one of the class diagrams that you might see after drilling down a couple of levels into Castor's sub-packages. The diagram provides you with an overview of the static relationships between classes in the package (inheritance, containment, etc.) The bottom portion of the figure shows the Java Editor view. If you click on any class in the Designer View the corresponding code for that class will appear in the Editor View.

together02T.gif
(enlarge)
Figure 3 – The Designer View After Drilling Down into a Package

You might find the diagram in Figure 3 a bit busy due to all of the blue dashed line arrows pointing everywhere. These lines indicate that a class or interface has some kind of dependency on some other model element. For example, the dashed line from Query to PeristenceException is there because some methods of Query throw PeristenceExceptions.

In general, a dependency arrow will be drawn from a depending element to a depended-upon element any time that depending references depended-upon via a local parameter, formal parameter, throws clause, or member variable. If you find that dependency arrows overwhelm your diagram you can turn them off. Figure 4 presents a simpler diagram in which only inheritance and containment (via class member variables) relationships are shown.

together03.gif
(enlarge)
Figure 4 – A Class Diagram With Dependency Lines Not Shown


Chris has over 16 years of software development and management experience and was a key contributor on the engineering teams that won the 1992 Sun World Prize and Unix Review's Product of the Year Award for 1997. Chris obtained his BS in computer science from Yale University and is a Sun Certified Java Programmer, as well as an IBM Certified XML Developer and OO Analyst/UML Designer.

Last Modified October 14, 2002

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.

 Intel Go Parallel Portal
 Internet.com eBook Library
 IBM Software Construction Toolbox
 Microsoft RIA Development Center
 Destination .NET
XML error: not well-formed (invalid token) at line 43
advertisement
Receive Articles via our XML/RSS feed
Receive Articles via our XML/RSS feed

JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for Windows 95, 98, ME, NT, 2000 and XP. It's designed to automatically optimize your Windows settings, boosting your Internet connection up to 200%.

Remember Figlets? They're Back With Zend
Microsoft Readies an App Store Competitor?
Google: Chrome Browser Will Make Money
Sam Ramji: Microsoft's Man in Open Source
Google to Shake Up Browsers With Own Launch
Mozilla's Ubquity Mashup: For The Masses?
iPhone Users Just Want to Have Fun
Oops! I Fixed the Linux Kernel
Jim Zemlin: The New Center of Linux Gravity
Microsoft's Novell Investment Tops $340M

Writing Functional Code with RDFa
BitLocker Brings Encryption to Windows Server 2008
Network Know-How: Exploring Network Algorithms
Create a Durable and Reliable WCF Service with MSMQ 4.0
The Baker's Dozen: 13 Tips for SQL Server 2008 and SSRS 2008
Book Excerpt: Microsoft Expression Blend Unleashed
Develop a Mobile RSS Feed the Easy Way
State of the Semantic Web: Know Where to Look
A 3D Exploration of the HTML Canvas Element
Setting Up and Running Subversion and Tortoise SVN with Visual Studio and .NET

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Intel PDF: Virtualization Delivers Data Center Efficiency
Intel eBook: Managing the Evolving Data Center
Microsoft Article: BitLocker Brings Encryption to Windows Server 2008
Symantec eBook: The Guide to E-Mail Archiving and Management
Microsoft Article: RODCs Transform Branch Office Security
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
Avaya Article: Advancing the State of the Art in Customer Service
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Avaya Article: Avaya AE Services Provide Rapid Telephony Integration with Facebook
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Seminar: Efficiencies in Hardware/Software Virtualization
HP Webcast: Disaster Recovery Planning
Go Parallel Video: Performance and Threading Tools for Game Developers
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
IBM TCO eKIT: Your IT Budget is Under Attack, Get in Control
IBM Energy Efficiency eKIT: Learn How to Reduce Costs
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Microsoft Article: Silverlight Streaming--Free Video Hosting for All
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
HP Demo: StorageWorks EVA4400
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES