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

RT I'm looking for good practitioner case study on BPM, speaking opportunity for right case. Takers? Suggestions? #bpm /via @bmichelson 9 hrs ago

"AT&T ... recently notified Sling Media - as well as Apple – that the optimized app can run on its 3G network" <- http://bit.ly/byqkeM #win 3 days ago

Don't get too happy using iPhone location based service primarily for ads...Apple isn't going to let you. http://bit.ly/bFFW9y 3 days ago

RT #lambdalounge will host a great talk by @mstine on Polyglot OSGi tomorrow Thursday Feb. 4th! http://tr.im/LXMz /via @puredanger 5 days ago

The XO-3 concept. If you liked the iPad, you'll dig this. If you didn't like the iPad, you'll dig this! http://bit.ly/4SyeYL 1 week 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