Hi Team;

I am trying to do domain driven development. I would like my domain model
objects to have all their behaviour methods. Previously i have been using
dao's and managers to hold the behavior methods for the domain classes (i
hope its clear). My question is, How do i inject services into my domain
objects? is it a good idea? i would like to for example inject the entity
manager to a domain class so that i can call save from the domain object its
self.

Kind regards.
Josh

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