Looking for a dropwizard example I found:
https://github.com/codahale/dropwizard/tree/master/dropwizard-example
But I am interested in a more complete example with at least:
- a 1:n relationship like customer - account
- a html gui represenation at least with forms
- full crud support for xml
2 out of three would be a start and would earn "accepted" by me.
follow below step.
Add dependencies in pom file
Create configuration class
Create Service class
Note: put below configuration.yml file in current directory
4. Write Index resources.
Write POJO for Blog and Users like
Run BlogService which will start the Jetty server and hit the localhost with port such as http://localhost:8079/