JDBC for MSSQL 2000 http://www.microsoft.com/downloads/details.aspx?familyid=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en 這裏下載 簡單的範例 http://www.javaworld.com.tw/jute/post/view?bid=21&id=134903&sty=1&tpg=1&age=0
Java語言的特性 Java 是一種 Call by Value的語言. swap(int a,int b) { int tmp; tmp=a; a=b; b=tmp; } a=1; b=2; swap(a,b); 結果 a is 1; b is 2; 但是在某些情況下是Call by Referance swap(int a[],int b[]) { int tmp; tmp=a[0]; a[0]=b[0]; b[0]=tmp[0]; } int swarr[2]={1,2}; swap(swarr[0],swarr[1]); 結果 swarr[0] is 2 swarr[1] is 1
Two Phase Commit Protocol http://www.vermicelli.pasta.cs.uit.no/ipv6/students/andrer/doc/html/node18.html http://www.jguru.com/faq/view.jsp?EID=20929 http://ei.cs.vt.edu/~cs5204/fall99/distributedDBMS/duckett/tpcp.html http://en.wikipedia.org/wiki/Two-phase_commit Two Phase Commit Protocol 是用解決一些分散交易上的問題.
Java Parser String Token http://java.sun.com/j2se/1.4.2/docs/api/java/util/StringTokenizer.html C語言的strtok, Java用法就是這樣了.