dandaluga / baseball-restful-ws-jersey

An example of a restful application using Jersey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Restful application using the Jersey framework.

  • Start up the jetty server: mvn jetty:run
  • Make an HTTP request through a browser (or Postman, a Chrome plugin) or use the JUnit tests that are included. Note that the JUnit tests require the container to be running.

URL CRUD Examples:

URL Search Examples:

Note that for a search, the Get style can cause alot of havoc in the code since you have to pass the get parameters along to each layer. The Post style is not as Restful but will have much less impact on the code since the search parameters are submitted as Post parameters.

About

An example of a restful application using Jersey


Languages

Language:Java 100.0%