sun.com docs.sun.com My Sun Worldwide Sites

  Previous Contents Next
Chapter 3

Installation

This chapter explains how to install the Java API for RESTful Web Services 1.1 TCK 1.1 (JAX-RS 1.1 TCK) software. After installing the software according to the instructions in this chapter, proceed to Chapter 4, Setup and Configuration for instructions on configuring your test environment.

3.1 Obtaining the JAX-RS 1.1 Reference Implementation (Jersey 1.1)

You can obtain the Sun Microsystems JAX-RS Reference Implementation (RI), Version 1.1 (Jersey 1.1) software from Java Partner Engineering.

3.2 Installing the Software

Before you can run the JAX-RS 1.1 TCK tests, you must install and set up the following software components:

  • Java EE 6 RI

  • Java SE 5 or higher

  • Jersey 1.1

  • JAX-RS TCK version 1.1, which includes:

    • Apache httpclient 3.1

    • Apache Ant 1.7.1

    • Apache logging 1.1.1

    • Apache codec 1.3

    • JDOM1.0

  • The JAX-RS 1.1 Vendor Implementation (VI)

To Install the JAX-RS 1.1 TCK Software

  1. Install the Java SE 6 software, if it is not already installed.

    Download and install the Java SE 6 software from the Java Software Web site. Refer to the installation instructions that accompany the software for additional information.

  2. Install the JAX-RS 1.1 TCK 1.1 software.
    1. Copy or download the JAX-RS 1.1 TCK software to your local system.

      You can obtain the JAX-RS 1.1 TCK software from the Java Partner Engineering Web site. The JAX-RS 1.1 TCK software is located in the JAXRS-TCK directory in the Web site's Download Center area.

    2. Use the unzip command to extract the bundle in the directory of your choice:unzip jaxrstck-1_1-date.zip

      This creates the jaxrstck directory. The <install_directory>/jaxrstck directory is the test suite home, <TS_HOME>.

  3. InstallJava EE 6 RI software (the servlet Web container used for running the JAX-RS 1.1 TCK with Sun's JAX-RS 1.1 RI), if it is not already installed.

    Download and install Java EE 6 RI software from the Java Licensee Engineering Web site. Refer to any installation instructions that accompany the software for additional information.

  4. Install the Sun JAX-RS 1.1 Reference Implementation.

    The Sun Reference Implementation is used to validate your initial configuration and setup of the JAX-RS 1.1 TCK 1.1 tests, which are explained further in Chapter 4, Setup and Configuration.

    Sun's JAX-RS RI can be obtained from the Jersey Web site at http://jersey.dev.java.net/.

  5. Install a Web server on which the JAX-RS 1.1 TCK test applications can be published for testing the VI.
  6. Install the JAX-RS Vendor Implementation (VI) to be tested.

    Follow the installation instructions for the particular VI under test.

Previous Contents Next
Company Info Contact Terms of Use Privacy Copyright 1994-2009 Sun Microsystems, Inc.