A tale of 2 architectures

Session Type: 
Standard [35 minutes]

OSGI allows for modular extensible applications in Java. One of the key areas where tremendous growth is happening both in terms of nature of devices as well as the types of data is in smart meters and the associated smart grid. Energy utilities have considerable investments in B2B and B2B websites that serve their customers to do things like view bills, submit meter reads and make payments. In addition these websites often provide functionalities to compare and view the consumption across various device categories and time periods. Java based frameworks are a popular web development paradigm for such websites. In this paper, we propose an OSGI model for java-web based frameworks that support B2B and B2C sites for the energy and utilities industry. We specifically focus on two specific modules : The module to submit meter readings and the module to view consumption graphs and show how OSGI can lead to better manageability as well as scale to handle problems like big data in the future.

The present architecture for a large utility provider B2B and B2C website is a layered java architecture with a web layer comprising servlets, business logic comprising services and integration logic consisting of an SAP enterprise bus which has evolved from a Spring based architecture. However the layered architecture has only partial adoption of OSGI. By modularization using OSGI by creating modules that are functionally based it is possible to leverage all the features of OSGI. The submit meter read module for example consists of a servlet layer displaying and inputting the data, a services layer that provides validation as well an integration layer that talks to the enterprise service bus. The layered architecture proposed will bundle functionality from the servlets, services and enterprise bus layer to create a highly modularized OSGI component that exploits all the features of OSGI called an “OSGI Energy Application Building Block”. This will save the utilities cost when they decide to re-use the same submit meter read infrastructure when they are getting data not from humans but from devices like smart meters or IPV6 and Zigbee enabled end devices. We propose the best practices involved in this functional modularization along with best of breed industry specific frameworks that can be combined effectively by OSGI to form the Energy Building Block

Schedule info



OSGi DevCon
Experience level: 

Copyright © 2013 The Eclipse Foundation. All Rights Reserved.