The same concept can be applied with the controller's beans attribute
in Gesture as well.  All that does is abstract the injection even
further - eliminating the need to write a series of setter methods in
your component.

On Sep 22, 12:23 pm, Chris H <[EMAIL PROTECTED]> wrote:
> hey steve, thanks for the reply. i was talking about the new injection
> in Gesture 
> though:http://www.model-glue.com/blog/index.cfm/2008/1/15/ModelGlue-3-Beans-...
>
> On Sep 22, 7:18 pm, Steve Brownlee <[EMAIL PROTECTED]> wrote:
>
> > 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