RestFull (Representational State Transfer)
Introduction :
• RestFull provides the functionality for Representational State Transfer Web Service.• RestFull is an Architectural Style not a protocol. • RestFull is a well-suited for Basics.
• It involves Adhoc Network Integration Scenario.
• It offers better integrity with HTTP than SOAP Web Services. • It do not require XML messages or WSDL services, API definition.
Types of JAX-RS (RestFull) :
• Jersey/Project-Jersey • RestEasy
JAX-RS Project-Jersey :
• Project-Jersey is the Production Ready Reference implementation for JAX-RS Specification.
• Jersey implements support for the Annotation defined in the JAX-RS that makes it easy for the developer to develop the RestFull because RestFull Web Service uses existing well known W3C and Internet Engineering Task Force (IETF).
JAX-RS Project-Jersey Annotation :
1. Path
2. PathForum
3. Get
4. Put
5. Head
6. Delete
7. Options
8. ForumParam
9. Query_Param
10. Header_Param
11. Cookie_Param
12. Produce
13. Consumes