Hi Chris, good question.

The two ideas are actually unrelated.  Automatic bean injection is
simply a mechanism in your application's configuration that will look
for certain methods in each component and then inject any matching
components.  It doesn't create any tier to your framework at all, nor
affect how you use object oriented principles to model your
components.

You can have a perfectly decoupled OO component architecture, and then
choose whether or not you want to use autowiring.  Whichever decision
you make has no impact on your design.  The only impact it has is
whether you create constructor logic or getters and setters.

Hope that makes sense.

On Sep 22, 11:15 am, Chris H <[EMAIL PROTECTED]> wrote:
> just a general question, because i've just gotten into ColdSpring and
> everything related:
> it's not a good thing to use the new automatic bean injection because
> this creates another tier to the framework (which according to Briak
> Kotek and others should be avoided). it's a nice feature to have for
> easy injection, but not ideal for a true OO design, right?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to