In this section we shall create a web project and add the JAX-RS project facet to the web project. Select File | New | Other and in the New wizard select Web | Dynamic Web Project. Click on Next. In the New Dynamic Web Project wizard specify a project name (EclipseJAX-RS) in the Project name field and configure a new target runtime for Oracle WebLogic Server 12c (12.1.1). Click on the Modify… button under Configuration, as shown in the following screenshot:
In the Project Facets window, select the JAX-RS (REST Web Services) project facet with 1.1 as Version. Click on OK, as follows:
Click on Next in the New Dynamic Web Project wizard, as follows:
Select the default Java settings for source folders on the build path (src
) and default output folder (build/classes
). Click on Next. Select the default Web Module settings for Context root (EclipseJAX-RS
), Content directory (WebContent
), and the Generate web.xml deployment descriptor checkbox, which is selected by...