List/Grid Tag Archives: OSGi

How to Create Extensible Java Applications
Many applications benefit from being open to extension. This post describes two ways to implement such extensibility in Java. Extensible Applications Extensible applications are applications ...

Permissions in OSGi
In a previous post, we looked at implementing a sandbox for Java applications in which we can securely run mobile code. This post looks at how to do the same in an OSGi environment.OSGi The ...

Making Plain Old Java OSGi Compatible
Although OSGi is increasingly popular in the Java world, there are many Java applications and libraries that have not been designed to work in OSGi. Sometimes you may need to run such ...

Extenders: Pattern or Anti-Pattern?
The extender pattern has become popular in recent years and has even been utilised in OSGi standards such as the Blueprint service and the Web Applications specification. In Virgo, ...

OSGi case study: a modular vert.x
OSGi enables Java code to be divided cleanly into modules known as bundles with access to code and resources controlled by a class loader for each bundle. OSGi services provide an ...

Servlet Basic Auth in an OSGi environment
You will first need to get a reference to the OSGI HTTP Service. You can do this through a declarative service. This post will concentrate on steps after getting a reference to the ...

Understanding how OSGI bundles get resolved
I’d like to review how OSGI bundles get resolved and use Apache Karaf to demonstrate. Karaf is a full-featured OSGI container based on the Apache Felix kernel and is the corner stone ...

Learn by Errors : Java + OSGi
Recently I worked on getting Apache Hive work inside an OSGi environment. While not proving to be a proverbial piece of cake (software right?.. Why am I not surprised? ), it led ...

OSGI – Modularizing your application
Since I am a big proponent of modularity, low coupling, high cohesion, etc … I believe that this technology is a breakthrough in how we create applications using the Java platform. ...

Introduction to OSGi – Modular Java
OSGi Alliance is the governing body of this stranded and it was started at 1999. their initial goal was create open stranded for network devices. Based on this idea this specification ...

