On Mon, Aug 24, 2009 at 9:38 AM, Clinton Begin <[email protected]>wrote:

> Posted on another list, I mentioned that I recommend using prototype
> (non-singleton) DAOs and inject the SqlSession instead of the
> SqlSessionFactory.  Think of the DAO not as state and behaviour, but as
> scope.
>


Thanks everyone. I'll rework things now and get rid of the evil singleton:)
and report back with any problems.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to