My Stuff

2010 Conferences

OSGi DevCon @ JAX London

February 23 - Keynote titled OSGi in the Enterprise: Agility, Modularity, and Architecture’s Paradox

EclipseCon

March 22 - 25 - Tutorial on Modular Architecture

Tweets @ Twitter

Cost of U.S. Census http://bit.ly/9AsimE Let me help. Select COUNT(distinct id) from the_people; I'll take my 14 billion now! 2 hrs ago

Apple's site is alive #iPad available for pre-order. 4 hrs ago

Interesting when developers brag they've been involved in "40 projects past 10 yrs." Uncool! Didn't stick around to learn from mistakes? 4 hrs ago

Hmmm...Apple's website says they'll be back soon. Must be updating to enable purchasing the #iPad. 5 hrs ago

Can someone explain this to me? We save our banks, but not our schools! http://bit.ly/bmYNti Why? <- Possibly I am missing something. 1 day ago

LinkedIn Profile

The opinions expressed on this site are my own, and not necessarily those of my employer.

JarAnalyzer on Spring OSGi

Filed Under Architecture & Design, Java, Metrics, OSGi, Platforms |  

I took the liberty of running JarAnalyzer on the OSGi bundles deployed as part of Spring 2.5.6. These are the JAR files found in the /dist/modules directory. Click the image at right to reveal the relationships between JAR files.

It’s interesting to see the dependency relationships and layering of the framework. Note that there are no cycles. I have always felt a significant advantage of Spring is the way development teams can incrementally adopt the framework. Start using core for basic dependency injection and move up the stack to JDBC and declarative transactions, ORM integration, and integration with your favorite web framework. It’s the flexible architecture of Spring that allows this. I’m guessing that when the Spring team went about modularizing the framework around OSGi, the architectural flexibility already embodied in previous versions of Spring made their job easier.

For those of you who want the more detailed information, you can view the JarAnalyzer html report for Spring 2.5.6 showing a variety of metrics related to design quality.

Comments

Leave a Reply