- Richard
On 10/17/05, Richard Rodseth <[EMAIL PROTECTED]> wrote:
Hi. I'm trying to evaluate SpringBeanAdapter from Carbon Five, but have not bean able to get it to work. Suggestions would be much appreciated. I've included excerpts from the various files below.
Thanks
- Richard
>From server-log:
INFO: Creating shared instance of singleton bean 'projectDelegate'
...
Error: Service spring://projectDelegate not found.
>From flex-config:
<named>
<object name="projectListRO">
<source>com.xyz.abc.services.ProjectDelegate</source>
<type>stateful-class</type>
<allow-unnamed-access>false</allow-unnamed-access>
</object>
<object name="projectListRO2">
<source>spring://projectDelegate</source>
<type>stateless-class</type>
<allow-unnamed-access>false</allow-unnamed-access>
</object>
</named>
>From gateway-config:
<service-adapters>
<adapter type="stateless-class">com.carbonfive.flash.spring.SpringBeanAdapter</adapter>
<adapter type="stateful-class">com.carbonfive.flash.spring.SpringBeanAdapter</adapter>
<adapter>flashgateway.adapter.resultset.PageableResultSetAdapter</adapter>
<adapter type="stateful-class">flashgateway.adapter.java.JavaBeanAdapter</adapter>
<adapter type="stateless-class">flashgateway.adapter.java.JavaAdapter</adapter>
<!--<adapter type="ejb">flashgateway.adapter.java.EJBAdapter</adapter>-->
<adapter type="servlet">flashgateway.adapter.java.ServletAdapter</adapter>
<!--<adapter type="jmx">flashgateway.adapter.java.JMXAdapter</adapter>-->
<!--<adapter type="ssas">flashgateway.adapter.java.SSASAdapter</adapter>-->
</service-adapters>
>From mxml file:
<mx:RemoteObject id="projectListRO" named="projectListRO"
result="projects=event.result" fault="alert(event.fault.faultstring, 'Error')">
<mx:method name="getProjects"/>
</mx:RemoteObject>
<mx:RemoteObject id="projectListRO2" named="projectListRO2"
result="projects=event.result" fault="alert(event.fault.faultstring, 'Error')">
<mx:method name="getProjects"/>
</mx:RemoteObject>On 10/13/05, Richard Rodseth < [EMAIL PROTECTED]> wrote:Any reports from the field on SpringBeanAdapter?
http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.html
Thanks
- Richard
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

