- 博客(5)
- 资源 (6)
- 收藏
- 关注
原创 JAVA基础必会
1. 编程规范、静态检查 编程规范模拟考试达到90分 对自己所写专题,findbugs,pmd,checkstyle全部告警清零2. 基本数据类型及包装类、数学计算、字符串操作 基本数据类型和包装类的互转,与字符串表示的互转 整数类型的二进制、十六进制编解码表示(不能使用JDK API) String的常用API使用 StringBu
2013-09-27 17:49:39 535
转载 连接池
package test;import java.sql.*;import java.util.*;public class DBConnpool{ private int inUse = 0; private Vector connections = new Vector(); private String poolname = "dbconnp
2013-05-16 10:40:36 402
转载 shutdown
Tomcat无法正常关闭 Tomcat的正常启动和停止是用 startup 和 shutdown 两个脚本,但有时候tomcat因为其中部署的某个应用导致不能正常 shutdown 。判断是不是由应用引起的问题,很简单,试试tomcat不部署任何应用时是不是也有这个问题。其实,不能正常shutdown八成是由于应用自身没有释放资源造成的,比如在应用中使用了非da
2012-05-15 20:26:28 361
转载 tomcat shutdown
今天发现tomcat不能shutdown,查看输出日志显示: SEVERE: Protocol handler pause failedjava.net.ConnectException: Connection timed outat java.net.PlainSocketImpl.socketConnect(Native Method)at java.net.PlainSocketImpl
2012-05-15 20:19:38 442
转载 数据库异常
Error Handler Examples Here are some examples of handler declarations: If any error condition arises (other than a NOT FOUND ), continue execution after setting l_error=1 :DECLARE CONTINUE HAN
2012-05-09 22:28:56 363
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人