> I am trying to understand web services.
> what i understood so far is that web service is nothing but like a
> java program sitting and running on the client side to access
> application from the server side. so if there are 10 clients each will
> have one web service ( total 10 web services). so what happens when
> all 10 clients make a call to web service at the same time?
Thanks Arne.
just want to make sure that server's servlet containers (like tomcat)
contains the code for web service.
so server ( service provider ) will have application code and web
service code. How do client find out where is the service and how to
make a connection with the provider's web service?
On Oct 14, 1:43 pm, Arne Vajh?j <a...@vajhoej.dk> wrote:
> > I am trying to understand web services.
> > what i understood so far is that web service is nothing but like a
[quoted text clipped - 14 lines]
>
> Arne
Lew - 14 Oct 2007 19:02 GMT
> Thanks Arne.
Please do not top-post. Read the "mini-FAQ" message in this newsgroup, and
the articles to which it links.
> just want to make sure that server's servlet containers (like tomcat)
> contains the code for web service.
It will if you write that code and deploy it to the app server.
> so server ( service provider ) will have application code and web
> service code. How do client find out where is the service and how to
> make a connection with the provider's web service?
Google for "UDDI" and "WSDL". One way or another the client will need to
discover a URL, and send a message that conforms to the service's requirements.
Sun has material on writing web services in its tutorials. Java SE 6 and EE 5
have enhanced support for web-service development.

Signature
Lew
Arne Vajhøj - 14 Oct 2007 19:17 GMT
> just want to make sure that server's servlet containers (like tomcat)
> contains the code for web service.
If somebody deployed it then it will be there.
> so server ( service provider ) will have application code and web
> service code. How do client find out where is the service and how to
> make a connection with the provider's web service?
The web service client connects to a specific URL.
It can be handcoded or it can use a stub generated from
the WSDL.
Arne