Hi Tatu,
I tried playing with DropWizard but now I'm getting frustrated with
the component that I knew would annoy me: Hibernate Validator (I've had
bad experiences with anything related to Hibernate).
I created the sample application mentioned here:
http://dropwizard.codahale.com/getting-started/
But then I added the following method inside HelloWorldResource:
private void foo(@NotNull @Valid String value) {
System.out.println("*******************inside: " + value);
}
and I invoke foo(null) from sayHello(). I am expecting the
validator to throw an exception since I am passing in null, but instead
the calls continues as if nothing is wrong. What am I missing?
Thanks,
Gili