Next >

Tutorial: Creating a JAX-RS web service

The following tutorial will walk you through creating a JAX-RS application. Any JAX-RS v1.0 implementation can be used, but for this tutorial we will be using the IBM® implementation which is installed when you install a WebSphere® Test Environment. For this tutorial you should have the WebSphere Application Server v7 or v8 test environment installed.

Learning objectives

In this tutorial, you will learn to:

Time required

To complete the entire tutorial you will need 30 minutes.

Prerequisites

Ensure that you have the WebSphere Application Server v7 or v8 test environment installed, with both of the following feature packs:

If you do not want to complete the tutorial manually, you can import the application by clicking the following link. Note that this sample code is targeted to WebSphere Application Server v8 and cannot be deployed to WebSphere Application Server v7. You can then proceed to the test section of Lesson 2. Import Sample

If you want to watch a JAX-RS web service being created, a demonstration is available at the following URL: Creating and testing JAX-RS (RESTful) web services

When you are ready, begin Creating a server and web project.

Next >

Feedback