Flex can't access your Spring Beans directly. Similar to SpringWeb how
you set up Controllers which map to a URL pattern, your Facade
(JavaPojo) which have the methods which your AS delegate will call.

There is a good example with source code here:
http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_1.cfm

--- In flexcoders@yahoogroups.com, "dreuimar" <[EMAIL PROTECTED]> wrote:
>
> Thanks for the info, I've actually been using Spring predominantly for
> my standard J2EE web apps, but haven't used it with Flex. I know it's
> possible, and have been thinking of doing a Flex/Spring/Hibernate
> setup, but haven't yet. Is it difficult to use Spring with Flex, and
> where would I go to begin?
> 
> Also, 4 years of a going to a Liberal Arts school forces archaic words
> like 'hitherto' into your vocabulary, haha.
> 
> --- In flexcoders@yahoogroups.com, e baggg <e_baggg@> wrote:
> >
> > Brennan,
> >   I haven't seen the word "Hithero" used since I was forced to read
> Shakespeare back in high school. Way to bring it back! Anyway, Adobe
> has provided Hibernate support via the Hibernate Assembler:
> > 
> >
>
http://livedocs.macromedia.com/flex/2/fds2javadoc/flex/data/assemblers/HibernateAssembler.html
> > 
> > I actually created an app that is front-to-end using the
> RemoteObject. I have my Java pojos which are mapped to my hibernate
> mapping files and I also have the AS classes that correlate to them
> too, using the:
> > [Managed]
> >  [RemoteClass(alias="com.project.MyClass")]
> > 
> > I pass all my objects to a pojo facade class which in turns invokes
> my Sprign beans. Within the facade, all the hibernate and trasactions
> are taken care. My objects are pretty light, so to avoid lazy-loading
> issues on the client side, i set lazy=false at the class level for all
> my hibernate mappings. This works well for me and I have not faced any
> performance issues. 
> > 
> >             
> > ---------------------------------
> > Stay in the know. Pulse on the new Yahoo.com.  Check it out.
> >
>







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



Reply via email to