If my example is just about exposing a service using REST or TCP then the generic part will be: Add the property service.exported.interfaces=* and some provider specific properties to your OSGi service. The TopologyManager will pick up your service and export it using the RemoteServiceAdmin service of your implementation.

This will not really help a user to get it up and running.

On the other hand it is not necessary to explain the architecture to get someone up and running. So while I think the architecture of RSA is really great it is not what people need to get started.

Christian

On 10.11.2016 12:00, Timothy Ward wrote:
Hi Christian,

Unfortunately it is not really possible to describe a practical example for RSA without implementation specific details.

I disagree with this statement. It’s perfectly possible to discuss the RSA architecture, and then to provide an example which uses one of the implementations without listing any implementation details. The implementation details should not matter at all for a practical example! The thing that will matter is the set of bundles that you need to deploy for the RSA implementation, but beyond that it’s just a case of starting up some frameworks and following the specification properties.

If it weren’t possible to do this then it would not have been possible to create a Compliance Test Suite for RSA!

Tim




--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to