The document discusses OSGi remote services and how they can be modeled and implemented using the Service Component Architecture (SCA). It provides an example of distributing a calculator application across multiple OSGi runtimes using SCA. Key points covered include predefined and on-demand mappings from OSGi entities to SCA components, the use of bindings like RMI and web services, and how service discovery works in the SCA domain.
11. An OSGi based Calculator Add Service Operations Bundle Subtract Service Multiply Service Divide Service Calculator bundle Calculator Service OSGi service OSGi service reference Calculator Service OSGi service interface OSGi service implementation
12.
13. OSGi Remote Services enabled Calculator Add Service Operations Bundle Subtract Service Multiply Service Divide Service Calculator bundle Calculator Service RMI Web Service RMI RMI RMI OSGi runtime #1 OSGi runtime #2
15. SCA environment Add Service The Calculator Scenario: OSGi Remote Services with SCA runtime as the distribution software OSGi bundle OSGi bundle SCA Component implementation.osgi SCA Component implementation.osgi Subtract Service Multiply Service Divide Service Calculator Service binding.rmi or binding.ws
16. Operations Calculator binding.rmi binding.ws OSGI-INF/sca/bundle.composite Add Service Operations Bundle Subtract Service Multiply Service Divide Service Calculator bundle Calculator Service SCA bundle Defining the SCA composite for OSGi bundles
17. SCA view of OSGi services and references RMI RMI RMI RMI Calculator Service Web Service SCA proxies Local Service Local OSGi Service Implementation OSGi Service Registry Add Service Subtract Service Multiply Service Divide Service SCA Service SCA References
18.
19. Predefined mapping from OSGi to SCA http://svn.apache.org/repos/asf/tuscany/java/sca/samples/dosgi-calculator/ http://svn.apache.org/repos/asf/tuscany/java/sca/samples/dosgi-calculator-operations/
20.
21.
22. On-demand mapping from OSGi to SCA http://svn.apache.org/repos/asf/tuscany/java/sca/samples/dosgi-dynamic-calculator/ http://svn.apache.org/repos/asf/tuscany/java/sca/samples/dosgi-dynamic-calculator-operations/
23. Remote Service Admin NOTE: The diagram is copied from OSGi Remote Service Admin spec (to be published)
24. Remote Services with SCA NOTE: The diagram is copied from OSGi Remote Service SCA Configuration Type spec (to be published)