On Wed, Aug 20, 2008 at 1:04 AM, Jean-Sebastien Delfino (JIRA) <
[email protected]> wrote:

> Need a sample that shows how to bootstrap and use an SCA reference in a
> client
>
> -------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2556
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2556
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Samples
>            Reporter: Jean-Sebastien Delfino
>            Assignee: Jean-Sebastien Delfino
>             Fix For: Java-SCA-Next
>
>
> 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.
>
>
>
I quite like this approach. It didn't used to work due to various bugs but
now that it does should we change most of the samples where its appropriate
to do it this way?

   ...ant

Reply via email to