Quoting Mike Heath <[EMAIL PROTECTED]>:

> > +1, let's get started doing some POJO
>
> +1

yup.

> Can we stop the debate and just vote on a DI design pattern we should
> follow?  I for one am a strong proponent of providing both methods for
> DI.  Each POJO should have a default constructor and a dependency
> injecting constructor that calls the setter dependency injectors.  This
> would provide maximum compatibility and flexibility with the various
> containers.
>

I am happy with that. (wont work directly with cdi, but all you require is
subclass with same main constructor with a super call)

Daniel.

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

Reply via email to