摘要:
http://my-wjl.scu.edu.cn/~xxuzi/
scjp认证必读
......
摘要:
来自移动新干线的系列文章,非常详细
......
一个jdbc的例子(包含sql语句的批处理,事务处理,数据绑定prepare,)
/*
* user: administrator 【程序编程相关:
Java入门笔记1_HelloWorld】
* created by intellij idea. 【推荐阅读:
Java网络编程的学习笔记(一)】
* time: 3:24:12 pm 【扩展信息:
Java入门笔记5_异常】
* date: mar 26, 2002
* to change template for new class use
* code style | class templates options (tools | ide options).
*/
package com.chinacountry.databases;
import java.sql.*;
import java.util.stringtokenizer;
public class conndb
{
string sdbdriver = "org.gjt.mm.mysql.driver";
string sconnstr = "jdbc:mysql://10.100.27.13:3306/db1";
connection cn = null;
statement stmt;
boolean autocommit;
private string dbtype="mysql";
//private string dbtype="oracle";
private conndb()
{
init();
}
private void init()
{
try
{
class.forname(sdbdriver).newinstance();
cn = drivermanager.getconnection(sconnstr,"naxweb","naxweb");
}
catch(exception e)
{
...
下一页 摘要:
一些资料:
http://www.xin1.net/scjp/scjp.zip
有模拟试题及一些精彩链接
还有两个考试模拟器,
http://www.xin1.net/scjp/jcertify40.exe
http://www.xin1.net/scjp/jxam.zip
......