摘要: 离职信公司诸君: 自吾之来此,已一年有余。本当披肝,以报知遇,却发现往昔之热情所剩无几。想来与人无涉。问题在己,盖因自己实不具荣辱不惊之修为。既已无心向工,终不能应景混事,长此以往,百无一利。唯今之计,只有主动剥职,才是正议,如此即可顺遂心意,亦可免于日后复为旗下之祭。 其实去不足惜。辗转数月,倍感煎熬,故去留之事可知已。奈何,晃晃终日不安,去留两相难。且画饼充饥,终不可为,此之内伤,故而吾之所事,上效和尚撞钟,敷衍了事,得过且过。况汝之于如来,吾之于金蝉子,必之为歧。故与子谋皮吾之损已。故而或弃或留,亦为不悖。 吾等人士,或曾芳心暗许,愿择良主,从一而终。奈何落花有意,流水无情。去意生时,悲 阅读全文
posted @ 2011-09-07 18:26 阳光银行 阅读(185) 评论(0) 推荐(1)
摘要: package com.zhao;import java.sql.Connection;import java.sql.DriverManager;import java.sql.ResultSet;import java.sql.SQLException;import java.sql.Statement;public class TestJDBC {public static void main(String[] args) {String url = "jdbc:sqlserver://127.0.0.1:1433;databaseName=zhao";String 阅读全文
posted @ 2011-08-31 15:06 阳光银行 阅读(165) 评论(0) 推荐(0)
摘要: spring的最大作用ioc/di,将类与类的依赖关系写在配置文件中,程序在运行时根据配置文件动态加载依赖的类,降低的类与类之间的藕合度。它的原理是在applicationContext.xml加入bean标签,在bean标签中通过class属性说明具体类名、通过property标签说明该类的属性名、通过constructor-args说明构造子的参数。其一切都是返射,当通过applicationContext.getBean("id名称")得到一个类实例时,就是以bean标签的类名、属性名、构造子的参数为准,通过反射实例对象,唤起对象的set方法设置属性值、通过构造子的n 阅读全文
posted @ 2011-08-27 05:54 阳光银行 阅读(346) 评论(0) 推荐(1)
摘要: A: Do you have some time tomorrow? B: Yes, I do. A: How about having lunch with me? B: Good idea. A: If you’re free, how about lunch? B: When did you have in mind? A: I was thinking about Thursday? B: That will be fine with me. 阅读全文
posted @ 2011-08-13 21:24 阳光银行 阅读(115) 评论(0) 推荐(0)
摘要: A much worried patient walked into doctor's office asking for help:"Doctor, I don't know what to do. I accidentally drank a bottle of gasoline yesterday!""Oh, Don't worry! All you have to remember is not to smoke in the next few days!" 阅读全文
posted @ 2011-08-13 21:21 阳光银行 阅读(124) 评论(0) 推荐(0)
摘要: 1.在/conf下面 server.xml文件,</Host>前面增加以下代码<Context path="/TestWeb" docBase="C:\Users\zhao\Workspaces\MyEclipse 8.5\TestWeb\WebRoot" reloadable="true" /></Host>2.启动 startup.bat3.中间的TestWeb并非项目名称可以更改为其他的名称 阅读全文
posted @ 2011-08-10 06:34 阳光银行 阅读(122) 评论(0) 推荐(0)
摘要: package com.zhao.day3;import java.util.HashMap;import java.util.Iterator;import java.util.Map;import java.util.Set;public class MapTest5 {public static void main(String[] args) {HashMap map = new HashMap();map.put("a", "aa");map.put("b", "bb");map.put("c& 阅读全文
posted @ 2011-08-10 01:22 阳光银行 阅读(203) 评论(0) 推荐(0)
摘要: public static int binarySearch(int[] array, int value){int low = 0;int high = array.length - 1;int middle;while(low <= high){middle = (low + high) / 2;if(array[middle] == value){return middle;}if(value < array[middle]){high = middle - 1;}if(value > array[middle]){low = middle + 1;}}return - 阅读全文
posted @ 2011-08-08 21:44 阳光银行 阅读(140) 评论(0) 推荐(0)
摘要: package com.zhao.day2;public class SingletoTest {public static void main(String[] args) {Singleton singleton = Singleton.getInstance();Singleton singleton2 = Singleton.getInstance();System.out.println(singleton == singleton2);}}class Singleton {private static Singleton singleton = new Singleton(); p 阅读全文
posted @ 2011-08-08 18:11 阳光银行 阅读(96) 评论(0) 推荐(0)
摘要: IntroductionMy wife Farhana wants to resume her career as a software developer (she started her career as a software developer, but couldn't proceed much because of our first child's birth), and these days, I am trying to help her learn Object Oriented Designs as I've got some experience 阅读全文
posted @ 2011-08-04 17:13 阳光银行 阅读(248) 评论(0) 推荐(0)