Parent Bean Factories (PBF) are a ColdSpring-specific concept, the gist is this:
Set up a beans.xml file that contains all the beans that will be shared across multiple applications and use that to create a bean factory instance in the server scope, say at server.beanfactory. Then in your applicaiton's index.cfm, set the ModelGlue_PARENT_BEAN_FACTORY to server.beanfactory and MG will take care of the rest. Then you just have to keep in mind that when you call getBean() against a bean from the bean factory, any changes you make to its instance data will be shared across all applications using that bean factory as a parent bean factory. Sounds sooooooo simple, dunnit? ;) Google "modelglue parent bean factory" and you'll find articles by both Ray Camden and Sean Corfield explaining things in detail. ;) On Dec 2, 2009, at 6:46 PM 12/2/09, Brett Herford-Fell wrote: > Hi Denstar, are sub-application's / parent bean factories documented > anywhere?.. > > I'm assuming this is a common request to do this? -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog 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
