Category Archives: Archives

This category contains Java tutorials, examples that I collected from Internet

Hello World! Using OSGi Framework – Part V

Previous: Hello World! Using OSGi Framework – Part IV Creating a service factory In the last section you learned how to use the OSGi framework to create a Java object and register it as service to be consumed by any … Continue reading

Posted in Archives | 1 Comment

Hello World! Using OSGi Framework – Part IV

Previous: Hello World! Using OSGi Framework – Part III Class-level scope If you try running the sample service package now it will print “Hello World” on your Eclipse console. If you try running Activator.java to access HelloServiceImpl.java and compile it with the … Continue reading

Posted in Archives | 2 Comments

Hello World! Using OSGi Framework – Part III

Previous: Hello World! Using OSGi Framework – Part II The OSGi console The OSGi console is a command-line interface to the OSGi container. It allows you to do things like start, stop, install bundles, and update or delete bundles. In … Continue reading

Posted in Archives | 2 Comments

Hello World! Using OSGi Framework – Part II

Developing a Hello World bundle Previous: Hello World! Using OSGi Framework – Part I In OSGi, software is distributed in the form of a bundle. A bundle consists of Java classes and other resources that deliver functions to device owners, as … Continue reading

Posted in Archives | 2 Comments

Hello world! Using OSGi framework – Part I

The Open Services Gateway Initiative (OSGi) defines an architecture for developing and deploying modular applications and libraries. In this first article in a three-part introduction to OSGi, Sunil Patil gets you started with OSGi development concepts and shows you how … Continue reading

Posted in Archives | Leave a comment