wiki:IdeasForVersionThree

Version 2 (modified by lauer, 11 years ago) (diff)

--

Intended Features

  • pluggable conversion scheme
    • XML-RPC
    • JSON
    • ...
  • pluggable transport protocol
    • HTTP - XML-RPC
    • HTTP - JSON-RPC
    • HTTP - REST-like - JAX-RS?
    • ...
  • pluggable set of method annotations
    • former XmlRpc-Delight annotations, e.g., declaring Convertibles, etc.
    • JSR 311- JAX-RS or subset of it?
  • embeddable in a servlet or standalone
  • Basic processing cycle
    1. handle interface call (proxy invocation handler)
    2. read method meta-data (from annotations)
    3. convert (java) method parameters into a transport representation, client-side
    4. send call to remote endpoint
    5. receive call on server side
    6. convert parameters back to java representation
    7. find appropriate method/handler based on information sent and meta-data read
    8. perform call
    9. convert result value returned by method call (if any) back to transport representation
    10. send back answer to client
    11. convert return value back to java representation
    12. return value in interface call