<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[softimes的专栏]]></title><description><![CDATA[做有意义的事，做自己梦想的事 softimes@163.com]]></description><link>https://blog.csdn.net/softimes</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; softimes]]></copyright><item><title><![CDATA[面向对象相关]]></title><link>https://blog.csdn.net/softimes/article/details/7266563</link><guid>https://blog.csdn.net/softimes/article/details/7266563</guid><author>softimes</author><pubDate>Fri, 17 Feb 2012 09:37:24 +0800</pubDate><description><![CDATA[C++是支持面向对象的程序设计语言，VB是基于面向对象的程序设计语言，C#、Java是纯面向对象的程序设计语言。
      所谓支持面向对象的程序设计语言，指的是这种语言既具有面向过程的特点，如以函数或过程为程序的基本单位，又支持面向对象的特性，如继承等。这样的语言如转型期的C++。
所谓基于面向对象的程序设计语言，是指这种语言本身是面向对象的，具有继承、封装等特点，但不具有多态性的特点，如VB]]></description><category></category></item><item><title><![CDATA[SQL Server ldf文件的处理技巧]]></title><link>https://blog.csdn.net/softimes/article/details/7263942</link><guid>https://blog.csdn.net/softimes/article/details/7263942</guid><author>softimes</author><pubDate>Thu, 16 Feb 2012 12:12:04 +0800</pubDate><description><![CDATA[SQL Server的ldf文件是其日志文件。久而久之文件会变得很大。
 
处理办法最简单就是：
分离；
附加；
在详细信息中选中ldf那行，然后点击详细信息的删除(注意是下面的删除)。
OK 了。SQL Server会在同一目录下生成新的LDF文件。
 
PS：经测试，数据库起初MDF文件在哪个目录下，就将新附加时的MDF放在哪个目录下。MDF会记录LDF的文件目录。
即便重做]]></description><category></category></item><item><title><![CDATA[java逐行读取和写入文本文件txt]]></title><link>https://blog.csdn.net/softimes/article/details/7225879</link><guid>https://blog.csdn.net/softimes/article/details/7225879</guid><author>softimes</author><pubDate>Wed, 01 Feb 2012 15:58:32 +0800</pubDate><description><![CDATA[逐行写入文本

public class TestFileWriter {
    public static void main(String[] args) {
        FileWriter fw = null;
        try {
            fw = new FileWriter("d://test.txt",true);]]></description><category></category></item><item><title><![CDATA[提高代码质量的方法有哪些？]]></title><link>https://blog.csdn.net/softimes/article/details/84131689</link><guid>https://blog.csdn.net/softimes/article/details/84131689</guid><author>softimes</author><pubDate>Mon, 30 Jan 2012 09:38:09 +0800</pubDate><description><![CDATA[文章来源CSDN

人跟人的能力千差万别，所以写出来的代码质量，肯定是不同的。有的人，写一个小逻辑，可能需要100行，而有的人，可能仅仅需要10行。代码永远会有Bug，在这方面没有最好只有更好。高效是程序员必须作到的事情，无错是程序员一生的追求。复用、分而治之、折衷是代码哲学的基本思想。模块化与面向对象是实现高效无错代码的方法。高效无错代码需要思想与实践的不断反复。

如何做到代码高效无错...]]></description><category></category></item><item><title><![CDATA[中兴Android面试题]]></title><link>https://blog.csdn.net/softimes/article/details/7205254</link><guid>https://blog.csdn.net/softimes/article/details/7205254</guid><author>softimes</author><pubDate>Mon, 16 Jan 2012 16:07:46 +0800</pubDate><description><![CDATA[这边给出面试题，给一些人有点帮助

相关的经历和经验的面试，以及产品的展示。这里没法总结，下面是技术点：

Java方面的主要问了些集合类、socket方面的以及Http访问即J2ee中的servlet

