Top "Dropwizard" questions

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

No session currently bound to execution context

I got below exception when I used session.getCurrentSession(). I have mentioned hibernate.current_session_context_class: managed org.hibernate.…

java spring hibernate session dropwizard
Can I have multiple configuration files in DropWizard?

I want to have several yaml files for DropWizard. One of them contain sensitive info and one non sensitive. Can …

java dropwizard
How do I get the JSON body in Jersey?

Is there a @RequestBody equivalent in Jersey? @POST() @Path("/{itemId}") @Consumes(MediaType.APPLICATION_JSON) public void addVote(@PathParam("itemId") Integer …

java rest jersey dropwizard
Using Transaction with JDBI / IDBI / Dropwizard -- rollback problems

I'm having a lot of trouble getting transactions to work with IDBI. We're using the dropwizard framework and simple inserts, …

java mysql transactions dropwizard jdbi
jdbi return autogenerated value on inserts

I am playing with dropwizard and I want to build a REST application that has various foreign-key relations in the …

dropwizard jdbi
Custom Method Annotation using Jersey's AbstractHttpContextInjectable not Working

I want to restrict some methods if they are being accessed in a non-secure manner. I'm creating a @Secure annotation …

java annotations jersey dropwizard
Overriding server connector config with env variables with dropwizard

I have posted this question on dw mailing list but didnt get an answer. Can I assume the YML format …

java dropwizard
Throttling a Rest API in Java

I wanted to add a way to throttle the number of requests coming on each API from a certain client. …

java rest dropwizard throttling
Dropwizard doesn't log custom loggers to file

I have a dropwizard app, where I configured logger appenders to file as follows: logging: level: INFO loggers: "mylogger": INFO "…

java logging slf4j logback dropwizard
DropWizard Bootstrap vs Configuration vs Environment

A typical DropWizard application specifies an Application subclass, and override its initialize method like so: class MyApplication extends Application<…

jersey jetty jax-rs dropwizard