Flex2java Interactive Objects

Source: Internet
Author: User
<s:remoteobject id= "Ro1" destination= "Runobject" endpoint= "http://localhost:8889/FlexJava2Demo/messagebroker/ AMF "><s:method name=" teststring "fault=" Method1_faulthandler (event) "result=" Method1_resulthandler (event) " ></s:method><s:method name= "TestMethod" fault= "Method2_faulthandler (event)" result= "method2_ Resulthandler (event) "></s:method></s:RemoteObject>

Flex and Java can be converted via the XML,JSON,AMF protocol.
The Xml,json is transmitted over the HTTP protocol. Data interaction based on the Httpservice,webservice form.
The AMF protocol is based on the binary form of the data interaction, do not need to parse the Xml,json, from its own development to recommend the use of AMF protocol.

Methods within a Java class can be called remotely

Flex2java Interactive Objects

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.