score:0

you are creating a new spring context on every instance creation of your servicefacade, try either injecting the context or creating a singleton. i don't believe jax-rs or resteasy gurantees only a single instance of a annotated class is created.

also, i am just getting up to speed on scala myself, but should you not place the annotations on the implementation and not the trait?


Related Query

More Query from same tag