|Acess via HTTP(Hyper Text Transfer Protocol)||Access via SOAP(Simple Object Access Protocol)|
|.Open URL Connection and put some parameter to the servlet if caller can put. The caller does not know what parameters your servlet can receive either.||Provide API to other applications, the WSDL file of your web service can give the caller enough information to invoke your web service|
A more comprehensive and practical approach is to write a web service with a framework and to publish it on an application server or servlet container such as Tomcat or JBoss. In this case you would use a Servlet to handle the transport of the HTTP requests which transmit your SOAP or REST messages.
|A web component|
|Powerful Java technology|
|Managed by Container(Namely webserver)|
|Interacts web clients as request-response Paradigm|
|Request handling methods *doGet, *doPost, *doDelete, *doOptions, *doHead, *doTrace|
|A way to achieving service oriented architecture in web application|
|It's an architectural concept|
|Web service resource is uniquely identifiable using URLS|
|It has explicit relationship with HTTP methods namely GET,POST,PUT,DELETE|
|Highly re useable across the platform|
Example Restful Web Service:
Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.
I really liked your blog article. Great.
core java online training
java online training hyderabad
Post a Comment