Skip to content

pabiagioli/jersey-guice-bootstrap

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

jersey-guice-bootstrap

RESTful Web Services Application Sample Project with Jersey 1.18.1 and Google Guice 3.0

Dependencies included

  • Servlet 2.5
  • Jersey 1.18.1
  • Guice 3.0
  • guice-persist 3.0
  • gson 2.2.4
  • joda-time 2.4
  • JUnit 4.10

Requirements

  • Java 7
  • Maven 3
  • Tomcat 7

Building

  • Make the war file mvn clean package
  • Deploy the war file in Tomcat 7 with Eclipse or manually

After Deploy on Application Server

  • The REST WS are accessible under /rest/*
  • Front-End not yet implemented.

Creating a Local Maven Archetype

  • Generate an archetype: mvn archetype:create-from-project
  • Go to target/generated-sources/archetype and run mvn install
  • Create a fresh project from Archetype mvn archetype:generate -DarchetypeCatalog=local using com.pampanet:jersey-guice-bootstrap-archetype
  • From Eclipse you have check the "include snapshot archetypes" checkbox, and select the archetype from the catalog after installing it.

About

RESTful Web Services Application Sample Project with Jersey 1.18.1 and Google Guice 3.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages