bindListener firing prematurely for bound classes in module?

2012-08-29 Thread TonyD
Hi, There is something I don't understand about binding a listener. Apparently the mere presence of the bind fires for every class that is bound in a module. This is causing me issues, as it means trying to request an injection for a matcher for example will fail. Here is code you can

JSE architecture to inject DAO's members

2012-08-29 Thread Arthur Gregório
hello guys! I am developing a project JSE with Hibernate, JPA and Guice to inject dependencies and part of persistence. But I think there's something wrong with my architecture ... I have the following scenario: I have a bean that maps the database and has the attributes of the person (for

Re: JSE architecture to inject DAO's members

2012-08-29 Thread Stephan Classen
I think you are on a wrong track. You only create one Injector instance for an application and you only start the persistence service once. What you have to do is: - Don't inject EntityManager into your DAO but inject ProviderEntiyManager. The EntityManager is

Re: JSE architecture to inject DAO's members

2012-08-29 Thread Arthur Gregório
can you provide one example in how to use the ProviderEntiyManager is a desktop application... I think not giving in to use PersistFilter with JSE application *Arthur P. Gregório* *+55 45 9958-0302* @gregorioarthur www.arthurgregorio.eti.br 2012/8/29 Stephan Classen st.clas...@gmx.ch I

Re: Comment on GuiceDiscussions in google-guice

2012-08-29 Thread google-guice
Comment by nino.mar...@gmail.com: Don't think so, Guice have always had long release cycles. Please go to google-gu...@googlegroups.com and ask again :) For more information: http://code.google.com/p/google-guice/wiki/GuiceDiscussions -- You received this message because you are subscribed