Hi Dan,

As discussed off-list I have finally decided to bite the bullet and
try this option.

However I am going to need some help with the nuts and bolts of
actually doing it.

Say I create a Bean Factory in app1 called "app1BeanFactory":

ie. Somewhere in app1:

<cfset app1BeanFactory=
createObject("component","coldspring.beans.DefaultXmlBeanFactory").init()/
>
<cfset app1BeanFactory.loadBeansFromXmlFile("/path/to/file.xml",true)/
>

Then in app2's Application.cfm do I do the same thing again?

<cfset app1BeanFactory=
createObject("component","coldspring.beans.DefaultXmlBeanFactory").init()/
>
<cfset app1BeanFactory.loadBeansFromXmlFile("/path/to/file.xml",true)/
>

Then I am going to need to do something like this, right?

<cfset app2BeanFactory.setParent(app1BeanFactory)>

But it won't be app2BeanFactory will it - what is the correct way to
reference MG's bean factory?

I hope what I'm trying to say makes sense...it's not fully clear in my
own mind yet. :-)

Andrew.
--~--~---------~--~----~------------~-------~--~----~
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