疯狂Java讲义第二版配套光盘源码

上传者: georgelinzehao | 上传时间: 2023-02-13 18:05:05 | 文件大小: 13.59MB | 文件类型: ZIP
疯狂Java讲义第二版配套光盘中的源码。 ------------------------------------------- 《疯狂Java讲义》 配书光盘 版权所有,侵权必究 2011年12月 _______________________________________________________________________ 一、光盘内容 本光盘是《疯狂Java讲义》一书的配书光盘,书中的代码按章、按节存放, 即第3章第1节所使用的代码放在codes文件夹的03\3.1文件夹下,依此类推。 另:书中每份源代码也给出与光盘源文件的对应关系,方便读者查找。 本光盘codes目录下有18个文件夹,其内容和含义说明如下: (1) 01~18文件夹名对应于《疯狂Java讲义》中的章名, 即第3章所使用的代码放在codes文件夹的03件夹下,依此类推。 (2) 本书所有代码都是IDE工具无关的程序,读者既可以在命令行窗口直接编译、 运行这些代码,也可以导入Eclipse、NetBeans等IDE工具来运行它们。 (3) 本书第12章第11节的TestTableModel.java程序,以及第13章绝大部分程序 都需要连接数据库,所以读者需要先导入*.sql文件中的数据库脚本,并修改 mysql.ini文件中的数据库连接信息。连接数据库时所用的驱动程序JAR文件 为mysql-connector-java-3.1.10-bin.jar文件。这些需要连接数据库的程序 里还提供了一个*.cmd文件,该文件是一个批处理文件,运行该文件可以运行 相应的Java程序,例如DatabaseMetaDataTest.java对应的*.cmd文件为 runDatabaseMetaDataTest.cmd。 (4) 光盘根目录下提供了一个“Java设计模式(疯狂Java联盟版).chm”文件,这是一份 关于设计模式的电子教材,由疯狂Java联盟的杨恩雄亲自编写、制作,他同意广 大读者阅读、传播这份开源文档。 (5) 因为本书第1版有些读者提出关于《疯狂Java讲义》课后习题标准答案的问题, 因此本书光盘根目录下包含一个project_codes文件夹,该文件夹里包含了疯狂 Java联盟的杨恩雄编写的《疯狂Java实战演义》一书的光盘内容,该光盘中包 含了大量实战性很强的项目,这些项目基本覆盖了《疯狂Java讲义》课后习题 的要求,读者可以参考相关案例来完成《疯狂Java讲义》的课后习题。 二、运行环境 本书中的程序在以下环境调试通过: (1) 安装jdk-7-windows-i586.exe,安装完成后,添加CLASSPATH环境变量,该环境变量 的值为.;%JAVA_HOME%/lib/tools.jar;%JAVA_HOME%/lib/dt.jar。如果为了可以编译和 运行Java程序,还应该在PATH环境变量中增加%JAVA_HOME%/bin。其中JAVA_HOME代表 JDK(不是JRE)的安装路径。 如何安装上面工具,请参考本书的第1章。 (2) 安装MySQL 5.5或更高版本,安装MySQL时选择GBK编码方式(按第13章介绍的方式安装)。 三、注意事项 (1) 代码中有大量代码需要连接数据库,读者应修改数据库URL以及用户名、密码, 让这些代码与读者运行环境一致。如果项目下有SQL脚本,则导入SQL脚本即可;如果 没有SQL脚本,系统将在运行时自动建表,读者只需创建对应的数据库即可。 (2) 在使用本光盘的程序时,请将程序拷贝到硬盘上,并去除文件的只读属性。 四、技术支持 如果您使用本光盘中遇到不懂的技术问题,您可以登录如下网站与作者联系: http://www.crazyit.org

文件下载

资源详情

