users@jersey.java.net

how to make resource instance to default to singleton

From: Jon Pelipas <jon.pelipas_at_gmail.com>
Date: Wed, 27 May 2009 10:03:26 +0800

Hi guys,


I'd like to know how to configure/implement jersey to make resource
instances to singleton by default and not to perrequest w/o putting
annotation, i read that it was singleton before but for the latest version
it's already perrequest?

also, with the latest release i'd like to know how to access the reference
of the singleton resources so i can use them in my classes?

thanks in advance
jon