Sie sind auf Seite 1von 1

Webservice Architecture:-

consumer is a program which always consume the business services from the
provider.it is always going to request to the provider by sending the data as part
of the request.and full-fill his requirement.unless until the provider is running
then only consumer can consume the services from the provider.

provider:-
provider is a program which has complex business logic and it providing
services to the the other partners.

so these two programms are running on the two differnet machine and that two
programs has to communicate with each other how can they communicate with each
other.

inroder to commumnicate them in each other they need some physical medium or the
network unless until there is medium or the network they can not communicate with
each other.so the after eastablishing the connection the medium or the network is
not enough.they need something top of them called protocol withought the protocol
they can communicate with each other but they can communicate effeciantly.becuse
suppose one person is trying to communicate with another person so the first person
started talking so the another person has to listen and then seconed person has to
started talking then first person has to listen to the second person.then there the
communiacation will happend perfectly.if the one person is trying to talking and
another person also trying to talk simieltenesoully or same time then how the
communcation will happend effeciantly both the person can understand both of them
taking.thats why the we need to define some rules that if the obe person is taking
then the second person has to listen after completing the first person taking then
the second person has to tryies to taking with other person.this type of rules we
need to define unless until this type of rule define then there is communication
will happened effeciantly.so thats why the protocol came in to the picture.protocol
is define the set of rules or the standerd for communcating with two devices so the
protocol gives the guarrennty that one machine can send the data to the other
machine if there are lot of interlink channels are also atteched to the
medium.protecol always gives illusion that there is only to devices are there then
you can send the data to other devices that is not true there are lots of devices
are connected or interlink to the medium or the phycical wired.but protocol gives
illusion that two devices are only communacting with each other which is not true
thats why it is called illusion.
there are http,smtp,ftp,or more protocols are there for using that protocol we
can exchange the data between consumer and the provider.but there is recomended to
use http protocol.means we can use still ftp,smtp but we need to write more logic
for use that protocol.thats why the http protocol is recommended http is an
ineroperable and the application pro

Das könnte Ihnen auch gefallen