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

您现在的位置是:虫虫源码 > 其他 > 新译本“JAX-RS像“历史令牌管理

新译本“JAX-RS像“历史令牌管理

  • 资源大小:126.92 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: JAXRS 管理 令牌 历史 译本

资 源 简 介

In the GWT framework, you have to handle a simple String value for describing your current page. If you are trying to handle the history the correct way, you have to do some lame string parsing in order to extract some ids from the token. A very similar problem has been solved in a very elegant way on the server side for processing URLs with JAX-RS. So, why not using the same API on client side ? This is the purpose of this framework. It"s very similar to JAX-RS developpement, it use the same annotations. You don"t know JAX-RS ? Check this tutorial for a quick view of JAX-RS on server side : Overview of JAX-RS @sun Benefits : * Easy history handling * No manual string spliting and parsing * Easy to use (using beans) * Cleaner code * Modularity You can in some extend expose the same class on both client and server side this will produce : http://.../MyFile.html#pe
VIP VIP
0.173008s