my dog learned polymorphism*
The moose likes Flex and the fly likes Flex with Struts 2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex with Struts 2.1" Watch "Flex with Struts 2.1" New topic
Author

Flex with Struts 2.1

shukla raghav
Ranch Hand

Joined: Aug 03, 2008
Posts: 200
Is it possible to integrate Flex with Struts 2.1 without any hassles i mean with complete reliability. I am developing a Struts 2.1 based application. i have created nearly all the ActionClasses i am yet to identify a reliable client side technology that is impressive and and excellent performance wise. I see all these features in Flex but i dont know if its possible to integrate Struts 2.1 with Flex.

i think it should be possible because what i know is that when using flex the flash player renders an XML file send by the server. DOes that mean that all we need to do is create an xml rendered JSP.

Please elucidate the key concepts behind Flex.

Thanks in advance
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes, Flex and Struts can be integrated. Struts is probably not the best choice of server side framework; BlazeDS would be better, and Struts will contain an awful lot of features you will not need.


i think it should be possible because what i know is that when using flex the flash player renders an XML file send by the server. DOes that mean that all we need to do is create an xml rendered JSP.

The Flash player runs compiled SWFs. The JSP runs server side code, Flash is client side.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
shukla raghav
Ranch Hand

Joined: Aug 03, 2008
Posts: 200
Thanks i have done a lot of googling today and finally i have come to the conclusion that Flex although is very impressive but not suited to my Struts 2.1 application. I think GWT or DOJO would be the best although i am finding performance issues with Dojo.

Thanks alot
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Flex with Struts 2.1
 
Similar Threads
about struts with flex itegration
Flex with j2EE integration
Flex with Struts; Is it good?
struts2 + Flex integration
How to integrate Struts, EJB and hibernate together?