Think different, think deep.

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2012年12月25日

摘要: 1.下载 eclipse EE 版本2.安装tomcat3.安装 mysql,创建数据库a,安装 sudo apt-get install mysql-serverb,安装过程中需要填入密码,安装成功之后用root 用户密码登陆:mysql -uroot -pc,新建一个数据库,在下面项目里会用到。 如建立一个 名字为 androidpn的 数据库,create database androidpn4.androidpn server端和androidpn 客户端 配置a,导入androidpn server 和client 代码b,更改 server代码中 rosourses文件中的 jdb 阅读全文
posted @ 2012-12-25 11:00 wlyzlx 阅读(435) 评论(0) 推荐(0)

2012年6月12日

摘要: <script> var storage={ "first-name":"hello", secordname:"world" } document.write(storage['first-name']+storage.secordname); </script>secordname 是一个标识符 可以用. 而“first-name” 是一个字符串,不能用. 引用。只用用[“first-name”] 阅读全文
posted @ 2012-06-12 17:11 wlyzlx 阅读(75) 评论(0) 推荐(0)

2012年3月17日

摘要: 1 import java.util.concurrent.TimeUnit; 2 3 public class SimpleDaemons implements Runnable{ 4 public void run(){ 5 try{ 6 while(true){ 7 TimeUnit.MILLISECONDS.sleep(100); 8 System.out.println(Thread.currentThread()+" "+this); 9 ... 阅读全文
posted @ 2012-03-17 20:13 wlyzlx 阅读(162) 评论(0) 推荐(0)

摘要: This static method is essentially used to notify the system that the current thread is willing to "give up the CPU" for a while. The general idea is that:Thethread schedulerwill select a different thread to run instead of the current one.thinking in java:“我已经执行完声明周期中最重要的部分了,此刻正是切换给其他任务执行一段 阅读全文
posted @ 2012-03-17 19:43 wlyzlx 阅读(90) 评论(0) 推荐(0)