celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-437) Add support for symbol based serialization/RPC
Date Mon, 09 Apr 2018 10:03:00 GMT
Pepijn Noltes created CELIX-437:
-----------------------------------

             Summary: Add support for symbol based serialization/RPC
                 Key: CELIX-437
                 URL: https://issues.apache.org/jira/browse/CELIX-437
             Project: Celix
          Issue Type: Improvement
          Components: PubSubAdmin, Remote Service Admin
    Affects Versions: 3.0.0
            Reporter: Pepijn Noltes


Currently the remote service admin and pubsub are based on the use of dfi and descriptors.
Another option could be to support the de/serialization and RPC using predefined function
signatures. 

Using the extender pattern these function can be found and used without polluting the types/services
with serialization/RPC code and make it possible to support a wide range of existing serialization/rpc
techniques.

For example a service with the name "HelloWord" could have a bundle entry 'META-INF/services/HelloWorld.rpc_info'
entry containing a simple properties files with - atleast- the entires "create_proxy" and
"create_endpoint". These refer to symbols in the shared libraries of the bundle with predefined
signatures.

More design details are needed before this can be implemented. Also a initial tech. should
be chosen (e.g. RPC).





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message