Dynamokos : Dealing with dynamism in OSGi distributed web applications

Dynamokos is not a Greek specialty. It’s the name of this post series. Dynamokos aims to illustrate how OSGi can be used for distributed dynamic web applications.

OSGi offers great features such as the modularity, dynamism, hot-deployment… However, it is not simplex to know how to build sophisticated applications on the top of OSGi. Especially when such application needs to be distributed and dynamic at the same time, a lot of issues have to be overcome.

Throughout a simple application, this series explores how to build dynamic distributed web application on the top of OSGi.

Dynamokos Overview

Four posts compose this series:

  1. The first post shows how to expose an OSGi service as a web service with OSGi Distributed Service (Apache CXF DOSGi), and how to use this service. In this version the client knows where is the oracle.
  2. The second post modifies the first example to use a discovery protocol (to find the remote oracle. The web site is modified in order to basically manage the dynamism
  3. The third post explores the possibilities to mange the dynamism in the web page. This includes auto-refresh, Ajax and Cometd.
  4. Finally, the last post illustrates how OW2 Chameleon Rose (Remote OSGi Service Ecosystem) may replace DOSGi and the flexibility brings by this wonderful framework.

Continue reading

Towards SOA-based Mobile Solutions

The Mobile Solutions and OSGi competence center of akquinet is specialized in the building of mobile and modular applications. They has developed a high expertise in two different domains:

  • Service-Oriented Architecture (SOA)
  • Mobile Technologies

Despite they sound different, mixed together it creates a very interesting recipe. Indeed, it provides a new, flexible and efficient way to create mobile systems by infusing service-oriented concepts into mobile technologies. This post presents the motivations of such mix. The next post describes how this recipe was successfully already used.
Continue reading