Hi Guys,
In one of my interview,interviewer asked me what is the diference between
servlet and RESTful webservice.
I said webservice internally uses servlet.
Then he asked why do i need to go for webservlet instead of sevlet.
I said webservice return xml.so webservice can interact with other application like Dot Net,perl.
He said he can do the same in servlet.
I'm unanswerable to this question.
can any one please explain me what is the advantage of webservice over servlet.
Thanks in advance,
by
Dhaya