• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How easy is it really to couple Java with Flex?

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

 
Author
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bill Johnston
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you both.
 
Ranch Hand
Posts: 686
Netbeans IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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).
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic