- 博客(4)
- 收藏
- 关注
原创 JSON-RPC for Java 访问bitcoind服务
1.bitcoin.conf配置: server=1 rpcuser=name rpcpassword=pwd rpctimeout=30 rpcport=8332 2.json-rpc for java maven com.github.briandilley.jsonrpc4j jsonrpc4j 1.1
2015-03-13 17:12:08 6369 4
原创 HttpClient4.x 多线程请求
基本过程:使用httpclient发起多线程的请求,将返回的数据临时放在ArrayBlockingQueue中,单独开启一个线程读取ArrayBlockingQueue中的数据并写入磁盘上的文件。 启动请求线程 import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; i
2015-03-13 15:24:42 2661
原创 Servlet中访问spring容器管理的bean
条件:使用框架为springMVC import javax.servlet.http.HttpServlet; import org.springframework.context.ApplicationContext; import org.springframework.web.context.support.WebApplicationContextUtils; public cla
2015-03-13 15:12:56 366
转载 springMVC中spring容器启动流程
springMVC中spring容器启动过程,从web.xml配置文件开始分析。 org.springframework.web.context.ContextLoaderListener ContextLoaderListener监听ServletContex的初始化,ServletContext初始化的时候调用继承自ContextLoader的initWebApplicatio
2015-03-13 11:05:25 1673
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人