Lesson 1: Creating a server and web project
The web service needs to reside in a web project with the JAX-RS facet enabled.
Create a JAX-RS enabled server
About this task
Procedure
- From the File menu, select .
- Select the appropriate version of WebSphere Application Server as the server type. Click Next.
- If this runtime is not in your workspace, you are prompted to select the installation directory for the server. Click Next.
-
Accept the default server port and name. For this tutorial, the default server name that is
used is
server1. Click Finish. -
Wait for the server to start. After it starts, the Console view displays Server
server1 open for e-business. If the server does not start automatically, select it in
the Servers view and click the start icon:
.
Create a JAX-RS enabled web project
About this task
Procedure
Results
Now you are ready to begin the next module: Creating and testing the web service.
