Asked in the interview:
- What is the difference between HTTP servlet and SOAP over HTTP?
- What the advantages and disadvantages of both?
- In which case would use which?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You didn’t mention your background about the APIs mentioned.
In an interview they probably want to hear that a servlet processes a http-request and responses with a http-response as a soap does. The difference is that a soap request contains xml data (header and payload) which has to be parsed in a different way (usually with a framework like Xfire or Axis among others).