[ 
https://issues.apache.org/jira/browse/TUSCANY-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625383#action_12625383
 ] 

Dan Becker commented on TUSCANY-2556:
-------------------------------------

I really like the new samples. They are very useful demos and intros. I will be 
using calculator-lean as my new intro sample.

Two small comments. For sample-calculator-lean, is there any need for 
test.html? I don't see it used anywhere, and it might make the sample even more 
lean. And in Calculator.composite,  any need for the CalculatorClient 
component? It seems that CalculatorTest has its own entry, and CalculatorClient 
might be unneeded.

> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to