搜索结果
"tag:"java""
标题及摘要 | 日期/时间 | |
---|---|---|
361
|
What does the exception "java.net.SocketException: Connection reset by peer" mean? How can this be avoided?
It usually happens when the connection was reset by the peer -- that is, when the client unexpectedly closed the socket. This happens when the user clicks "stop", or "reload", or "back", or enters a new URL, or closes his Int... |
2005-12-30 22:40:28 |
362
|
java URLConnection and timeout and non-blocking io
自从JDK1.5以后java.net.URLConnection加入了setConnectTimeout(int timeout),但是也有办法在JDK1.5以前获得这个功能。 Adding Socket Timeout to java.net.URLConnection HTTPClient Version 0.3-3 The Jakarta Commons HttpClient 另外,可以通过以下两个语句来设置相应的超时: System.setProperty("sun.net.client.... |
2005-12-30 6:28:59 |
363
|
Non-blocking IO and blocking queues
Well performing NIO code is a Good Thing. But getting details of how to do it right is difficult. The examples supplied with the JDK are complete noddy. There's a link on Sun's site to an example but that has a race condition. O'Reilly's NIO book cops out ... |
2005-12-30 4:11:16 |
364
|
JAVA开发者应该去的20个英文网站
[http://www.javaalmanac.com] - Java开发者年鉴一书的在线版本. 要想快速查到某种Java技巧的用法及示例代码, 这是一个不错的去处. [http://www.onjava.com] - O'Reilly的Java网站. 每周都有新文章. [http://java.sun.com] - 官方的Java开发者网站 - 每周都有新文章发表. [http://www.developer.com/java] - 由Gamelan.com 维护的Java技术文章网站. [h... |
2005-12-21 6:28:21 |
365
|
架构宣言: MDA 实战
在这一期文章中,把已经学到的关于 MDA 的知识应用于实践,了解如何使用开放源码的模型驱动架构(MDA)工具来简化 Spring-Hibernate 的开发。 |
2005-12-14 9:51:51 |
366
|
Java 理论与实践: 并发在一定程度上使一切变得简单
对于每个项目,象许多其它应用程序基础结构服务一样,通常无需从头重新编写并发实用程序类(如工作队列和线程池)。这个月,Brian Goetz 将介绍 Doug Lea 的 util.concurrent 包,这是一个高质量的、广泛使用的、并发实用程序的开放源码包。 |
2005-12-14 9:33:23 |
367
|
Java 理论与实践: 线程池与工作队列
原英文地址 原中文地址 |
2005-12-13 23:23:05 |
368
|
WebSphere的SystemOut.log的日志中发现J2CA0075W的警告
ConnectionMan W J2CA0075W: 处理方法 allocateMCWrapper 时应该存在活动的事务。 |
2005-12-9 22:13:27 |
369
|
The Jakarta Commons Sandbox ——Proxy
使用Java动态代理可以延迟初始化对象,使程序更安全,记录对象行为,性能监控 |
2005-12-2 9:40:36 |
370
|
如何在Linux/Unix运行一个守护Java程序
Daemon - Daemon : Java based daemons or services Introduction Actualy only the UNIX like platforms are supported. The sources are located in the src/native/unix subdirectory of the project sources. For win32 platfroms the cygwin emulation layer is ... |
2005-12-2 9:19:39 |
371
|
自己编写实现java.util.Comparator自定义排序规则
自己编写实现java.util.Comparator自定义排序,List列表排序,多列组合排序 |
2005-12-2 7:16:24 |
372
|
MAP SET LIST 的不同
讨论MAP SET LIST 的不同 |
2005-12-2 4:54:44 |
373
|
使用Putty通过Java HTTPProxy Socks代理服务器访问外部网络
Putty V0.58 可以通过代理服务器连接外部网络(Internet或者内部其他局域网),穿透防火墙。 SSHProxy是一个简单而且有用的Socks4 Socks5代理服务器,可以通过SHTTP Proxy 实现二级代理 |
2005-12-1 11:12:01 |
374
|
urlrewrite重写/隐藏你的链接
Browser Detection - Allows you to rewrite URLs based on request HTTP headers (such as user-agent or charset). Date based rewriting - Allows you to forward or redirect to other URL's based on the date/time (good for planned outages). |
2005-12-1 11:10:37 |