Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Java JavaScript
Latest commit 32043fa @ccoenraets Fine tuned json serialization
changed {wine: []] to {[]}

Wine Cellar Application

The Wine Cellar application is documented here.

This application provides an example of Building a complete RESTful API in Java using JAX-RS and Jersey. Consuming these services using jQuery

Set Up:

  1. Create a MySQL database name "cellar".
  2. Execute cellar.sql to create and populate the "wine" table:

    mysql cellar -uroot < cellar.sql

  3. Import the Dynamic Web Project in Eclipse.

  4. Locate and make sure the JDBC connection string matches your database configuration
  5. Run the project.
Something went wrong with that request. Please try again.