Building a modular Server Platform with OSGi
OSGi, the dynamic modular system for Java, specifies an architecture to develop loosely coupled dynamic, component-based enterprise applications. However, taking full advantage of OSGi to create complex software in a dynamic and modular manner requires adhering to certain best practices and standards. Moreover, when implementing a componentized server platform using OSGi, it can be difficult to manage OSGi features, feature categories, and P2 repositories using Eclipse.
This session will present developers with the real-world approaches and lessons learned in addressing these challenges to develop WSO2 Carbon, a free and open-source componentized middleware platform based on OSGi. Through discussions and demonstrations, attendees will learn how to:
* Ensure that each component has a core-runtime, a clean SOA interface, and a front-end console, which are self containing OSGi bundles.
* Use declarative services to extend the functionality of components in a consistent manner.
* Integrate third-party libraries, such as Apache Axis2, Apache Tomcat by wrapping them as Orbit bundles.
* Employ a “feature” concept to assemble components.
* Create a plug-in extension for Apache Maven to automatically generate OSGi features, feature categories, and P2 repositories with the Maven build tool.