Here I am putting 20 REST questions. Please read some tutorial on REST before taking up these questions. Simply mugging up the answers will not give you the confidence for interview.
Some questions may not be applicable to eveyone. For example if you have used anything else than CXF or RESTLET for building REST web services then the question number 15 may not hold good for you
If you are unable to get answer to any of the question, do drop a comment, I will be more than happy to get back with the answer...
1) What is a web service?
2) Can I use GET request instead of PUT to create resources?
3) What is the difference between a RESTful web service (on HTTP) and a HTTP Servlet both of which perform the same function?
4) How will you migrate from SOAP web service to RESTfull web service?
5) What is the difference between HTTP POST and PUT requests?
6) What all kind of output formats can one generate using RESTful web service?
7) What all tools have you used to write RESTful web service?
8) Can my web browser be a client to RESTful web service? If yes then how will you generate DELETE request from web browser?
9) What is meant by JAX-WS and JAX-RS?
10) How is JAXB related to RESTful web services?
11) How will you handle synchronization issues when multiple clients try to consume web service simultaneously?
12) Can you describe any one RESTful web service you have written?
(more...)
Read more: Javalobby
0 comments:
Post a Comment