Meaningless Drivel is fun!
The moose likes Flex and the fly likes examples of java and flex combined Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "examples of java and flex combined" Watch "examples of java and flex combined" New topic

examples of java and flex combined

Grega Leskovšek
Ranch Hand

Joined: Nov 13, 2008
Posts: 76
I have no knowledge about flex or flash - is flex the IDE for Flash?
Could You give some examples of combination of flex and java for a beginner, what projects should they start can start with?

--Always, Grega from Peace refuge
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Flex is the framework, Flash is the client technology.

If you download a trial version of FlashBuilder there are fairly extensive examples in the documentation. Failing that, Adobe have quite extensive examples on their site, especially the cook book.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Hongli Li
Ranch Hand

Joined: Oct 29, 2006
Posts: 124
the easiest example of combining java and flex in my mind will be making a httpservice call in flex app and declare the return format of httpservice call to e4x and in your servlet you return an xml for flex to consume. if you know how to develop java webapp, this can be done pretty fast. More advanced usage will be using amf protocol, Spring has an integration project for BlazeDS framework, which offers message exchange in binary format, this is far performant than exchange data with xml(by means of webservicies)

Do you know why this cup is useful? Because it is empty.
Filippo diPisa

Joined: May 12, 2010
Posts: 13
In my book Begiing Flex And Java I explain both using HTTPService and RemoteObject components and how to map Java objects to Actionscript Objects using BlazeDS.

here an example of my book that shows how Flex can use the Spring Java user service layer:

I agree. Here's the link:
subject: examples of java and flex combined
It's not a secret anymore!