Top "Dropwizard" questions

Dropwizard is a Java framework for developing ops-friendly, high-performance, RESTful web services.

Dropwizard: How to stop service programmatically

To start the service, I know one uses new MyService().run(args). How to stop it? I need to start …

java dropwizard
MappingException: Could not interpret id generator strategy with custom id generator

I need a custom id generator that saves the last used id rather than the next available, so based on …

hibernate jpa dropwizard
MultiException when custom jersey param throws exception

NOTE: All code to reproduce this problem is available at https://gist.github.com/SrikanthRao/c9fc35e6fe22a74…

java jax-rs jersey-2.0 dropwizard
How to deploy a dropwizard application

I read some comments about the build of dropwizard applications: [1] "Dropwizard is designed to run as a JAR, not as …

java tomcat deployment production dropwizard
Serialization errors due to jackson-databind version mismatch?

I am running into the following error java.lang.NoSuchFieldError: WRITE_DURATIONS_AS_TIMESTAMPS at com.fasterxml.jackson.datatype.joda.…

maven serialization dropwizard jackson-modules
How to maintain user sessions in DropWizard?

I am looking for a persistent session manager which saves the session on file system (like PHP) that can be …

session dropwizard
How to pass parameter to JsonSerializer?

I have a simple data service : @GET public Data getData(@QueryParam("id") Long id) { Data data = dataService.getData(id); return …

java jackson jax-rs dropwizard jsonserializer
Using @Transaction in JDBI / Dropwizard application

I hava two jdbi dao like these: public interface dao1 { @Query("insert into table1 ...") findByid(myBean1); } public interface dao2 { @Query("…

java transactions dropwizard jdbi
How to log JSON responses in Dropwizard (Jersey)

I would like to know how one would configure Dropwizard to log the JSON response.

java http jersey dropwizard
How to print server responses using LoggingFeature in Dropwizard 1.0.2?

The following code results in JSON server responses being printed in Dropwizard 0.9.2 and 1.0.2: return ClientBuilder .newBuilder() .build() .register(new LoggingFilter(…

java json jersey dropwizard jersey-client