سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top