| JMood |
| Welcome |
| License |
| Overview |
| OSGi |
| JMX |
| Usage |
| Download |
| Roadmap |
| Contact |
| Team |
| Links |
| JMood at os4os |
| Browse Javadocs |
|
|
|
| Welcome to JMood | |
| JMood: JMX for Managing OSGi On Demand
JMood has been developed at the Departamento de Ingeniería Telemática (DIT) of the Universidad Politécnica de Madrid (UPM), Spain. | |
| License | |
|
JMood is distributed under the GNU Lesser General Public License, LGPL, for detailed information visit LGPL
|
Overview |
| JMood uses JMX to provide a management view of OSGi enabled devices. JMood is in fact a management bundle, which starts an JMX MBeanServer. It contains a set of modules which register MBeans for controlling the platform. Modules are also used to deploy management policies inside the management agent, so that they can be enforced by it. We have implemented a sample policy for practively controlling the memory occupied by the applications and uninstalling the least important ones when needed. MBeans offered by the management agentThe management agent provides mbeans for:
OSGi management servicesThe goal of JMood is to enable the on demand management of the service platforms. This means that applications must be able to define on demand their own management model. To achieve this, there are two alternatives. The first one consists of applications registering their own MBeans in the MBeanServer. To do this, we simply have to provide a reference to the MBeanServer. The problem of this path is that it requires programmers to gain knowlegde of JMX. Moreover, if -at least in some scenarios- JMX is not the most suitable management technology, applications would need to be reimplemented to readapt themselves to the new management technology. To avoid these problems, we have decided to implement the second option, that is, to provide some management services to enable bundles to define their own management models. In this way, at start up time, the management agent registers three different services in the OSGi service registry: an OSGiMgmtService, a NotificationService and a NotificationBroadcasterService. The first one permits applications to define their management interface and the other two enable them to receive and to send notifications respectively. |
|
| OSGi | |
| The Open Services Gateway initiative (OSGi) is an independent consortium launched, in 1998, by more than fifty companies in the area of embedded systems, with the aim to develop a series of open specifications for a Java based service platform, able to act as a gateway between Internet and the local area networks that can be found at home, at a car, and other types of constrained environments. The third release of this specification defines a service platform (an instantiation of a Java virtual machine, an OSGi framework and a set of running services) that includes a minimal component model and a small framework for managing components, including a packaging and delivery format. |
|
| JMX | |
| JMX stands for Java Management eXtensions and is the management standard for Java in its desktop (J2SE) and server (J2EE) versions. JMX provides a framework for building management applications in an easy way. Thanks to its flexible design, JMX can be used to merge low level management information, such as SNMP with new component oriented architectures, thus providing a global view of the system. |
|
| Usage |
|
To use the management agent we need:
Installing the management bundleIn order to successfully deploy the management agent inside OSGi, you only need to have the dependencies installed, and deploy the bundle. |
|
| Download | |
| The full source code and binary distribution of JMood can be downloaded at OS4OS. The complete documentation, in Spanish, of the Master's Thesis this project was attached to can be downloaded here in PDF format. |
|
| Roadmap | |
| To be provided. |
|
| Contact | |
| Please send any comment, suggestion or problem report related to JMood using the mailing lists at Os4os. |
|
| Team | |
| JMood has been developed in the context of the participation of the Departamento de Ingeniería Telemática (DIT) and of the Universidad Politécnica de Madrid (UPM) in the ITEA-OSMOSE project. JMood programs and documentation have been created by Manuel Santillan, Jose Luis Ruiz and Juan C. Dueñas. JMood has been the Master's Thesis of Manuel Santillan in his studies of Telecommunication Engineering at the ETSIT-UPM, (Escuela Técnica Superior de Ingenieros de Telecomunicación). |
|
| Links | |
OSGi related
JMX related
Other useful links |
|