| By Lahlali Issam | Article Rating: |
|
| November 26, 2011 11:00 AM EST | Reads: |
3,550 |
JRE 6 was released in 2006, five years after a major JRE version was released. For the past few years Java was looking stagnant, and many Java developers began to worry; this concern was amplified when Oracle purchased Sun.
We will try to discover if there's a big refactoring or maybe many features were added that can explain the time span between these two releases. In this first part we will focus on design and implementation changes, and the second part will focus on added features and breaking changes.
With JavaDepend we can compare two versions and detect any modifications concerning architecture, design or implementation. We can provide a summary of the changes using the following views.
Info View
JRE 7 has improved almost 10% compared to JRE 6. We noticed that the metrics ProjectCa and ProjectCe were decreased. When proofed with JRE7 there was less coupling between projects, and it's an indicator that a refactoring was made for this new release.
Class Browser
What’s interesting with this view is that we can easily discover what’s added (in bold), removed (crossed) and changed (underlined).
Dependency Structure Matrix
The Dependency Structure Matrix is a compact way to represent and navigate across dependencies between components. For most engineers, talking of dependencies means talking about the dependency graph. But the matrix can have the following advantages:
- Graph is more intuitive but can be totally confusing when the numbers of nodes and edges grow (a few dozens boxes can be enough to produce a graph that's too complex)
- DSM is less intuitive but can be a very efficient way to represent a large and complex graph. We say that DSM scales compare to graph.
After a comparison we can see what has changed - the sign (+) shows that a dependency is added, and the sign (-) indicates that a dependency was removed.
Published November 26, 2011 Reads 3,550
Copyright © 2011 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Lahlali Issam
Lahlali Issam Lead Developer at JavaDepend, a tool to manage and understand complex Java code. With JavaDepend, software quality can be measured using Code Metrics, visualized using Graphs and Treemaps, and queried using CQL language, a SQL like to query the code base.
- Book Review: The CERT Oracle Secure Coding Standard for Java
- Government Big Data Solutions Award Nominee: Wayne Wheeles (Sherpa Surfing)
- Load testing the post office
- Learn Open Source Database Tools from Stanford for Free
- FORTUNE Magazine Names Rackspace Among “100 Best Companies to Work For”
- Acquia Announces Two New Board Members
- Research and Markets: WordPress 24-Hour Trainer, 2nd Edition
- Google teleports Android astronomy to Carnegie Mellon
- WSO2 Brings Technical Workshops on Enterprise Governance for On-Premise and the Cloud to London, Stockholm, Paris and Frankfurt
- Joyent Cloud Partners With NodeFly to Deliver First Node.js Application Monitoring Tool in the Cloud
- Matrox lizenziert den eigenen Treiber-Quellcode von M-Series-Lösungen
- yaSSL Marks Growth of Embedded SSL in Findings from 2011 Annual Report
- Five Years Waiting for JRE 7: Is It Justified? (Part 1)
- Book Review: The CERT Oracle Secure Coding Standard for Java
- Group FMG Opens State-of-the-Art Global Operations and Technology Center of Excellence (COE) in Chennai, India
- Axis12 Limited Announces Partnership Agreement with Volacci, the Leading Drupal SEO and Internet Marketing Specialists
- MontaVista and Black Duck Announce Partnership to Provide Open Source Code Management Solutions to the Automotive Market
- soapUI Wins Best Open Source Web Services Test Tool - ATI Honors
- China suppliers of mobile phones expand range with more smartphone and 3G models
- Government Big Data Solutions Award Nominee: Wayne Wheeles (Sherpa Surfing)
- Load testing the post office
- Learn Open Source Database Tools from Stanford for Free
- FORTUNE Magazine Names Rackspace Among “100 Best Companies to Work For”
- Acquia Announces Two New Board Members
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- Creating Web Applications with the Eclipse Web Tools Project
- Eclipse Special: Remote Debugging Tomcat & JBoss Apps with Eclipse
- The Next Programming Models, RIAs and Composite Applications
- Where Are RIA Technologies Headed in 2008?
- SYS-CON Webcast: Eclipse IDE for Students, Useful Eclipse Tips & Tricks
- How to Bring Eclipse 3.1, J2SE 5.0, and Tomcat 5.0 Together
- Eclipse: The Story of Web Tools Platform 0.7
- "Eclipse 3.0 is a Great Leap Forward," Says JDJ's Dudney
- Developing an Eclipse BIRT Report Item Extension
- The Top 250 Players in the Cloud Computing Ecosystem

















