您的位置:首页 > 理论基础 > 计算机网络

Java Tutorial: How to Create RESTful Java Client using Apache HttpClient – Example

2013-08-27 22:38 423 查看

Java Tutorial: How to Create RESTful Java Client using Apache HttpClient – Example

http://crunchify.com/how-to-create-restful-java-client-using-apache-httpclient-example/
http://www.blogjava.net/Alpha/archive/2007/01/22/95216.html http://www.mkyong.com/java/apache-httpclient-examples/ http://tdcq.iteye.com/blog/711812
server端
http://blog.csdn.net/yanghua_kobe/article/details/7296156 http://www.open-open.com/23.htm
www.oschina.net/code/snippet_222150_8396
http://blog.opendigest.org/show-513-1.html
教育软件方案创意:http://software.intel.com/zh-cn/education-initiative/?utm_campaign=CSDN&utm_source=intel.csdn.net&utm_medium=Link&utm_content=others-%20jiaoyu

2.
http://www.opensrs.com/docs/integration/index.htm#Java_Example.htm http://www.herongyang.com/JDK/HTTPS-Server-Test-Program-HttpsHello.html http://www.mkyong.com/java/java-https-client-httpsurlconnection-example/ http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Frzaha%2Fsslcex04.htm http://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed.html http://code.google.com/p/misc-utils/wiki/JavaHttpsUrl http://www.mkyong.com/webservices/jax-ws/suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/ http://www.tutorialspoint.com/java/java_networking.htm
How do I bypass invalid SSL certificate errors with Apache
HttpClient 4.0?

http://stackoverflow.com/questions/2703161/how-to-ignore-ssl-certificate-errors-in-apache-httpclient-4-0
3. Web

Jersey: https://jersey.java.net/documentation/latest/getting-started.html
Grizzly: http://grizzly.java.net/
Pojo: http://camel.apache.org/pojo.html
WADL: http://wadl.java.net/ https://blogs.oracle.com/japod/entry/jmaki_widgets_talking_to_jersey
YUI: http://yuilibrary.com/ http://www.open-open.com/open154367.htm
jMaki是SUN支持的一个AJAX框架。这个项目的是让Java开发人员在其基于Java的应用程序中(不管是JSP标签库还是JSF组件)都能使用AJAX技术。jMaki使用了Java与JavaScript中最优秀的部分以此来提供一些Rich AJAX style widgets。jMaki当前提供的bootstrap widget是来自Dojo,Scriptaculus,Yahoo
UI Widgets,Spry,DHTML Goodies,和Google等组件库。jMaki提供为这些widget组件库提供了一个公共接口以便让你可以在同一页面中一起使用这些组件库。如果你有兴趣利用jMaki项目来快速开发Web应用程序,可以使用NetBeans
5.5的jMaki插件。这个插件可以直接把jMaki组件拖放到JSP页面中。如果不熟悉该插件可以通过其网站提供一段视频来学习。

4. http://hc.apache.org/httpcomponents-client-ga/tutorial/html/index.html
5. 代码检测工具 http://www.valgrind.org/docs/manual/index.html
6. memcached
http://memcached.org/
working:
https://jersey.java.net/documentation/latest/jaxrs-resources.html#d0e1433 http://blog.csdn.net/xuzhiop/article/details/10122049 https://jersey.java.net/documentation/latest/jaxrs-resources.html#d0e1590 https://jersey.java.net/documentation/latest/uris-and-links.html#d0e7440 http://docs.oracle.com/javase/6/docs/api/java/net/URI.html
7,豆瓣
http://read.douban.com/ebook/379531/ http://read.douban.com/ebook/481489/?icn=profile-guess http://read.douban.com/provider/63687077/?cat=article
7.1师徒网
http://www.sheetoo.com/ http://cs229.stanford.edu/materials.html
8. mockito:
http://docs.mockito.googlecode.com/hg/latest/org/mockito/Mockito.html http://stackoverflow.com/questions/309396/java-how-to-test-methods-that-call-system-exit
9. zookeeper
http://baike.baidu.com/view/3061646.htm
ZooKeeper是以Fast Paxos算法为基础的,paxos算法存在活锁的问题,即当有多个proposer交错提交时,有可能互相排斥导致没有一个proposer能提交成功,而Fast Paxos作了一些优化,通过选举产生一个leader,只有leader才能提交propose,具体算法可见Fast Paxos。因此,要想弄懂ZooKeeper首先得对Fast
Paxos有所了解。[4]
ZooKeeper的基本运转流程:
1、选举Leader。
2、同步数据。
3、选举Leader过程中算法有很多,但要达到的选举标准是一致的。
4、Leader要具有最高的zxid。
5、集群中大多数的机器得到响应并follow选出的Leader。

10. avro, Apache Avro™ is a data serialization system.
http://avro.apache.org/
11. Gson, is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object.
http://code.google.com/p/google-gson/
12/
http://baike.baidu.com/view/416116.htm http://www.lua.org/
13. Spring
http://www.springsource.org/
14.

淘宝开源其系统监控工具Tsar

http://www.pythontab.com/html/2013/linuxkaiyuan_0416/356.html

15.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: