What you want to do is not supported at this time. It requires a
RemoteFactoryBean implementation that knows how to use
ModelGlue.Util.ModelGlueFrameworkLocator to find MG's bean factory.

I've looked into this last year (along with some other enhancements to
RemoteFactoryBean) but since I didn't have a pressing need for it myself I
didn't get to writing an implementation.

If anyone here is interested in helping me out with such an implementation,
I could use some volunteers to provide test code (remote beans and
corresponding MG test harnesses).

Cheers,

-- Dennis

On Wed, Mar 24, 2010 at 9:19 AM, Sir Rawlins <
[email protected]> wrote:

> Hello Guys,
>
> I'm trying to configure a remote proxy in ColdSpring within an MG
> application. The bean definition looks like so:
>
>    <bean id="remoteOrderService"
> class="coldspring.aop.framework.RemoteFactoryBean" lazy-
> init="false">
>        <property name="target">
>            <ref bean="orderService" />
>        </property>
>        <property name="serviceName">
>            <value>OrderService</value>
>        </property>
>        <property name="relativePath">
>            <value>/api</value>
>        </property>
>        <property name="remoteMethodNames">
>            <value>createOrder</value>
>        </property>
>        <property name="beanFactoryName">
>            <value>beanFactory</value>
>        </property>
>    </bean>
>
> Now,  it appears that the issue with this is that the target service
> object is cached in the application scope outside of the model glue
> bean factory, so when I make a change to the code on the CFC and
> reinit the MG application the changes are not propagated to my remote
> proxies and I have to restart the server every time *rolls eyes*
>
> Can anyone explain how I can configure this remote proxy to work with
> the same bean factory as model glue?
>
> Thanks,
>
> Rob
>
> --
> 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]<model-glue%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en
>
> To unsubscribe from this group, send email to model-glue+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

-- 
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

To unsubscribe from this group, send email to 
model-glue+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to