Mikhail
Mikhail

Reputation: 769

Granite bridge between Java and AS

I'm trying to create bridge between Java and ActionScript applications using Granite. I found many tutorials which guides how to build it through Flex, but is there any way to call Java services using Granite in ActionScript?

Upvotes: 1

Views: 342

Answers (1)

J_A_X
J_A_X

Reputation: 12847

Yes, it's called Web Services. You can't have AS called Java directly since they're not linked in any way, unless you use an Android deployment and modify the Java container, but that's another thing altogether. You need to remember that if you're using Flash, it's using the Client-Server methodology of doing things. They're 2 separate entities that need to communicate with each other using a certain protocol which is for the most part HTTP requests.

Upvotes: 2

Related Questions