RE: Apache Tuscany doubts

2008-06-06 Thread Mohan, Mithun


Raymond wrote---
Yes, Tuscany makes the Web Service available once you have a component
with "binding.ws" service binding configured. In the J2SE environment,
it should be registered with an embedded HTTP server such as Jetty or
Tomcat and use
Axis2 stack underneath to handle the WS invocations. If it's deployed
with a web container such as Tomcat, we use the Servlet filter to trap
the Web Services traffic.
---

So does that mean I need to use an server like Tomcat or Tuscany takes
care of it ? I did not quite understand the meaning of deployed with a
web container.I am able to just compile the composite file to get the
output . I am not able to deploy this composite file as a web service.




Raymond wrote---
There are two concepts:
1) A SCA runtime (or container) written in Java or C++
2) A SCA component written in Java or C++
At this point, Tuscany has both Java and C++ for 1). But the java
runtime doesn't support C++ component, and not C++ runtime supports Java
component either. So we have to use different runtimes to host the C++
and Java components at this point, but it's potentially possible that
the Java runtime will be capable of hosting C++ component.
---

So now say for eg I have two components one implemented in java and the
other implemented in C++.So if I was planning to make this a web service
. 

1) Do I need to have separate composite files and then merge it to a
single web service 
2) Do I have common composite file ? 

It will be great if someone replies my doubts

Thanks and Regards,
Mithun 



 

-Original Message-
From: Raymond Feng [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 06, 2008 1:45 PM
To: tuscany-user@ws.apache.org
Subject: Re: Apache Tuscany doubts

Thank you for your interests in Tuscany. Please see my comments inline.

Raymond

--
From: "Mohan, Mithun" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2008 10:04 AM
To: 
Cc: <[EMAIL PROTECTED]>
Subject: Apache Tuscany doubts

> Hello,
>
> I am new to Apache Tuscany and it looks like a great tool . I am sort 
> of doing a project as an Intern .
> I am trying to create a web service for sca components using Apache 
> Tuscany I have a few doubts ,
>
> 1) Does Apache Tuscany take care of deploying the web-service or do we

> need tools like Axis or CXF to deploy the web-service
>   As far as my understanding goes , in the home page of the Apache 
> Tuscany  it takes care of making the web service online 
> http://cwiki.apache.org/confluence/display/TUSCANY/Build+your+first+We
> b+
> Services+with+Tuscany
>

Yes, Tuscany makes the Web Service available once you have a component
with "binding.ws" service binding configured. In the J2SE environment,
it should be registered with an embedded HTTP server such as Jetty or
Tomcat and use
Axis2 stack underneath to handle the WS invocations. If it's deployed
with a web container such as Tomcat, we use the Servlet filter to trap
the Web Services traffic.

> 2) Also, we have Apache Tuscany implemented in Java and also in C++ .
> Is it possible to have SCA components in Java and C++ and stil exposed

> as a single web service .

There are two concepts:
1) A SCA runtime (or container) written in Java or C++
2) A SCA component written in Java or C++

At this point, Tuscany has both Java and C++ for 1). But the java
runtime doesn't support C++ component, and not C++ runtime supports Java
component either. So we have to use different runtimes to host the C++
and Java components at this point, but it's potentially possible that
the Java runtime will be capable of hosting C++ component.
>
> It will be great if anyone can spare some time and reply.
>
> Thanks and Regards,
> Mithun .
> 


Re: Apache Tuscany doubts

2008-06-06 Thread Raymond Feng

Thank you for your interests in Tuscany. Please see my comments inline.

Raymond

--
From: "Mohan, Mithun" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2008 10:04 AM
To: 
Cc: <[EMAIL PROTECTED]>
Subject: Apache Tuscany doubts


Hello,

I am new to Apache Tuscany and it looks like a great tool . I am sort of
doing a project as an Intern .
I am trying to create a web service for sca components using Apache
Tuscany
I have a few doubts ,

1) Does Apache Tuscany take care of deploying the web-service or do we
need tools like Axis or CXF to deploy the web-service
  As far as my understanding goes , in the home page of the Apache
Tuscany  it takes care of making the web service online
http://cwiki.apache.org/confluence/display/TUSCANY/Build+your+first+Web+
Services+with+Tuscany



Yes, Tuscany makes the Web Service available once you have a component with 
"binding.ws" service binding configured. In the J2SE environment, it should 
be registered with an embedded HTTP server such as Jetty or Tomcat and use 
Axis2 stack underneath to handle the WS invocations. If it's deployed with a 
web container such as Tomcat, we use the Servlet filter to trap the Web 
Services traffic.



2) Also, we have Apache Tuscany implemented in Java and also in C++ .
Is it possible to have SCA components in Java and C++ and stil exposed
as a single web service .


There are two concepts:
1) A SCA runtime (or container) written in Java or C++
2) A SCA component written in Java or C++

At this point, Tuscany has both Java and C++ for 1). But the java runtime 
doesn't support C++ component, and not C++ runtime supports Java component 
either. So we have to use different runtimes to host the C++ and Java 
components at this point, but it's potentially possible that the Java 
runtime will be capable of hosting C++ component.


It will be great if anyone can spare some time and reply.

Thanks and Regards,
Mithun .