Hi,
SCA uses declarative bindings to provide abstractions to
transports/protocols. The idea is to compose business components together
independent of the how the component is implemented and how the components
are communicated. Contrast to DCOM, SCA is not a new distributed object
model. It's the neutral layer to model the service components, assembly,
configuration and QoS on top of existing technologies. The service
components can be local or distributed depending on how you configure the
service/reference bindings.
We don't have to generate code to support web services. There are two
samples you can look into:
1)
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/helloworld-ws-reference:
It shows how to access an existing web service using SCA. See the
<binding.ws> element below.
<component name="HelloTuscanyServiceComponent">
<implementation.java class="helloworld.HelloWorldServiceComponent"/>
<reference name="helloWorldService">
<binding.ws
wsdlElement="http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)"/>
</reference>
</component>
2)
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/helloworld-ws-service:
It shows how to expose a SCA service as a Web Service. See the <binding.ws>
element below.
<component name="HelloWorldServiceComponent">
<implementation.java class="helloworld.HelloWorldImpl" />
<service name="HelloWorldService">
<interface.wsdl
interface="http://helloworld#wsdl.interface(HelloWorld)" />
<binding.ws uri="http://localhost:8085/HelloWorldService"/>
</service>
</component>
Thanks,
Raymond
--------------------------------------------------
From: "Harpreet Dhaliwal" <[EMAIL PROTECTED]>
Sent: Wednesday, March 26, 2008 12:42 PM
To: <[email protected]>
Subject: Re: Tuscany: usage limits
Well, first of all I would like to know where is the web service model
being
supported by tuscany ?
I don't see any web services being generated anywhere.
Kind of confused how does it support SOA and then SCA eventually.
All these components are local services, that even the sample Store
application talks about, and it looks so like and
DCOM model to me.
Can any one clarify my doubts.
Thanks,
hary
On Wed, Mar 26, 2008 at 12:37 PM, Raymond Feng <[EMAIL PROTECTED]>
wrote:
Thank you for your interests. It's a bit open-ended to discuss the
Tuscany
limitations as there are many extensions in Tuscany to support different
implementation, binding and databinding types. Would you please elaborate
what you want to achieve? If possible, sharing your usage scenarios will
greatly help.
Thanks,
Raymond
--------------------------------------------------
From: "Harpreet Dhaliwal" <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2008 11:44 PM
To: <[email protected]>
Subject: Tuscany: usage limits
> Hi,
> I was wondering if there is any potential limit of using tuscany and
other
> important warnings that can be given before actually using it for a
> live
> project.
> Thanks
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]