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 Backbone.js client application
Set Up:
-
Create a MySQL database name "cellar".
-
Execute cellar.sql to create and populate the "wine" table:
mysql cellar -uroot < cellar.sql
-
Import the Dynamic Web Project in Eclipse.
-
Locate cellar.properties and make sure the JDBC connection string matches your database configuration
-
Run the project.