Links

knapsack: custom launcher for Felix OSGi framework

Knapsack is a custom launcher for the Apache Felix OSGi Framework with native shell integration and a few default services that run out of the box. See http://kgilmer.github.com/knapsack/ for more information about its design.

Image001

https://github.com/kgilmer/knapsack

Filed under  //   felix   launcher   opensource   osgi  
Posted July 20, 2011 by email 

Jitsi: SIP Communicator

Jitsi (previously SIP Communicator) is an audio/video and chat communicator that supports protocols such as SIP, XMPP/Jabber, AIM/ICQ, Windows Live, Yahoo!, Bonjour and many other useful features.

Jitsi is Open Source / Free Software, and is available under the terms of the LGPL.

The application is developed (mostly) in Java and basd on OSGi.

http://www.jitsi.org/

(download)

Filed under  //   audio   calls   conference   java   linux   opensource   osgi   osx   sip   video   windows  
Posted June 29, 2011 by email 

Apache Clerezza: Semantic web + OSGi

Clerezza is a service platform based on OSGi (Open Services Gateway initiative) which provides a set of functionality for management of semantically linked data accessable through RESTful Web Services and in a secured way. Furthermore, Clerezza allows to easily develop semantic web applications by providing tools to manipulate RDF data, create RESTful Web Services and Renderlets using ScalaServerPages.

Contents are stored as triples based on W3C RDF specification. These triples are stored via Clerezza's Smart Content Binding (SCB). SCB defines a technology-agnostic layer to access and modify triple stores. It provides a java implementation of the graph data model specified by W3C RDF and functionalities to operate on that data model. SCB offers a service interface to access multiple named graphs and it can use various weighted providers to manage RDF graphs in a technology specific manner, e.g., using Jena or Sesame. It also provides for adaptors that allow an application to use various APIs (including the Jena api) to process RDF graphs. Furthermore, SCB offers a serialization and a parsing service to convert a graph into a certain representation (format) and vice versa.

http://incubator.apache.org/clerezza/

Filed under  //   apache   http   java   jena   osgi   rdf   rest   scala   semanticweb   sesame   sparql  
Posted May 31, 2011 by email 

OSGi (lite) on Google App Engine using PojoSR

PojoSR is a service registry that enables OSGi style service registry programs without using an OSGi framework.

The idea is to create something that would make the service and parts of the life cycle layer of OSGi available in environments where it typically isn't.

PojoSR can also be run on Google App Engine

Image001

http://code.google.com/p/pojosr/

http://luminis-technologies.com/?p=358

Filed under  //   GAE   lite   osgi   osgi lite   services  
Posted April 19, 2011 by email 

OSGi on Android

How to run Apache Felix OSGI framework on Android.

https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Framework+and+...

Filed under  //   android   dalvik   java   mobile   osgi  
Posted November 11, 2010 by email 

openHAB: open Home Automation Bus

Introduction 

The open Home Automation Bus (openHAB) project aims at providing a universal integration platform for all things around home automation.

It is designed to be absolutely vendor-neutral as well as hardware/protocol-agnostic. openHAB brings together different bus systems, hardware devices and interface protocols by dedicated bindings. These bindings send and receive commands and status updates on the openHAB event bus. This concept allows designing user interfaces with a unique look&feel, but with the possibility to operate devices based on a big number of different technologies. Besides the user interfaces, it also brings the power of automation logics across different system boundaries.

The Technology Stack 

openHAB is a pure Java solution, fully based on OSGi. The Equinox OSGi runtime and Jetty as a web server build the core foundation of the runtime.

The openHAB Designer, which is the configuration tool for the openHAB Runtime, is an Eclipse RCP application with Xtext-based editors to offer a highly user-friendly way of editing configuration files, UI definitions and automation rules. For the automation rules, JBoss Drools builds the backbone.

If you are a fan of Java/OSGi/Eclipse, openHAB should be the perfect match for you. If you are not, you might want to consider other tools like Misterhouse, which aim at almost the same thing and are very mature already.

Bindings 

As the OSGi platform allows a highly modular architecture, the bindings are realized as different bundles, which can be dynamically plugged to openHAB, so that every user can decide on the bindings he is interested in.

Here are some examples for bindings (but please be aware that most are not yet implemented):

  • KNX
  • X10
  • 1-wire
  • RS-232
  • Jabber
  • HTTP
  • Bluetooth
  • IrMon
  • Asterisk
  • Media player (Winamp, WMP, iTunes, Amarok, etc.)
  • Wake-on-LAN

User Interfaces

Currently, there is only one user interface available for openHAB, a web-based UI, which can be used from many different devices. Nonetheless, openHAB is designed in a way that there can easily be added further user interfaces; be it a remote terminal or a native iPad application.

 

 


http://code.google.com/p/openhab/

 

