All content by Iain_Duncan

Getting Started with OSGi Applications: Blueprint Container (Part 3)

A Blueprint Container is a mechanism to simplify this process and remove all of the OSGi specific Java code, replacing it with a simple XML file and using dependency injection in the Java code. Today we’ll start using Blueprint by creating a new bundle that imports the service we created last time and registers a second service. We’ll then use this new service to print a message containing the date in the Servlet.