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:
- Integrate a JAX-RS implementation into the workbench, and target
projects to use this implementation
- Create a bottom-up web service which uses JAX-RS, using quick
fixes to speed up the process.
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:
- Web 2.0
- Web 2.0 and Mobile
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.