大家看多线程部分的时候肯定看到过daemon这个属性,当我在百度了一圈后也没发现有比较好的解释(或者大家对这个解释都非常清楚),于是自己通过代码和官方介绍了解它,进行了一些总结 给大家一些参考. 首先我们看官方的介绍是这样的: A boolean value indicating whether this thread is a daemon thread (True) or not (False). This must be set before start() is called, othe
最近需要搭建apache和tomcat的集群,实现静态网站直接通过apache访问,动态网站转交给tomcat处理,实现负载均衡和tomcat集群配置. apache安装 wget http://apache.fayea.com/apache-mirror//httpd/httpd-2.4.9.tar.bz2 tar -xvf httpd-2.4.9.tar.bz2 cd httpd-2.4.9 ./configure make && make install make clean mak
Application Fundamentals--应用程序基础知识 Key classes--关键类 Activity Service BroadcastReceiver ContentProvider Intent In this document--在这篇文章中 Application Components--应用程序组件 Activating components: intents--激活组件:意图 Shutting down components--关闭组件 The manifest