On Fri, Jun 11, 2010 at 1:11 AM, Dhanji R. Prasanna <[email protected]> wrote: > To configure JPA with Guice we have an extension in the works guice-persist.
You can also try: http://code.google.com/p/tadedon/ Example is here: http://code.google.com/p/tadedon/source/browse/tadedon-guice-persistence/src/test/java/com/xemantic/tadedon/guice/persistence/testdata/CustomerService.java http://code.google.com/p/tadedon/source/browse/tadedon-guice-persistence/src/test/java/com/xemantic/tadedon/guice/persistence/testdata/DefaultCustomerService.java Instead of injectring Provider<Transaction> you can simply inject Provider<EntityManager>. -- "Meaning is differential not referential" kazik 'morisil' pogoda http://www.xemantic.com/ http://blog.xemantic.com/ -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
