资 源 简 介
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