|
|
In The Brain of Neil Bartlett: OSGi: The Dynamic Module System for Java
OSGi: The Dynamic Module System for Java
Neill Bartlett gives a brief introduction to OSGi, the dynamic module system for
Java. OSGi has basically become the industry standard for modular Java
although it has yet to be fully integrated within Java. OSGi provides a
modular delegation system enabling loading of dependencies in an
efficient manner instead of scanning through all of the class loads.
OSGi dependencies also maintain versioning to ensure a compatible
version of a dependency is loaded, it also enables different versions of
the same library to be loaded at the same time.
After introducing OSGi, Neill Bartlett moves on to discuss component oriented
programming (COP) using OSGi and how this is an improvement on OOP.
Neill explains that OOP which aimed to enable code re-use didn't really
work out how it was planned, very few classes can be removed from an
application and then used within another application because of their
dependencies on other classes. One solution to re-use is to not try but
instead leave the class where it is and call it from there, basically SOA.
Neill Bartlett explains that OOP isn't really broken but it's just not the
complete answer, COP extends this to make it easier to write re-usable
code. COP is basically building on top of OOP but more capable of
running on their own and using the services of other components. This is
a great example of how OSGi can be used.
Neill Bartlett provides a demonstration of how this theory can be put into
practice using a mailboxes demo. How the component can be dynamically
updates as more components are services become available. He also
demonstrates how easy it is to get things running with OSGi and add and
remove packages.
Download the slides here
ABOUT NEIL BARTLETT
|
Neil is a developer, consultant and trainer
specialising in OSGi and Eclipse, and he is currently working for Sun
Microsystems on enhancing the tooling for JavaFX in Eclipse.
More about Neil Bartlett
|
|
PODCAST OSGI: THE DYNAMIC MODULE SYSTEM FOR JAVA
|
SOFTWARE ARCHITECTURE COURSES
|
SOFTWARE ARCHITECTURE PODCASTS
|
OTHER SOFTWARE ARCHITECTURE EVENTS
|
Uncle Bob's Advanced Test Driven Development in NY
3 DAY COURSE. Featuring Uncle Bob (Robert C. Martin) New York, Tuesday, May 29th
|
|
Eric Evans' DDD Immersion Workshop
4 DAY COURSE. Featuring Alberto Brandolini London, Monday, June 11th
|
|
DDD eXchange 2012
CONFERENCE (1 DAY)
London, Friday, June 15th
BOOK NOW!
|
|
Simon Brown's Enterprise Software Developer
3 DAY COURSE. Featuring Simon Brown London, Monday, June 18th
|
|
QCon New York 2012
CONFERENCE (3 DAYS)
New York, Monday, June 18th
BOOK NOW!
|
|
Craig Larman's Object Design w Patterns
4 DAY COURSE. Featuring Francis Sanger London, Tuesday, June 19th
|
|
David Laribee's Leading Lean/Agile Teams
2 DAY COURSE. Featuring David Laribee New York, Thursday, June 21st
|
|
Find Your Ninja Project
FREE EVENT:
Cool Projects in June
London, Monday, June 25th
|
|
|
|