Servlets are API which is simple and provides capabilities to write server side components.
Rest provides higher level support for writing services which are denoted by using the concept of resource which represents a concept to be addressed while representation indicates the current state of resource. Also Rest provides other facilities like seperation of concerns between client and server, uniform interface,stateless,Caching capability and layered architecture.
View the following video on Web services: -
Get more on java interview questions
Rest provides higher level support for writing services which are denoted by using the concept of resource which represents a concept to be addressed while representation indicates the current state of resource. Also Rest provides other facilities like seperation of concerns between client and server, uniform interface,stateless,Caching capability and layered architecture.
View the following video on Web services: -
Get more on java interview questions
Good job in presenting the correct content with the clear explanation. The content looks real with valid information. Good Work
ReplyDeletekajal agarwal hot