> On Tue, Jun 9, 2009 at 9:40 AM, Martin >> In most cases I would make it thread-scoped anyways so the same >> structure applies. > > Right, but you can't use the same "hooks" to start/stop your > transactions that you do with Wicket. You have to do it at the > executor level, while it executes the "job" or "task" or whatever you > want to call it.
Well, the executors themselves sure Start and Stop differently, but they can use same invocations for starting/stopping the entitymanagers (actually: in the discussed example the hooks used in Wicket are from EntityManagerUtils -class and they are the only hooks available even if hooking from an Executor). ** Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org