`
xujianlegend
  • 浏览: 23445 次
  • 性别: Icon_minigender_1
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
好的blog
好文章!
legend_007007
http://www.niufish.com/books/Pattern/ java设计模式
DAO是Data Access Object数据访问接口,数据访问:故名思义就是与数据库打交道。夹在业务逻辑与数据库资源中间。     DAO的功能:   1. DAO用来封装Data Source的..就比如,Connection conn = DAOFacotry.createConnection()..   就可以把Driver. URL. username, passpword这一些放在DAO中   以后要更改数据库的类型.比如要把MSSQL换成Oracle的话..只需要更改DAOFacory里面的getConnection()里面的Driver.URL.之类的..   2. DAO也 ...
package curveprj; import java.sql.*; public class DBManager {     private static DBManager instance = null;     private Connection con=null;     private DBManager() {         try {             jbInit();         } catch (Exception ex) {             ex.printStackTrace();         }     }     public ...
每天都要把最重要最紧急的事情做完!
#include  "stdio.h" #include "iostream.h" void main(){ struct curveHead{     char cg[4]; char comName[80]; char curveName[80]; //short sCurveNum;         //short sReservation; short sh[2]; char dls[20][4]; //short sh[2]; //float fl[3];         //char  m_cWellName[8 ...
http://www.iplab.cs.tsukuba.ac.jp/~liuxj/jdk1.2/zh/docs/guide/jni/spec/design.doc.html http://www.dalianit.com/edu/55180.html http://www.qqread.com/java/w120282060_2.html http://www.staredu.net/36/127/33/5927.shtml
#include <jni.h> #include <stdio.h> #include <iostream.h> #include "sovfuzz.h" #include "stdafx.h" #include "matlib.h" int sol(int m,int n,double srh,double seh,double dup,double growth,double *r,double *ret){ int retcode ...
JCaiBird wrote: 都快把我搞傻了,都!~ 我试了所有的法子都搞不定~ //麻烦看看这段代码会输出什么 import java.io.*; public class x{ public static String UnicodeToGb(String s) { String ss = null; try{ ss = new String(s.getBytes("UTF-8"),"GBK"); }catch(UnsupportedEncodingException e){ } return ss; } public static void ...
import java.util.*; import java.text.*; public class FormatDate { public static void main(String[] args) {     Date now = new Date();     DateFormat defaultFormat = DateFormat.getDateInstance();     DateFormat shortFormat = DateFormat.getDateInstance(DateFormat.SHORT);     DateFormat mediumF ...
DecimalFormat format=new DecimalFormat("0.00");
http://javaalmanac.com/egs/ almost all there with examples Free, good, and official Java tutorial: http://java.sun.com/docs/books/tutorial/ Thinking in Java 3rd Edition,中文版 + English version http://java.galesoft.com/ Code Conventions for the JavaTM Programming Language http://java.sun.com/docs/cod ...
All javaAPI with 例子 in 英文 and a lot more!!!
Global site tag (gtag.js) - Google Analytics