Skip to content

akabanov57/zeroc-ice-osgi

Repository files navigation

Using ZeroC ICE in OSGi environment example.

The main idea is that a servant can have access to the OSGi registry. Therefore, it can use standard and user-defined OSGi services. In the example below, the servant uses (implicitly) the standard ConfigAdmin service and the user-defined service IHello.

Use case.

There is an IHello service and a client using this service. See diagrams.

Requirement.

Solution.

How to run.

Run from Eclipse.

You need to install:

  1. OpenJDK
  2. Eclipse
  3. Bndtools I use The development snapshot
  4. slice2java compiler
  5. Ice builder for Eclipse

This git is bndtools workspace. Clone or download it. Create new Eclipse workspace, open bndtools perspective, import bndtools workspace from git. Now go to org.home.hello.run project. etc directory contains keystores and truststores for distributed server and client, load directory contains configurations for distributed server and client. *.bndrun files have self-describing names.

Run from command line.

TODO.

About

Using ZeroC ICE in OSGi environment example.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published