You can use ColdSpring to provide the Factory if you need it. Personally I
haven't needed access to my service layer from my domain objects (beans). I
just the have the service layer in charge of creating the instances of the
beans and getting them setup.

--Kurt

On Tue, Oct 9, 2012 at 2:37 AM, drfishflan <[email protected]> wrote:

> One of my colleagues has suggested implimenting the Factory design
> pattern... This seems overkill to me though considering I just want to add
> a few methods to a Bean.
>
> ...
>
>
> On Tuesday, 9 October 2012 07:42:59 UTC+1, drfishflan wrote:
>>
>> Another question!
>>
>> I have various Beans in my application with appropriate getters and
>> setters... I have also begun to include some business logic inside of these
>> beans.
>>
>> I now understand it would be better to move this business logic within a
>> BeanManager.
>> SO
>> for my bean
>> UserBean.cfc
>> I would also havea
>> UserBeanManager.cfc
>>
>> I would imagine that my "UserBean.cfc" would extend my
>> "UserBeanManager.cfc" this including all of its methods?
>>
>> Does this sound logical?
>>
>> Thanks very much for any responses!
>>
>  --
> --
> To post to this group, send email to
> [email protected]
> For more options and to unsubscribe, visit this group at
> http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>
> New (July 2012): We've moved to GitHub:
> https://github.com/Mach-II/Mach-II-Framework
>
>
>

-- 
-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

New (July 2012): We've moved to GitHub: 
https://github.com/Mach-II/Mach-II-Framework


Reply via email to