You might want to have a look at http://databinder.net, that project is using hibernate but the setup should be similar? The big problem is that a EntityManager is not thread-safe and should indeed be created per request. Let me know if you get there!
On Nov 9, 2007 1:52 PM, Uwe Schäfer <[EMAIL PROTECTED]> wrote: > hi > > i plan to use JPA together with Wicket. Are there any battle-proven > best-practices out there of how to handle EnityManagers and Transactions? > > What do other people use (no, not the spring crowd ;) ? > > One EntityManager per Request seems to be the obvious idea and a guice > Provider may help with that. Does anyone have serious experiences with > that or other suggestions? > > cu uwe > -- > > THOMAS DAILY GmbH > Adlerstraße 19 > 79098 Freiburg > Deutschland > T + 49 761 3 85 59 0 > F + 49 761 3 85 59 550 > E [EMAIL PROTECTED] > www.thomas-daily.de > > Geschäftsführer/Managing Directors: > Wendy Thomas, Susanne Larbig > Handelsregister Freiburg i.Br., HRB 3947 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
