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.
That looks like a nice example as well: https://github.com/spinscale/dropwizard-blog-sample
I wrote an example in my Dropwizard XML Bundle project:
https://github.com/yunspace/dropwizard-xml/tree/master/dropwizard-xml-example
It's probably the closest to what you are looking for. It has:
Adding HTML gui via Freemarker or Mustache templates should be pretty trivial and is covered in the standard docs.
A good example who want dropwizard with authentication.
Dropwizard: Authentication, Configuration and HTTPS https://dzone.com/articles/getting-started-dropwizard-0
Take a look at some of my Dropwzard projects
In particular the MultiBit Merchant projects (Admin, Store and Platform) will provide you with a wealth of demonstration code that shows how to get stuff done in Dropwizard. There is also an example of OpenID with Dropwizard that should provide a good launch point for a new application.
They are all FOSS under the MIT license.
You can try this project from Github.
Dropwizard: CRUD operation, HTML views, Healthcheck
https://github.com/HoldInArms/dropwizard-mssql-crud-example
Wolfgang,
here is an example Dropwizard application where Authentication, Configuration and database access using Hibernate are used.
The application is discussed in several tutorials:
And here is another example, where one can store bookmarks for authenticated users and access data via REST API.
Good luck.