Android方面的：
1、Activity生命周期说下，出现异常主要在那个阶段处理？
2、数据存储有哪几种方式？说过你用过哪些，做了哪些相关的项目？Sqlite用过说下？
3]]></description><category></category></item><item><title><![CDATA[程序员的五种类型]]></title><link>https://blog.csdn.net/softimes/article/details/7204284</link><guid>https://blog.csdn.net/softimes/article/details/7204284</guid><author>softimes</author><pubDate>Mon, 16 Jan 2012 09:57:43 +0800</pubDate><description><![CDATA[在我的代码旅程和编程经历中，已经遭遇很多奇特的对手，还有更为奇特的盟友。我至少发现有5种代码勇士，有些是出色的战友，其他则似乎都在搅黄我的每个计划。

不过他们都在软件开发的万神殿上都有一席之地。如果没有不同编程风格的良好组合，你可能会发现你的项目要不就是耗时过长，要不就是太不稳定或太过完美而无人去做。



1. The duct tape programmer 喉咙贴了胶带的程序员]]></description><category></category></item><item><title><![CDATA[Scale Out将是未来的企业架构]]></title><link>https://blog.csdn.net/softimes/article/details/7204184</link><guid>https://blog.csdn.net/softimes/article/details/7204184</guid><author>softimes</author><pubDate>Mon, 16 Jan 2012 09:28:54 +0800</pubDate><description><![CDATA[从企业IT架构体系上来看，特别是对于Web2.0网站来说，必须考虑的就是可扩展性：随着使用人数的增多，能够及时的扩展IT系统的能力。解决这个问题，通常有两种解决方式：Scale up和Scale out，两种扩容的方式分别从两个维度来解决数据库压力。

Scale Out(横向扩展)：从字面意思来看，Scale Out是使用靠增加处理器来提升运算能力和增加独立服务器来增加运算能力。就是指企业可]]></description><category></category></item><item><title><![CDATA[Ajax和浏览器兼容问题--ActiveX & XMLHttpRequest]]></title><link>https://blog.csdn.net/softimes/article/details/7198739</link><guid>https://blog.csdn.net/softimes/article/details/7198739</guid><author>softimes</author><pubDate>Fri, 13 Jan 2012 14:28:52 +0800</pubDate><description><![CDATA[XMLHttpRequest 对象
所有现代浏览器均支持 XMLHttpRequest 对象（IE5 和 IE6 使用 ActiveXObject）。
XMLHttpRequest 用于在后台与服务器交换数据。这意味着可以在不重新加载整个网页的情况下，对网页的某部分进行更新。



创建 XMLHttpRequest 对象
所有现代浏览器（IE7+、Firefox、Chrome、Sa]]></description><category></category></item><item><title><![CDATA[本地复制不能粘贴到服务器上]]></title><link>https://blog.csdn.net/softimes/article/details/7096167</link><guid>https://blog.csdn.net/softimes/article/details/7096167</guid><author>softimes</author><pubDate>Thu, 22 Dec 2011 17:27:45 +0800</pubDate><description><![CDATA[欢迎访问新站点：     
http://www.neohow.com  http://www.shuo7.com 


今天遇到了一个问题，无法在服务器粘贴文件。

解决办法：

