2015年5月16日

摘要: 阅读全文
posted @ 2015-05-16 11:25 JesseCary 阅读(146) 评论(0) 推荐(0)
摘要: 1.数据访问层只用来访问数据库(数据访问层只做数据相关的操作)。(dao-daoInterface-daoImpl)2.业务逻辑层,所有的业务逻辑全部在此层进行处理。(biz,service层-bizInterface-biz-impl--new的是dao层的接口与实现类)3.表示层,所有显示数据相... 阅读全文
posted @ 2015-05-16 11:24 JesseCary 阅读(123) 评论(0) 推荐(0)

2015年5月14日

摘要: package JBJADV003;import java.io.*;public class WriteTeacherObj { /** * @param args */ public static void main(String[] args)throws FileNotFoundExce... 阅读全文
posted @ 2015-05-14 23:26 JesseCary 阅读(156) 评论(0) 推荐(0)
摘要: package JBJADV003;public class Teacher implements java.io.Serializable{ private String name; private int age; private String gender; private transient... 阅读全文
posted @ 2015-05-14 23:25 JesseCary 阅读(203) 评论(0) 推荐(0)
摘要: package JBJADV003;public class Student implements java.io.Serializable { private String name; private int age; private String gender; private transie... 阅读全文
posted @ 2015-05-14 21:55 JesseCary 阅读(263) 评论(0) 推荐(0)
摘要: 实例话file类的对象File file=new File("d:/mydoc/hello.txt")文件名:fileMethod.java相对路径:fileMethod.java file.getPath();绝对路径:D:\ddd\xxxx\fileMethod.java file.getA... 阅读全文
posted @ 2015-05-14 21:46 JesseCary 阅读(263) 评论(0) 推荐(0)
摘要: package JBJADV003;import java.io.*;public class SerializableObj { /** * @param args * @throws IOException * @throws FileNotFoundException */ pub... 阅读全文
posted @ 2015-05-14 21:04 JesseCary 阅读(117) 评论(0) 推荐(0)
摘要: package JBJADV003;import java.io.*;public class ReOut { /** * @param args */ public static void main(String[] args) { PrintStream ps=null; try{ ... 阅读全文
posted @ 2015-05-14 21:02 JesseCary 阅读(465) 评论(0) 推荐(0)
摘要: package JBJADV003;import java.io.*;import java.util.Scanner;public class ReIn { /** * @param args * @throws IOException */ public static void main... 阅读全文
posted @ 2015-05-14 21:00 JesseCary 阅读(178) 评论(0) 推荐(0)
摘要: package JBJADV003;import java.io.*;public class ReadTeacherObj { /** * @param args */ public static void main(String[] args) throws IOException, Cla... 阅读全文
posted @ 2015-05-14 20:59 JesseCary 阅读(111) 评论(0) 推荐(0)

导航