Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Flash Integration  RSS feed

 
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: 42970
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
Bartender
Posts: 11445
18
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: 42970
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
Boost this thread!