在服务器上打开任务管理器，查看进程，有 rdpclip.exe 进程。通常，只要存在该进程，就可以在本机和远程服务器之间粘贴文本了。
关闭此进程，然后 开始->运行->rdpclip.exe 重新运行]]></description><category></category></item><item><title><![CDATA[Web开发中需要了解的东西]]></title><link>https://blog.csdn.net/softimes/article/details/7095479</link><guid>https://blog.csdn.net/softimes/article/details/7095479</guid><author>softimes</author><pubDate>Thu, 22 Dec 2011 15:03:29 +0800</pubDate><description><![CDATA[在StackExchange上有人问了这样一个问题：What should every programmer know about web
 development?（关于Web开发，什么是所有程序员需要知道的？）里面给出的答案非常不错，所以，我翻译转载过来。 顺便说一下，StackExchange真是非常好，大家可以对同一个答案做贡献和修订，看看这个问题的修订过程你就知道了——专业的问答网站应]]></description><category></category></item><item><title><![CDATA[你会做Web上的用户登录功能吗？]]></title><link>https://blog.csdn.net/softimes/article/details/7095076</link><guid>https://blog.csdn.net/softimes/article/details/7095076</guid><author>softimes</author><pubDate>Thu, 22 Dec 2011 13:39:05 +0800</pubDate><description><![CDATA[Web上的用户登录功能应该是最基本的功能了，可是在我看过一些站点的用户登录功能后，我觉得很有必要写一篇文章教大家怎么来做用户登录功能。下面的文章告诉大家这个功能可能并没有你所想像的那么简单，这是一个关系到用户安全的功能，希望大家能从下面的文章中能知道什么样的方法才是一个好的用户登录功能。以下内容，转载时请保持原文一致，并请注明作者和出处。

用户名和口令

首先，我们先来说说用户名和口令的]]></description><category></category></item><item><title><![CDATA[Struts2在Action中获得Response对象的四种方法]]></title><link>https://blog.csdn.net/softimes/article/details/7084984</link><guid>https://blog.csdn.net/softimes/article/details/7084984</guid><author>softimes</author><pubDate>Mon, 19 Dec 2011 17:22:13 +0800</pubDate><description><![CDATA[在struts1.x Action类的execute方法中，有四个参数，其中两个就是response和request。而在Struts2中，并没有任何参数，因此，就不能简单地从execute方法获得HttpServletResponse或HttpServletRequest对象了。


　　但在Struts2 Action类中仍然有很多方法可以获得这些对象。下面就列出四种获得这些对象的方法。]]></description><category></category></item><item><title><![CDATA[ajax jQuery中文乱码解决办法]]></title><link>https://blog.csdn.net/softimes/article/details/7084949</link><guid>https://blog.csdn.net/softimes/article/details/7084949</guid><author>softimes</author><pubDate>Mon, 19 Dec 2011 17:14:29 +0800</pubDate><description><![CDATA[Strut2 + MySql + Hibernate + ajax(jQuery)中文乱码解决办法:
1. 网页页面使用utf-8


2. ajax默认使用utf-8传输数据, 但最好使用post, 不要使用get

3. Struts2中使用UTF-8.
3.1 在struts.properties中加上: struts.i18n.encoding=UTF-8
[3.2 使用F]]></description><category></category></item><item><title><![CDATA[桌面图标有阴影的处理办法]]></title><link>https://blog.csdn.net/softimes/article/details/7083661</link><guid>https://blog.csdn.net/softimes/article/details/7083661</guid><author>softimes</author><pubDate>Mon, 19 Dec 2011 11:45:15 +0800</pubDate><description><![CDATA[1、右键“我的电脑”－－属性－－高级－－“性能”栏点击“设置”－－视觉效果－勾选“在桌面上为图标标签使用阴影”，点击“应用”确定退出即可。

2、右键桌面--排列图标--在桌面上锁定WEB项目前的勾去掉

3、右击桌面空白处，依次单击“属性/桌面/自定义桌面/web”选项，将“网页”栏中的“当前主页”以及“http//......”等所有各项前面的勾全部去掉（“http//……”为从Interne]]></description><category></category></item><item><title><![CDATA[js常用正则表达式]]></title><link>https://blog.csdn.net/softimes/article/details/7083582</link><guid>https://blog.csdn.net/softimes/article/details/7083582</guid><author>softimes</author><pubDate>Mon, 19 Dec 2011 11:30:11 +0800</pubDate><description><![CDATA[另外一篇整理的有关js正则表达式的文章：

http://blog.csdn.net/softimes/article/details/7083549



刚才一位朋友让我帮忙写一个js正则表达式，需求是：最多只能输入三位整数和两位小数。代码如下：




	function test(){
				var t1=document.getElementById("t1").val]]></description><category></category></item><item><title><![CDATA[常用的正则表达式format]]></title><link>https://blog.csdn.net/softimes/article/details/7083549</link><guid>https://blog.csdn.net/softimes/article/details/7083549</guid><author>softimes</author><pubDate>Mon, 19 Dec 2011 11:22:05 +0800</pubDate><description><![CDATA[验证数字：^[0-9]*$
验证n位的数字：^\d{n}$
验证至少n位数字：^\d{n,}$
验证m-n位的数字：^\d{m,n}$
验证零和非零开头的数字：^(0|[1-9][0-9]*)$
验证有两位小数的正实数：^[0-9]+(.[0-9]{2})?$
验证有1-3位小数的正实数：^[0-9]+(.[0-9]{1,3})?$
验证非零的正整数：^\+?[1-9][0-9]*$]]></description><category></category></item><item><title><![CDATA[JVM虚拟机选项：Xms Xmx PermSize MaxPermSize区别]]></title><link>https://blog.csdn.net/softimes/article/details/7064075</link><guid>https://blog.csdn.net/softimes/article/details/7064075</guid><author>softimes</author><pubDate>Mon, 12 Dec 2011 16:34:00 +0800</pubDate><description><![CDATA[java虽然是自动回收内存，但是应用程序，尤其服务器程序最好根据业务情况指明内存分配限制。否则可能导致应用程序宕掉。



举例说明含义：

-Xms128m 

表示JVM Heap(堆内存)最小尺寸128MB，初始分配

-Xmx512m 

表示JVM Heap(堆内存)最大允许的尺寸256MB，按需分配。



说明：如果-Xmx不指定或者指定偏小，应用可能]]></description><category></category></item><item><title><![CDATA[Weblogic 各个版本下载]]></title><link>https://blog.csdn.net/softimes/article/details/7057479</link><guid>https://blog.csdn.net/softimes/article/details/7057479</guid><author>softimes</author><pubDate>Fri, 09 Dec 2011 16:06:34 +0800</pubDate><description><![CDATA[Weblogic 各种版本下载 
  http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=81&threadID=28193&tstart=0 
Windows WebLogic Platform 8.16中文版 
http://download2.bea.com/pub/platform/81/platform816_zh_CN_win32.]]></description><category></category></item><item><title><![CDATA[Java代码注释规范(From Sun MicroSystem)]]></title><link>https://blog.csdn.net/softimes/article/details/7052470</link><guid>https://blog.csdn.net/softimes/article/details/7052470</guid><author>softimes</author><pubDate>Thu, 08 Dec 2011 10:27:05 +0800</pubDate><description><![CDATA[在软件开发中，文档和代码的管理是很重要的，Java中采用了一个很好JavaDoc机制很好把文档和代码连接了起来。只要你的代码是按照规范写的，那么就可以用Tools来生成如Java API Docs那样的HTML文档，很方便查阅、管理。

        以前写代码很注意代码的风格和注释，但是没有按照具体的规范写，只是按照有些参考书上的样子和自己的想法来写，虽然已经感觉很好了，但是当在Sun的主]]></description><category></category></item><item><title><![CDATA[Android全屏 去除标题栏和状态栏]]></title><link>https://blog.csdn.net/softimes/article/details/7049967</link><guid>https://blog.csdn.net/softimes/article/details/7049967</guid><author>softimes</author><pubDate>Wed, 07 Dec 2011 15:11:59 +0800</pubDate><description><![CDATA[在开发中我们经常需要把我们的应用设置为全屏，这里我所知道的有俩中方法，一中是在代码中设置，另一种方法是在配置文件里改！
一、在代码中设置: 
view plaincopy to clipboardprint?
package com.android.tutor;  
import android.app.Activity;  
import android.os.Bundle; 
import]]></description><category></category></item></channel></rss>