首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > JAX-RS注释资源生成客户端代理

JAX-RS注释资源生成客户端代理

  • 资源大小:119.26 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 客户端 JAXRS 资源 生成 注释

资 源 简 介

Overview Scans JAX-RS annotated REST resource interfaces and constructs client-side proxies for consumption of those resources, parsing response objects into JavaScript Overlay Types. This allows for a RESTful web service to be used in a manner very similar to GWT-RPC, abstracting away path and resource information. Why? GWT"s built-in RPC facility is fantastic. It is a great choice if you control both the server and the client and if you do not need to expose the server-side endpoints to other clients. The gwt-jaxrs-proxy project came about when our team was co-developing both a RESTful web service and a UI using GWT. We found that by judicious use of interfaces on the server side for both model objects and JAX-RS-annotated service objects, we could use GWT"s deferred binding to replicate much of the coding nicety of GWT-RPC in consuming our RESTful web service. The big advantage we found in this approach was that the server-side cou

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP