aspose file tools*
The moose likes Flex and the fly likes How easy is it really to couple Java with Flex? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "How easy is it really to couple Java with Flex?" Watch "How easy is it really to couple Java with Flex?" New topic
Author

How easy is it really to couple Java with Flex?

Bill Johnston
Ranch Hand

Joined: Nov 17, 2005
Posts: 201
Wow ... this is exactly the direction that it seems some of what we do will be going here at my place of work - Flex for the web and Java on the back end.

I started taking Adobe's free Flex tutorial, but how difficult is it to tie it on to the Java Server programming?


~Bill
Satish Kore
Author
Ranch Hand

Joined: Feb 10, 2004
Posts: 43
Hi Bill,

To integrate Flex with Java on server you need to have a server framework like BlazeDS or LCDS (or any other third party equivalent remoting framework) and you will have to use one of the Flex's data access methods to access data such as HttpService, WebService or RemoteObject etc.

Thanks,

Satish Kore
"Flex 3 with Java" @ packtpub.com and amazon.com
manoj r patil
Ranch Hand

Joined: Jun 06, 2002
Posts: 181
Just to add to Satish's post ...

...there are bunch of ready event based frameworks available like Cairngorm which is owned by Adobe itself. Its worth taking a look at choosing a flex framework.

I am working on java-flex since last few months and one problem I am facing is session tracking. I am still yet to find the best solution for this. Second problem faced too common is memory leaks when using too many popup screens. But overall I think it may be one of the popular future architectures.


love your job and not your company;
...because you never know when your company will stop loving you!
Bill Johnston
Ranch Hand

Joined: Nov 17, 2005
Posts: 201
Thank you both.
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Does that mean you are stuck with the framework listed out here or is it open enough to integrate with Spring or any other framework? Looks like too many options. There is no one way to do things right?


===Vyas Sanzgiri===
My Blog
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


Does that mean you are stuck with the framework listed out here or is it open enough to integrate with Spring or any other framework?

I think you are missunderstanding where the framework is used. Spring in a Flex application doesn't make any sense. Spring with a Flex application does. The frameworks listed are frameworks for writing just the Flex component (though there is nothing to stop you using their patterns in other layers of your application).


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How easy is it really to couple Java with Flex?