This old thread but still could be helpful for new people who are facing similar kind of issue. I faced the same issue, and was able to come to solution. I have given the details about the same on my blog http://blog.pandurangpatil.com/2012/10/mulitple-persistence-unit-with-guice.html also created one working sample on Google code http://code.google.com/p/guice-gwt/
Thanks, -Pandurang. On Wednesday, 7 March 2012 19:38:40 UTC+5:30, scl wrote: > > You only exposed the EntityManager in your private module one. > Therefore you can only have the EntityManager injected outside of your > private module. > > If you want to inject the PersistService you would have to expose it (with > annotation). > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-guice/-/iInFfpi_K7YJ. 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.
