Perfect. Thanks. ------------------------------------------------- Jim Schneider EyeCodeRight, LLC 1-877-370-6906 1-612-605-5399 -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Sunday, January 15, 2006 12:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Remote Object/Spring Beans
Hi Jim Have you looked at SpringBeanAdapter? http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.html - Richard On 1/11/06, Jim Schneider <[EMAIL PROTECTED]> wrote: > > > > If I were to go down the path of using remote object access and wanted to > use Spring beans on the back end for service implementation, would I still > need to have a thin layer/delegate to get to the Spring bean? (I'm assuming > this will make sense to some of the J2EE guys out there). > > > > For example (ignoring obvious syntax and casting problems): > > > > // Flex calls "delegate" remote object, doSomething method > > // RemoteObject = Delegate.java > > // ServiceBean = POJO with Spring id = "someSpringBean" > > > > > > Public class delegate > > { > > Public void doSomething() > > { > > > beanFactory.getBean("someSpringBean").doSomething(); > > } > > } > > > > > > Just wondering whether there's a work-around (or code generator) so that I > don't have to duplicate every method in my "someSpringBean" in the thin > delegate layer. > > > > Thanks, > > > > Jim > > > > ------------------------------------------------- > > Jim Schneider > > EyeCodeRight, LLC > > 1-877-370-6906 > > 1-612-605-5399 > > > > -- > 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. > > ________________________________ > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/