Skip to content
Latest commit 71eb8b8 Sep 30, 2015 @AdamLindenthal AdamLindenthal committed with pavelbucek Upgrade Jersey version to 3.0-SNAPSHOT
Change-Id: Ie0a0e5f72f41331ce3cac094e6b816271a143717

README.MD

Helloworld webapp Example

This example demonstrates how to create simple Jersey application, package it into WAR file and how to run it using Grizzly container.

Contents

The mapping of the URI path space is presented in the following table:

URI path Resource class HTTP methods
/helloworld HelloWorldResource GET

Application is configured by using web.xml, which registers javax.ws.rs.core.Application descendant to get classes and singletons from it (see class MyApplication).

Running the Example

Run the example as follows:

mvn clean compile exec:java

This deploys the example using Grizzly container. You can access the application at:

Something went wrong with that request. Please try again.