Nitin has posted 391 posts at DZone. View Full User Profile

Component-Oriented Java Development with OSGi

04.10.2009
| 10582 views |
  • submit to reddit

Your browser is not able to display this multimedia content.

In this presentation, recorded at a recent Skills Matter meet up, Neil Bartlett gives a brief introduction to OSGi, the dynamic module system for  Java. It 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 Neil moves on to discuss component oriented (COP) using OSGi and how this is an improvement on OOP. Neil 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.

Neil 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 its own and using the services of other components. This is a great example of how OSGi can be used.

Neil 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.

Editor's Note: The slides for this presentation will be made available shortly

Published at DZone with permission of its author, Nitin Bharti.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Adedayo Abiodun replied on Mon, 2009/04/13 - 6:26pm

Slide still not available?

michal addon replied on Tue, 2009/06/16 - 12:15pm

Lets start from beginning. I have started earn $$ with sports betting about 3 years ago. Firstly I was very very bed thinking about this kind of job. Lots of people said me that sports btting is just gambling and nothing more. That I have started read a lot of betting and bookmakers firms, bonuses ect. First what I found what very interested me was betfair and Betfair trading system it is nothing but exchange bets with other members of this system. It is amazing option earn lots of money. One more think what I love in betfair is great bonus with Sports betting. Firstly when You wanna start betting You have to choose of the betting system and next find good site with livescore. When You have more information about sport betting You could think about change Your bookmaker to something new like bwin or bet365. Last think what I wanna tell You is Good LUCK, read and learn as much as You can and finaly You got You succes with bookies.Best regards !!

Lin QY replied on Sat, 2009/09/19 - 4:10am

this is a good access to <a href="http://www.anf-mall.com">Abercrombie and Fitch</a>

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.