On Sat, 17 Nov 2007 14:41:16 -0200, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

On Nov 16, 2007 10:39 PM, Patrick Moore <[EMAIL PROTECTED]> wrote:
I disagree with philosophy of forcing people to have the services only
injected via constructors because:

   1. it results in a monster constructors for some key services.

I would say that those key services may be insufficiently factored
into smaller cooperating services.  Seperation of concerns!

What about services you can't add constructors, like Hibernate sessions?

--
Thiago H. de Paula Figueiredo
Desenvolvedor, Instrutor e Consultor de Tecnologia
Eteg Tecnologia da Informação Ltda.
http://www.eteg.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to