Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Most of our client samples involve a Client program with a main method, code to get a proxy to a 'Client' proxy component, and code in the client proxy component to relay method calls to a remote service.
That's too complicated, see java/sca/samples/helloworld-ws-reference for an example of that pattern.
The current SCA programming model allows for a simpler usage, allowing client code to use references directly, simply by representing the client itself as a component.
I'd like to contribute a new sample to show that simpler usage of the SCA programming model.