users@jersey.java.net

Custom Configuration in Jersey App - where to put

From: saturon <netbeans_at_vtxfree.ch>
Date: Thu, 3 Sep 2009 01:06:41 +0200

Hi there,

Where is the best place to put custom global configuration (like mail
host, email senders, etc.) of a jersey webapp (running inside GF v2) ?

Database is not an option.

Would like it to be file based that can be changed without recompiling,
just redeploy.

AFAIK web.xml init-params are not accessible from Jersey. Is this still
the case with the latest releases?


Regards Ben