[{"title":"( 3383 个子文件 13.59MB ) 疯狂Java讲义第二版配套光盘源码","children":[{"title":"WhileTest.java <span style='color:#111;'> 999B </span>","children":null,"spread":false},{"title":"ForTest2.java <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"ForTest.java <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"DoWhileTest.class <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"ForInsteadWhile.java <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"DoWhileTest.java <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"NestedLoopTest.java <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"ForErrorTest.class <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"ForTest.class <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"DeadForTest.java <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"ForErrorTest.java <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"DeadForTest.class <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"NestedLoopTest.class <span style='color:#111;'> 744B </span>","children":null,"spread":false},{"title":"ForInsteadWhile.class <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"ForTest2.class <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"WhileTest.class <span style='color:#111;'> 508B </span>","children":null,"spread":false},{"title":"IfErrorTest2.java <span style='color:#111;'> 732B </span>","children":null,"spread":false},{"title":"IfCorrectTest.java <span style='color:#111;'> 589B </span>","children":null,"spread":false},{"title":"IfTest.java <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"IfTest.class <span style='color:#111;'> 702B </span>","children":null,"spread":false},{"title":"IfErrorTest.class <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"StringSwitchTest.java <span style='color:#111;'> 809B </span>","children":null,"spread":false},{"title":"SwitchTest.java <span style='color:#111;'> 842B </span>","children":null,"spread":false},{"title":"IfErrorTest2.class <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"IfErrorTest.java <span style='color:#111;'> 587B </span>","children":null,"spread":false},{"title":"StringSwitchTest.class <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"IfCorrectTest2.java <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"SwitchTest.class <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"BreakTest2.class <span style='color:#111;'> 753B </span>","children":null,"spread":false},{"title":"ContinueTest.java <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"ContinueTest2.java <span style='color:#111;'> 657B </span>","children":null,"spread":false},{"title":"ReturnTest.java <span style='color:#111;'> 570B </span>","children":null,"spread":false},{"title":"BreakTest.class <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"ContinueTest2.class <span style='color:#111;'> 759B </span>","children":null,"spread":false},{"title":"ContinueTest.class <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"BreakTest2.java <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"ReturnTest.class <span style='color:#111;'> 738B </span>","children":null,"spread":false},{"title":"BreakTest.java <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"ForEachErrorTest.class <span style='color:#111;'> 700B </span>","children":null,"spread":false},{"title":"ArrayTest.class <span style='color:#111;'> 884B </span>","children":null,"spread":false},{"title":"ForEachErrorTest.java <span style='color:#111;'> 674B </span>","children":null,"spread":false},{"title":"ForEachTest.java <span style='color:#111;'> 615B </span>","children":null,"spread":false},{"title":"ForEachTest.class <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"ArrayTest.java <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"ArraysTest.class <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Num2Rmb.class <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"PrimitiveArrayTest.class <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"ArraysTest.java <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"ArrayInRam.java <span style='color:#111;'> 998B </span>","children":null,"spread":false},{"title":"ReferenceArrayTest.java <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"Gobang.class <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"TwoDimensionTest.java <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"Num2Rmb.java <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"PrimitiveArrayTest.java <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"ReferenceArrayTest.class <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"TwoDimensionTest.class <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"Person.class <span style='color:#111;'> 756B </span>","children":null,"spread":false},{"title":"Gobang.java <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"ArrayInRam.class <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"ProxySelectorTest$1.class <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"ProxySelectorTest.class <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"DefaultProxySelectorTest.class <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"ProxySelectorTest.java <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"ProxyTest.class <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"ProxyTest.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"DefaultProxySelectorTest.java <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"URLDecoderTest.java <span style='color:#111;'> 811B </span>","children":null,"spread":false},{"title":"DownUtil.class <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"MultiThreadDown.java <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"GetPostTest.java <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"login.jsp <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"a.jsp <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"web.xml <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"InetAddressTest.class <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"URLDecoderTest.class <span style='color:#111;'> 701B </span>","children":null,"spread":false},{"title":"MultiThreadDown$1.class <span style='color:#111;'> 993B </span>","children":null,"spread":false},{"title":"InetAddressTest.java <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"GetPostTest.class <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"MultiThreadDown.class <span style='color:#111;'> 716B </span>","children":null,"spread":false},{"title":"DownUtil$DownThread.class <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"DownUtil.java <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"MulticastSocketTest.class <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"MulticastSocketTest.java <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"UdpServer.class <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"UdpServer.java <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"ChatFrame.java <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"ComUtil.class <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"ComUtil$ReadSingle.class <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"ChatFrame$1.class <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"ImageCellRenderer.class <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"LanTalk.class <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"LoginFrame$MyActionListener$1.class <span style='color:#111;'> 765B </span>","children":null,"spread":false},{"title":"UserInfo.java <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"LoginFrame$MyActionListener.class <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"ComUtil$ReadBroad.class <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"ChatFrame.class <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"LanTalk$ChangeMusicListener.class <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"LoginFrame.class <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"1.gif <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"7.gif <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明