我有一個在localhost上運行的Tomcat服務:8080,我已經安裝了BlazeDS。我創建和配置這樣一個簡單的Hello World應用程序...什麼是BlazeDS請求的查詢字符串?
package com.adobe.remoteobjects;
import java.util.Date;
public class RemoteServiceHandler {
public RemoteServiceHandler()
{
//This is required for the Blaze DS to instantiate the class
}
public String getResults(String name)
{
String result = 「Hi 」 + name + 「, the time is : 」 + new Date();
return result;
}
}
隨着我什麼查詢字符串可以通過調用只是一個瀏覽器RemoteServiceHandler我的Tomcat實例?像... http://localhost:8080/blazeds/?xyz
是的,請求是通過HTTP POST。 AMF是一種二進制編碼方案,它甚至可以檢查原始消息而非常痛苦。 – 2010-01-26 14:04:49