Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Getting Started with Apache Wink Overview

In order to gain an in-depth understanding of the Apache Wink SDK a series set of example projects have been designed to help the developer clarify the underlying principles and usage of the Apache Wink. The following sections provide a detailed step-by-step implementation and deployment of the HelloWorld example application.

Apache Wink Distribution Files

Get a version of Apache Wink from the web site ( http://incubator.apache.org/wink/downloads.htmlImage Removed ). There are several JARs in the distribution but not all of them are required.

/dist directory

The main Apache Wink JARs are located in the "dist" directory:

...

is also provided as a convenient JAR that includes all of the Apache Wink code in one comprehensive JAR.

/lib directory

The lib directory contains JARs that may be required to use Apache Wink depending on your environment. You will need the jsr311-api which contains the JSR-311 spec API classes.

...

If you are running in an environment that does not have JAXB (i.e. Java 5), then you will also need the JAXB libraries.

/ext directory

Extensions to Apache Wink are located in the "ext" directory. You can add the appropriate extension to expand the capabilities.

Creating a Project using the Apache Wink

TBD

Testing the Project Deployment

TBD

HelloWorld Detailed Description

TBD

HelloWorld J2EE Deployment Descriptor - web.xml

TBD

HelloWorld Spring Deployment Descriptor HelloWorldContext-server.xml

TBD

Bookmark Example Application

TBD

Apache Wink Getting Started Summary

/examples directory

The examples directory contains sample code that demonstrates various features of the server and client runtime.

Getting started with an Apache Wink server application

See 4.1 JAX-RS Getting Started for information on how to write a Hello World JAX-RS application.

Getting started with an Apache Wink client application

See 6.1 Getting Started with Apache Wink Client for information on how to write a client.TBD