> WorkerThread is designed to not hold on to State inbetween different> Requests.
> Are there plans to add this functionality? i think i could soubmit patch
> which will adds
> Context.AttributeScope.WORKER, <http://Context.AttributeScope.WORKER> i
> want to use this for pooling JDBC connections.
Couldn't you just get away by using ThreadLocal in your Filter or any Worker executed class?
Something like:
private static class ThreadLocalConnection extends ThreadLocal {
public Object initialValue() {
return DriverManager.getConnection("jdbc");
}
}
--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196