See below for a good discussion on this:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&;
catid=583&threadid=1169760&enterthread=y#4195442

Jeff Vroom's responses (especially the second one) should help you get
started. The SpringFactory is available to download at the Adobe
Exchange:

http://www.adobe.com/cfusion/exchange/index.cfm#loc=en_us&view=sn611&vie
wName=Flex%20Extension&authorid=70170511&page=0&scrollPos=0&subcatid=0&s
nid=sn611&itemnumber=0&extid=1035406&catid=0

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dreuimar
Sent: Thursday, August 31, 2006 5:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Cairngorm / Hibernate Best Practices

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 <[EMAIL PROTECTED]> 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/H
ibernateAssembler.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



 




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