Introduction to Apache Wink
Apache Wink 1.0 is a complete Java based solution for implementing and consuming Rest based Web Services. The goal of the Wink framework is to provide a reusable and extendable set of classes and interfaces that will serve as a foundation on which a developer can efficiently construct applications.
Wink consists of a Server module for developing Rest services, and of a Client module for consuming Rest services. It cleanly separates the low-level protocol aspects from the application aspects. Therefore, in order to implement and consume Rest Web Services the developer only needs to focus on the application business logic and not on the low-level technical details.
The Wink Developer Guide provides the developer with a rudimentary understanding of the Wink framework and the building blocks that comprise it.
Welcome to Apache Wink
Wink is a framework for the simple implementation and consumption of Rest web services. Rest is an acronym that stands for REpresentational State Transfer. Rest web services are "Resources" that are identified by unique URIs. These resources are accessed and manipulated using a set of "Uniform methods". Each resource has one or more "Representations" that are transferred between the client and the service during a web service invocation.
The central features that distinguish the Rest architectural style from other network-based styles is its emphasis on a uniform interface, multi representations and services introspection.
Wink facilitates the development and consumption of Rest web services by providing the means for modeling the service according to the Rest architectural style. Wink provides the necessary infrastructure for defining and implementing the resources, representations and uniform methods that comprise a service.
Rest Architecture
For a detailed understanding of the Rest architecture refer to the description by Roy Fielding in his dissertation, The Design of Network-based Software Architectures
www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
Rest Web Service
Figure 1: Rest Web service design structure
Figure 1 demonstrates the design principles and components that comprise a Rest web service. Wink reflects these design principles in the implementation of web services
...
.
...
Apache Wink Open Development
The purpose of this document is to provide detailed information about Wink 1.0 and describe the additional features that the Wink 1.0 runtime provides in addition to the JAX-RS Java API for REST Web Service specification.
In addition to the features description, this document also provides information regarding implementation specific issues.
This document provides the developer with a rudimentary understanding of the Wink 1.0 framework in order to highlight the underlying concepts and precepts that make up the framework in order to create a basis for understanding, cooperation and open development of Wink.
For more information on the JAX-RS functionality, refer to the JAX-RS specification document, available at the following location:http://jcp.org/aboutJava/communityprocess/final/jsr311/index.html |
JAX-RS Compliancy
Wink 1.0 is a complete implementation of the JAX-RS v1.0 specification.
The JAX-RS TCK tests still need to performed in order to be able to declare that it is JAX-RS compliant.
JAX-RS is a Java based API for RESTful Web Services is a Java programming language API that provides support in creating web services according to the Representational State Transfer (REST) architectural style. JAX-RS uses annotations, introduced in Java SE 5, to simplify the development and deployment of web service clients and endpoints.