gwt - 如何从 Google Web Toolkit 进行 REST 调用?

标签 gwt rest cxf

我有我的 Restful CXF 服务,使用默认的 JSON 提供程序生成 JSON。我想知道我们是否可以使用 GWT 来构建使用 Restful 服务的客户端。它会起作用吗?如果不是,对于这种类型有什么简单的解决方法?

谢谢。 问候

最佳答案

它会起作用的。请参阅this 。引用如下:

GWT does not limit you to this one RPC mechanism or server side development environment. You are free to integrate with other RPC mechanisms, such as JSON using the GWT supplied RequestBuilder class, JSNI methods or a third party library.

关于gwt - 如何从 Google Web Toolkit 进行 REST 调用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6710387/

相关文章:

java - 企业 GWT 应用程序是否需要额外的客户端-服务器传输?

java - 如何断言 KeyPressEvent 是否是任何键盘字符?

java - gwt-openlayers - 显示路线

rest - FHIR RESTful 在一次调用中添加多个患者资源

java - Spring下如何在Jetty服务器上发布CXF webservice?

web-services - 通过 Apache Camel 调用 CXF webservice

jax-rs - 使用 CXF JAX-RS 的 Liferay 7.1 自定义 portlet

java - GWT 接口(interface)问题 : Breaking on exception: TypeError: Cannot read property 'getRestWrapper' of undefined

java - 缺少必需的请求正文,但它存在

java - Spring RestTemplate 不存在必需的字符串参数