(download)

Filed under  //   automation   hab   home   java   osgi   ui   web  
Posted August 18, 2010 by email 

Configuring OSGi Services with Apache Web Console and Metatype

OSGi services can be easily configured using the ConfigurationAdmin service. If you add metadata to your services, they can be configured with a nice user interface such as the Apache Web Console. This tutorial will walk you through the steps to create the metadata, set up the web console, and configure your services.  

 

http://bryanhunt.wordpress.com/2010/07/07/configuring-osgi-services-with-apache-web-console-and-metatype/

(download)

Filed under  //   apache   felix   osgi   ui   web  
Posted July 8, 2010 by email 

Composite Bundles - Isolating Applications in a Collaborative OSGi World

The OSGi specification (R4.2) introduced a provisional specification called composite bundles. In this talk the lead developers of two prominent open source OSGi framework implementations will join forces to discuss lessons learned with the provisional composite bundle specification and what improvements are expected for the next release of the core framework specification for composite bundles. Richard Hall is the chair of the Apache Felix project and Tom Watson is the co-lead of the Eclipse Equinox project. Together they will explain the issues with the R4.2 provisional composite specification and discuss the changes being done in order to graduate the composite bundle specification for the next OSGi core specification release.

The OSGi framework provides a powerful runtime for the Java platform, which promotes strong modularity, versioning and dynamic management of applications. Bundles (or modules) installed in the framework are expected to collaborate and live together sharing the same service registry and public class space. Until now there was no standard way to provide additional isolation to a group of bundles installed in a single framework. In this talk we will discuss how composite bundles can be used to provide additional isolation to a group of bundles or applications installed into the framework.

Composite bundles are managed in a similar way as other bundles installed into an OSGi framework. The key difference is the content of a composite bundle is composed by a set of bundles called constituents. Conceptually a composite bundle provides a virtual framework, called a composite framework, where constituent bundles are installed and running. The composite bundle can be used to manage the composite framework. Composite bundles support a two-way relationship between the parent framework and composite framework instances, where packages and services can be shared from the parent to the composite framework and vice versa.

During this talk we will go into the gory details of the composite bundle specification and demonstrate composite bundles running on an OSGi framework implementation.


Thomas co-leads the Equinox Project at Eclipse and is a member of the Eclipse Runtime PMC. Thomas has 10 years of experience as an IBM software architect and developer, and is currently working for IBM Lotus. Thomas's focus is on modularity and the OSGi Framework design and development. He is the lead developer for the Equinox OSGi Framework implementation in Eclipse.

Thomas has been involved in the development of OSGi technologies since 2002 and played a key role in the adoption of OSGi technologies by the Eclipse platform. He is currently a member of the OSGi Core Platform Expert Group (CPEG) and made significant contributions to the OSGi Release 4 specifications.

(From http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1224)

Filed under  //   equinox   framework   osgi  
Posted April 9, 2010 by email 

Poor Man's Provisioning Platform

Poor Man's Provisioning Platform
================================

This is (or will be) a set of simple runtime components for provisioning an OSGi node. The first (and so far only)
component included is S3Install.

S3Install
=========

Modelled on "FileInstall" by Peter Kriens, S3Install manages the bundles installed in an OSGi runtime by continuously
scanning a "bucket" on Amazon S3. The effect of this is as follows:

1. If you drop a new bundle JAR into a bucket, then all instances of S3Install monitoring that bucket will install and
start that bundle.
2. If you drop an update to an existing bundle JAR into a bucket, then all instances of S3Install monitoring that bucket
will update to the new version of the bundle
3. If you remove a bundle JAR from a bucket, then all instances of S3Install monitoring that bucket that previous
installed the bundle will uninstall it.

S3Install is intended for deploying bundles to one or more Amazon EC2 nodes. Each node should be setup with an OSGi
framework and the S3Install bundle.

http://github.com/njbartlett/pmpp

Filed under  //   S3   amazon   osgi   provisioning  
Posted December 29, 2009 by email 

MOSGi: OSGi + JMX

Media_httpfelixapacheorgsitemosgimanagedosgiframeworkdatamosgiarchitecturepng_qhkxmradsaugseu

MOSGi enables the remote management of OSGi-compatible service gateways, using JMX. The framework is a reference architecture for end-to-end gateway management. It provides the following features:

* relies on JMX management infrastructure (IP-based management),
* provides two JMX agents: the standard Java 1.5 agent and a specific Java 1.4 lightweight embedded agent (MX4J agent deviation),
* provides a way to deploy various probes on remote gateways,
* provides a management console,
* the graphical part of a probe (management console part) can be dynamically plugged in the management console and is dynamically downloaded.

http://felix.apache.org/site/mosgi-managed-osgi-framework.html

Filed under  //   jmx   osgi  
Posted November 25, 2009 by email