web service
ciedecem
这个作者很懒,什么都没留下…
展开
-
Jersey annotation examples
Jersey Tutor URL: https://jersey.java.net/API URL: http://jax-rs-spec.java.net/nonav/2.0/apidocs/index.html?javax/ws/rs/Produces.htmlThe @Produces annotation is used to specify the MIME media type原创 2013-08-30 15:32:26 · 1100 阅读 · 0 评论 -
apache ssl
1. http://httpd.apache.org/docs/2.4/ssl/ssl_intro.html原创 2013-10-14 22:37:46 · 940 阅读 · 0 评论 -
HTTP Keep-Alive模式详解
HTTP Keep-Alive模式详解http://blog.sina.com.cn/s/blog_412952390101471h.html1、什么是Keep-Alive模式?我们知道HTTP协议采用“请求-应答”模式,当使用普通模式,即非KeepAlive模式时,每个请求/应答客户和服务器都要新建一个连接,完成之后立即断开连接(HTTP协议为无连接的协议);当使用Keep-转载 2013-09-27 20:46:42 · 1268 阅读 · 0 评论 -
httpclient
create the ssl server:http://www.mkyong.com/tomcat/how-to-configure-tomcat-to-support-ssl-or-https/https://svn.atlassian.com/svn/public/atlassian/vendor/jersey-1.0.3/trunk/jersey/samples/https-cli转载 2013-10-12 16:26:04 · 850 阅读 · 0 评论 -
HTTP权威指南-连接部分
http://my.oschina.net/flashsword/blog/80036最近买了一本《Http权威指南》,读了之后收获不少。把每章的读书心得都记下来,免得忘记,同时也可以分享一下。HTTP keep-aliveHTTP keep-alive的源头可以追溯到HTTP 1.0之前,因为HTTP是无状态的,HTTP又基于TCP协议,TCP协议在建立新连接时,转载 2013-09-27 20:42:45 · 1191 阅读 · 0 评论 -
关于HTTP keep-alive的实验
http://my.oschina.net/flashsword/blog/80037前面一篇文章提到,HTTP1.1中持久连接已经是默认配置,除非设置Connection为close,否则默认都会进行持久连接。但是我们知道事实标准跟教科书还是可能会有一定差距的,所以不妨自己尝试一下。 我们知道,TCP建立连接时会进行三次握手,而握手是以一方发送一个SYN为开始的。下载转载 2013-09-27 20:41:09 · 874 阅读 · 0 评论 -
[REST Jersey] @QueryParam Demo
This demo sourced from the jersey tutor. https://jersey.java.net/documentation/latest/jaxrs-resources.html#d0e1433 provides the necessary info for you. The jersey is a RESTLet frame to simply the development of a web service.原创 2013-09-03 11:24:55 · 2842 阅读 · 4 评论 -
epoll
http://blog.csdn.net/ljx0305/article/details/4065058转载 2013-10-10 09:59:58 · 412 阅读 · 0 评论 -
url中转义转义字符
http://sucre.blog.51cto.com/1084905/532231http://www.cnblogs.com/yupeng/archive/2012/05/21/2510988.htmlhttp://xace.iteye.com/blog/481814原创 2013-09-30 16:34:35 · 1024 阅读 · 0 评论 -
Google Glass
Google Glass 的 Mirror APIhttps://developers.google.com/glass/overviewGlass is always there when you need it and out of the way when you don't.The software that you build for Glass, called Glas原创 2013-09-10 14:35:27 · 940 阅读 · 0 评论 -
Java Tutorial: How to Create RESTful Java Client using Apache HttpClient – Example
Java Tutorial: How to Create RESTful Java Client using Apache HttpClient – Examplehttp://crunchify.com/how-to-create-restful-java-client-using-apache-httpclient-example/http://www.blogjava转载 2013-08-27 22:38:22 · 1632 阅读 · 0 评论 -
CS公开课
1. https://www.coursera.org/2. 豆瓣http://read.douban.com/ebook/379531/http://read.douban.com/ebook/481489/?icn=profile-guesshttp://read.douban.com/provider/63687077/?cat=article原创 2013-09-03 20:04:04 · 1079 阅读 · 0 评论 -
服务器性能测试工具
服务器性能测试主要通过模拟多用户按照预定义好的规则对服务器进行并行访问,检测并记录服务器的Response Time, Throughput, Server Hits,Memory, CPU等实时数据,通过分析测试数据得到服务器的各项性能指标,从而发现服务器的性能瓶颈和内存泄漏等。主要有:命令模式1. ab/abs他们是apache Http server自带的性能测试工具原创 2014-01-12 22:35:51 · 882 阅读 · 0 评论