Fitzwilliam的专栏

Losers always whine about their best; Winners go home and fuck the prom queen.

Savepoints In Transactions

Savepoints In TransactionsYou can declare intermediate markers called savepoints within the context of a transaction. Savepoints divide a long transa...

2007-09-25 16:41:00

阅读数:1398

评论数:0

[Source Code] Using JavaScript to manipulate DOM

An Introduction to the Document Object ModelThe DOM is a standard way of representing XML documents (instituted by the W3C). It isnot necessarily the...

2007-07-25 10:12:00

阅读数:1499

评论数:0

[设计模式]DAO的实现方式探讨_Part II

Data Access Object PatternProblemYou want to encapsulate data access and manipulation in a separate layerForces You want to implement data acc...

2007-07-04 18:24:00

阅读数:1675

评论数:0

[设计模式]DAO的实现方式探讨_Part I

先说一下我的参考书目: Core J2EE™ Patterns: Best Practices and Design Strategies, Second Edition By Deepak Alur, John Crupi, Dan Malks Publisher : Prentice Hall...

2007-07-04 13:28:00

阅读数:1081

评论数:0

[读书笔记] 数据库设计基础

数据库效率的两个主要度量方法:吞吐量(throughput)——每单位时间里能够处理的查询或更新(通常指事务)的平均数量。响应时间(response time)——单个事务从开始到结束所需的平均时间或者最长时间。以批量的方式处理大量事务的系统关注于达到高吞吐量。与人交互或者时间苛刻的系统则通常关注...

2007-05-24 17:57:00

阅读数:1244

评论数:0

[读书笔记]Test Strategy - Intruductions of Stub and Mock

Stubs are a mechanism for faking the behavior of real code that may exist or thatmay not have been written yet. Stubs allow you to test a portion of ...

2006-08-02 13:42:00

阅读数:1220

评论数:0

[读书笔记] Collections of objects

The Java 2 container library takes the issue of “holding your objects” and divides it into two distinct concepts: Collection: a group of individu...

2006-08-01 16:48:00

阅读数:735

评论数:0

[读书笔记]JAVA IO

Almost all of the original Java I/O stream classes have corresponding Reader and Writer classes to provide native Unicode manipulation. However, ther...

2006-07-20 16:29:00

阅读数:990

评论数:0

[读书笔记]网络协议 —————— TCP/IP

---------------------------------- IP ----------------------------------IP protocol:IP is the workhorse protocol of the TCP/IP protocol suite.  All T...

2006-06-08 13:04:00

阅读数:1192

评论数:0

[读书笔记]Struts学习

The terms Model 1 and Model 2 originated in the JSP 0.92 specification. The primary characteristics of Model 1 are HTTP requests are posted di...

2006-05-31 15:45:00

阅读数:923

评论数:0

示例代码:如何正确close从连接池中取得的db连接

Here is an example of properly written code to use a db connection obtained from a connection pool: Connection conn = null; Statement stmt = null; ...

2006-05-25 14:26:00

阅读数:1219

评论数:0

[读书笔记]J2EE 基本概念 --- JSP

JSP技术是用来解决如下问题的:1.      表现层(presentation,即页面)经常发生变化。而这些变化和应用逻辑(Application Logic)无关,即完全重新编译(recompilation and rebuild)是不必要的。2.      表现层调试困难。除非运行,才可以知...

2006-05-18 18:10:00

阅读数:908

评论数:0

[读书笔记]J2EE 基本概念 --- Servlet

Introduction To ServletsThe biggest benefit servlets offer developers is that they are designed specifically to process HTTP requests coming from the...

2006-04-28 18:00:00

阅读数:1302

评论数:0

[书摘]Polymorphism first, RTTI second

RTTI allows you to discover type information from an anonymous base-class reference. Thus, it’s ripe for misuse by the novice, since it might make se...

2006-03-28 16:38:00

阅读数:930

评论数:0

[书摘]Issues about RTTI (Run Time Type Identification)

 class Test2{ static {  System.out.println("Loading Test2 ...");  } }public  class Test { static {  System.out.println("Loading Test ....

2006-03-28 10:14:00

阅读数:931

评论数:0

[书摘]使用Nested class进行代码测试

Earlier in this book I suggested putting a main( ) in every class to act as a test bed for that class. One drawback to this is the amount of extra co...

2006-03-23 09:52:00

阅读数:765

评论数:0

[书摘]Cleanup Issues

class Characteristic {  private String s;  Characteristic(String s) {    this.s = s;    System.out.println("Creating Characteristic " + s);...

2006-03-21 11:22:00

阅读数:1516

评论数:1

sth about Inheritance

public  class Test extends Test2{ Test(String s) {  System.out.println(s);  }public static void main(String[] args)  {   Test t=new Test("Test&q...

2006-03-14 16:31:00

阅读数:977

评论数:0

[书摘/Summary] Usage of Collections

Choosing between ListsThe best approach is probably to choose an ArrayList as your default and to change to a LinkedList if you discover performance ...

2006-02-22 19:09:00

阅读数:887

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