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




Reply via email to