【问题标题】:GWT: Expose the service implementation class as web serviceGWT:将服务实现类公开为 Web 服务
【发布时间】:2012-05-09 08:31:35
【问题描述】:

问题场景是:我正在编写一个 Google 小工具。小工具中显示的数据将来自我部署的 GWT 应用程序。我打算从 Java 脚本调用 Web 服务来显示所需的数据。

我需要知道如何将诸如 GreetingServiceImpl 之类的服务实现类(默认生成为 Eclipse GWT 项目中的示例)作为 Web 服务公开。

我确实尝试使用此处建议的方法公开逻辑(http://igorshare.wordpress.com/2009/05/20/building-gwt-web-clients-part-2-how-to-expose- rest-full-jax-rs-service-with-jersey-on-tomcat-server/)。

但我没有创建动态 Web 项目,而是在 Eclipse 中创建了 Google Web 项目。我得到了 404 异常。

有什么建议为什么我会收到 404 错误?

问候, 维克拉姆

【问题讨论】:

    标签: web-services gwt web


    【解决方案1】:

    检查这个:Retrieving JSON Data

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多