HOME SCALA & F# JAVA .NET WEB GROOVY & GRAILS ANDROID & IOS NOSQL ARCHITECTURE AGILE & SCRUM AGILE DEVELOPER  
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
CLOUD PODCASTS
Peter Ledbrook:A cloud for developers: Cloud Foundry, A cloud for developers: Cloud Foundry
Peter Ledbrook : 8th Dec 2011
View Podcast: A cloud for developers: Cloud Foundry,
Chris O Davies:Introduction to User Group and Heroku, Heroku platform
Chris O Davies : 5th Dec 2011
View Podcast: Introduction to User Group and Heroku,
Nicola Tassini:Deploying Java Apps to Heroku, Deploying Java Apps to Heroku
Nicola Tassini : 5th Dec 2011
View Podcast: Deploying Java Apps to Heroku,
John Beynon:The Why, What and How of Heroku, The Why, What and How of Heroku
John Beynon : 5th Dec 2011
View Podcast: The Why, What and How of Heroku,
Dave Gardner:Real Life Cassandra, Cassandra
Dave Gardner : 2nd Nov 2011
View Podcast: Real Life Cassandra,
 :Amjad Khan on Force.com ERD using SchemaSpy, SchemaSpy
: 20th Oct 2011
View Podcast: Amjad Khan on Force.com ERD using SchemaSpy,
 :Simon Goodyear on Making better use of interfaces on the Force.com platform, Interfaces on the Force.com platform
: 20th Oct 2011
View Podcast: Simon Goodyear on Making better use of interfaces on the Force.com platform,
 :Testing on the Force.com Platform, Testing on Force.com
: 20th Oct 2011
View Podcast: Testing on the Force.com Platform,
 :Effective B2C management, B2C management
: 20th Oct 2011
View Podcast: Effective B2C management,
Bruce Durling:Turning Your Org into a Fully Operational Battle Station using ruby and selenium, Fully Operational Battle Station
Bruce Durling : 20th Oct 2011
View Podcast: Turning Your Org into a Fully Operational Battle Station using ruby and selenium,
Simon Waterer:Introduction to Platform MapReduce, Introduction to Platform MapReduce
Simon Waterer : 12th Oct 2011
View Podcast: Introduction to Platform MapReduce,
Nick Telford:Cassandra vs HBase, Cassandra vs HBase
Nick Telford : 5th Sep 2011
View Podcast: Cassandra vs HBase,
Richard Low:Cassandra failure modes, Failure modes
Richard Low : 5th Sep 2011
View Podcast: Cassandra failure modes,
Wes Nolte:Team Development Strategies and Tools on the Force.com Platform, Team Development Strategies
Wes Nolte : 2nd Aug 2011
View Podcast: Team Development Strategies and Tools on the Force.com Platform,
Various Speakers:Janice Fraser on UX for Hackers, UX for Hackers
Various Speakers : 28th Jul 2011
View Podcast: Janice Fraser on UX for Hackers,
OTHER CLOUD EVENTS
Robert Schneider:Robert Schneider's Mission Critical Service Testing Using soapUI Pro,  Robert Schneider's Service Testing w soapUI Pro
2 DAY COURSE. Featuring Robert Schneider
London, Monday, March 19th
Peter Lubbers:Peter Lubbers' HTML5 “Fast Track” - IN LONDON,  Peter Lubbers' HTML5 “Fast Track”
2 DAY COURSE. Featuring Peter Lubbers
London, Tuesday, March 20th
James  Gellately-Smith Accessory Shop in the Cloud,  Accessory Shop in the Cloud
FREE EVENT: In The Brain of James Gellately-Smith
London, Thursday, May 17th
Peter Lubbers:Peter Lubbers' HTML5 “Fast Track” - IN LONDON,  Peter Lubbers' HTML5 “Fast Track”
2 DAY COURSE. Featuring Peter Lubbers
London, Monday, May 21st
Peter Lubbers:Peter Lubbers' HTML5 “Fast Track” - IN LONDON,  Peter Lubbers' HTML5 “Fast Track”
2 DAY COURSE. Featuring Peter Lubbers
London, Tuesday, July 10th
Peter Lubbers:Peter Lubbers' HTML5 “Fast Track” - IN LONDON,  Peter Lubbers' HTML5 “Fast Track”
2 DAY COURSE. Featuring Peter Lubbers
London, Tuesday, September 18th
Peter Lubbers:Peter Lubbers' HTML5 “Fast Track” - IN LONDON,  Peter Lubbers' HTML5 “Fast Track”
2 DAY COURSE. Featuring Peter Lubbers
London, Tuesday, November 13th
© Copyright 2003-2011, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Jobs: Sales Executive  Jobs: Student SkillsCaster  jobs - junior event coordinator  Speed Coding 2011  Open Source Journal  Ticket Raffle  Agile Expert Series  Jobs: Sponsorship Development  jobs: Marketing & Sales Graduate Internship