http://www.ibm.com/developerworks/web/library/wa-aj-tomcat/index.html
Curl is a popular command-line tool that can send requests to a server using protocols like HTTP and HTTPS. It is a good tool to communicate with RESTful Web services because it can send content by any HTTP method. Curl is already distributed with Linux® and Mac, and there is a utility that you can install for the Windows® platform (see
Resources).
http://www.infoq.com/cn/articles/springmvc_jsx-rs
(@RequestParam
(@RequestBody
(@PathParam("username")
(@QueryParam("username")