Skip to content

echinthaka/dropwizard-jdbi-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dropwizard-jdbi-template

Project template for a REST service exposed through dropwizard and backed by an embedded Derby accessed through JDBI.

This contains,

  • Dropwizard application exposing REST server
  • UserDAO which uses JDBI to interact with database
  • Embedded Derby integration
  • Sample test clients

which works together out-of-the-box.

Usage

To start the server,

  • create the distributable by running "mvn clean install"
  • move to target folder and run "java -jar dropwizard-jdbi-template-1.0-SNAPSHOT.jar server ../myapp.yaml"

The server will start at port 8080. You can use UserResourceClient to interact with it. You can also get into admin interface by going to http://localhost:8081

About

Project template for REST server exposed through dropwizard and backed by an embedded Derby accessed through JDBI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages