我在 localhost:8080 上运行了一个 Tomcat 服务,并且我已经安装了 BlazeDS。我创建并配置了一个像这样的简单 hello world 应用程序......
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