users@jersey.java.net

Injectable providers

From: Comerford, Sean <Sean.Comerford_at_espn3.com>
Date: Fri, 4 Dec 2009 16:48:49 +0000

After getting side tracked for awhile, I¹m starting to look heavily at
Jersey again.

Awhile back I had asked about having JPA EntityManager¹s injected into my
resources.

Paul explained that this sort of thing wouldn¹t be available until Java EE 6
time frame but that one potential interim solution was to use Jerey¹s
CloseableService.

Can Paul or anyone else point me to more information on this?

Currently I¹ve more or less rigged up my on framework (and I use that term
loosely here :-) for injecting the em or emf into my resources but am
looking for a more standardized method.

Would like to avoid introducing Spring - too many frameworks we don¹t
currently use in the mix already plus it seems like overkill for what I¹m
looking to do :-)

-- 
Sean Comerford, Software Engineer
ESPN.com Site Architecture Group
Office: 860.766.6454    Cell: 860.329.5842