Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Flash Integration

 
Vu Pham
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm going to develop an application that has Flash in UI layer and Java in Business layer. Do you know how we communicate between them? Or do you know any open source supporting that one?

Thanks,
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I fairly certain Flash can communicate via HTTP. So if the Java code is a Java web app, then you can use HTTP.
 
Vu Pham
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No... I'm developing a desktop application :-)
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vu Pham:
No... I'm developing a desktop application :-)


You can use a desktop application and still make HTTP calls.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouldn't it be easier to just use one or the other? Having to run simultaneous Flash and Java processes seems like a considerable overhead (and I'm saying that without knowing if it's even possible to integrate them).
 
Lenkwe Makhubela
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Vu Pham!

You can integrate Flash by using the Cairngorm Flex framework. Have a look at the following link for further details:
opensource.adobe.com/wiki/display/cairngorm/

Thanks,
Lenkwe
 
Bill Shirley
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you want to look at is Blaze Data Services, also known as BlazeDS.

It requires that you duplicate your model/value objects from Java in ActionScript, and allows object graphs to be passed in binary via AMF.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic