<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weidea的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weidea</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weidea]]></copyright><item><title><![CDATA[Ioc容器初始化-bean资源定位（3）]]></title><link>https://blog.csdn.net/weidea/article/details/44044761</link><guid>https://blog.csdn.net/weidea/article/details/44044761</guid><author>weidea</author><pubDate>Tue, 03 Mar 2015 22:28:05 +0800</pubDate><description><![CDATA[上篇把资源文件“bean.xml” 存储成spring的resourceLoader数组中后。 
然后就是通过spring的资源加载器读入bean定义的文件。bean定义的载入过程就是将bean定义资源文件读入内存并解析传换成spring的bean数据机构。 
上两步是定位资源文件，现在是解析的过程：    if (refresh) {
            refresh();]]></description><category></category></item><item><title><![CDATA[Ioc容器初始化-bean资源定位（2）]]></title><link>https://blog.csdn.net/weidea/article/details/43792885</link><guid>https://blog.csdn.net/weidea/article/details/43792885</guid><author>weidea</author><pubDate>Fri, 13 Feb 2015 11:48:48 +0800</pubDate><description><![CDATA[紧接上篇：
2-setConfigLocations(configLocations);
方法如下：
public void setConfigLocation(String location ) {
          setConfigLocations(StringUtils. tokenizeToStringArray(location, CONFIG_LOCATION_DELIMI]]></description><category></category></item><item><title><![CDATA[Ioc容器初始化-bean资源定位（1）构造函数super(parent)]]></title><link>https://blog.csdn.net/weidea/article/details/43792245</link><guid>https://blog.csdn.net/weidea/article/details/43792245</guid><author>weidea</author><pubDate>Fri, 13 Feb 2015 11:39:16 +0800</pubDate><description><![CDATA[1.IoC容器初始化：

Spring的IoC容器初始化包括：Bean定义资源文件的定位、载入和注册3个基本过程。

(1).Bean定义资源文件的定位：

Bean定义资源文件定位由ResourceLoader通过统一的Resource接口来完成，Resource接口将各种形式的Bean定义资源文件封装成统一的、IoC容器可进行载入操作的对象。

(2).Bean定义资源文件的载]]></description><category></category></item><item><title><![CDATA[《spring源码深入解析》实践-环境配置]]></title><link>https://blog.csdn.net/weidea/article/details/43610563</link><guid>https://blog.csdn.net/weidea/article/details/43610563</guid><author>weidea</author><pubDate>Sat, 07 Feb 2015 20:49:55 +0800</pubDate><description><![CDATA[试图可以把spring的每一个包都放入eclips中阅读，像看软件一样。


1.首先下载 gradle  类似于maven springsource是基于这个排布的。


2.配置环境变量 GRADLE_HOME

下面是gradle所在的目录。



配置环境变量 Path 添加 %GRADLE_HOME%\bin;
注意分号和反斜杠。


3.cmd中测试 g]]></description><category></category></item><item><title><![CDATA[零基础学习 nginx + tomcat]]></title><link>https://blog.csdn.net/weidea/article/details/43493549</link><guid>https://blog.csdn.net/weidea/article/details/43493549</guid><author>weidea</author><pubDate>Wed, 04 Feb 2015 21:31:00 +0800</pubDate><description><![CDATA[操作系统win7
1.首先，搞清楚web 服务器和 tomcat的区别，以及为什么要用nginx+tomcat：

我们平时对j2ee开发的时候使用的是tomcat服务器，tomcat服务器是用来解析servlet动态网页的，比如jsp。而apache web服务器只能处理静态页面，如html，css等。
其实tomcat也可以解析静态页面，但是效率很差，我们在开发的时候因为注重开发，并不]]></description><category></category></item><item><title><![CDATA[Spring实现AOP动态代理（1）]]></title><link>https://blog.csdn.net/weidea/article/details/43413701</link><guid>https://blog.csdn.net/weidea/article/details/43413701</guid><author>weidea</author><pubDate>Mon, 02 Feb 2015 21:00:25 +0800</pubDate><description><![CDATA[Aspectj实现Spring中的动态代理。


1.首先我们新建设一个类和一个方法用来插入，就是所要插入的切面。


public
class
LogInterceptor {
     public
void
before(){
           System.
out.println(
"method start!");
     }
}


2.以]]></description><category></category></item><item><title><![CDATA[为何使用动态代理]]></title><link>https://blog.csdn.net/weidea/article/details/43371883</link><guid>https://blog.csdn.net/weidea/article/details/43371883</guid><author>weidea</author><pubDate>Sun, 01 Feb 2015 15:56:46 +0800</pubDate><description><![CDATA[1. 一般情况下，想要对一个现有的方法添加一些额外的操作有这样几种办法：
比如：
public void test(){
System.out.println("hello world");
}
在这个方法输出hello world前添加一个log记录：（这里我们简单就输出一下）
System.out.println("log");


1.直接改源代码，直接添加代码：

]]></description><category></category></item><item><title><![CDATA[动态代理（3）- newProxyInstance（）实现原理]]></title><link>https://blog.csdn.net/weidea/article/details/43348447</link><guid>https://blog.csdn.net/weidea/article/details/43348447</guid><author>weidea</author><pubDate>Sat, 31 Jan 2015 22:41:58 +0800</pubDate><description><![CDATA[对于newProxyInstance方法我们先将一下整个实现的思路。
      总体思路就是他通过字符串化产生一个新的java类，再动态编译返回对象。注意是动态编译。


      简单来说就是他通过一些传递进来的参数，自己动态模拟写了一个java类，编译返回给用户，因为用户只要求得到一个对象。中间就比较自由。




 ---------------------------]]></description><category></category></item><item><title><![CDATA[动态代理（2）]]></title><link>https://blog.csdn.net/weidea/article/details/43342971</link><guid>https://blog.csdn.net/weidea/article/details/43342971</guid><author>weidea</author><pubDate>Sat, 31 Jan 2015 19:30:16 +0800</pubDate><description><![CDATA[我们看具体代码：

public void pro() throws Exception{

     Tank t = new Tank ();

     InvocationHandler h = new TimeHandler( t);

     Moveable m = (Moveable)Proxy.newProxyInstance(Moveable. class,]]></description><category></category></item><item><title><![CDATA[动态代理（1）]]></title><link>https://blog.csdn.net/weidea/article/details/43317567</link><guid>https://blog.csdn.net/weidea/article/details/43317567</guid><author>weidea</author><pubDate>Fri, 30 Jan 2015 22:30:57 +0800</pubDate><description><![CDATA[有一个方法，我们想在他的基础上添加一些处理，比如计算一下这个方法开始到结束使用的时间。
现在有个方法叫类tank 里面所有的方法都要测试他的运行时间，但是我们不想改动源代码。就可以使用动态代理，对对象包装一下。
简单来讲就是有一个方法，可以通过传递参数，（参数包括需要被处理的那个类，以及指定的代理类）就可以对这个指定的类进行相应的 代理类的处理。
例子：

@Test

public]]></description><category></category></item><item><title><![CDATA[appengine project中 client和server之间实现数据的传递]]></title><link>https://blog.csdn.net/weidea/article/details/9025909</link><guid>https://blog.csdn.net/weidea/article/details/9025909</guid><author>weidea</author><pubDate>Tue, 04 Jun 2013 22:33:30 +0800</pubDate><description><![CDATA[client 负责显示，server端处理数据。 这里又两个包  xxx.xxx.client就是client端 xxx.xxx.server就是服务端。他们通过service这个东西传递数据。
1.首先在client端 提供一个接口，提供所要实现的方法。这里就一个方法要实现。这个接口要继承RemoteService类。
import com.google.gwt.user.client.rp]]></description><category></category></item><item><title><![CDATA[使用GWT 编译成javascript（1）]]></title><link>https://blog.csdn.net/weidea/article/details/8994500</link><guid>https://blog.csdn.net/weidea/article/details/8994500</guid><author>weidea</author><pubDate>Thu, 30 May 2013 17:02:36 +0800</pubDate><description><![CDATA[我觉得app engine 挺好的，谁都是这么觉得的。


完全按照tutorial写的一个程序 一个股票动态列表，暂且这么说吧。 
新建一个project 然后运行下先，然后shit， 一上来就遇到错误：”Unable to restore the previous TimeZone“
还好一个叼人如是说：
See this
 bug report. For me, it was]]></description><category></category></item><item><title><![CDATA[C语言2011年3月 实验题]]></title><link>https://blog.csdn.net/weidea/article/details/6290266</link><guid>https://blog.csdn.net/weidea/article/details/6290266</guid><author>weidea</author><pubDate>Wed, 30 Mar 2011 22:51:00 +0800</pubDate><description><![CDATA[<br />Write a program that finds all triples of consecutive positive three-digit integers each of which is<br />
the sum of two squares.<br />
Hint: As we are not constrained by memory space for this problem, and as we have some experience<br />
with in]]></description><category></category></item><item><title><![CDATA[request.getRequestDispatcher("*.jsp").forward( request, response)和sendRedirect区别]]></title><link>https://blog.csdn.net/weidea/article/details/2923771</link><guid>https://blog.csdn.net/weidea/article/details/2923771</guid><author>weidea</author><pubDate>Sat, 13 Sep 2008 17:41:00 +0800</pubDate><description><![CDATA[1、forward方法只能重定向到同一个Web应用中的某一个资源，重定向后浏览器URL不变。     sendRedirect方法可重定向到任何URL，URL没有任何的限制 可以是外部的一个资源，重定向后浏览器URL改变。2  foward的 request.getRequestDispatcher("*.jsp").forward( request, response)      req]]></description><category></category></item><item><title><![CDATA[java环境变量配置]]></title><link>https://blog.csdn.net/weidea/article/details/2838410</link><guid>https://blog.csdn.net/weidea/article/details/2838410</guid><author>weidea</author><pubDate>Wed, 27 Aug 2008 15:26:00 +0800</pubDate><description><![CDATA[ 一直没记住怎么配 写下供参考 1安装JDk目录：C:/Program Files/ｊａｖａ/jdk1.5.0_052，环境变量3，在系统变量(S)栏点新建，在变量名中填上ｊａｖａ_HOME 变量值：C:/Program Files/ｊａｖａ/jdk1.5.0_054，确定后在系统变量(S)栏再新建一个环境变量CLASSPATH变量值：.;%ｊａｖａ_HOME%/lib/d]]></description><category></category></item></channel></rss>