<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[joyyq的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/joyyq</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; joyyq]]></copyright><item><title><![CDATA[Tomcat Remote Debug]]></title><link>https://blog.csdn.net/joyyq/article/details/8647073</link><guid>https://blog.csdn.net/joyyq/article/details/8647073</guid><author>joyyq</author><pubDate>Thu, 07 Mar 2013 16:08:51 +0800</pubDate><description><![CDATA[1.1     Tomcat Remote Debug
1.1.1     Run Tomcat as a windows service
To configure remote debugging when windows as setup as aservice you edit your tomcat configuration and add these startup paramet]]></description><category></category></item><item><title><![CDATA[Greedy quantifiers, Reluctant quantifiers, Possessive quantifiers]]></title><link>https://blog.csdn.net/joyyq/article/details/8643422</link><guid>https://blog.csdn.net/joyyq/article/details/8643422</guid><author>joyyq</author><pubDate>Wed, 06 Mar 2013 17:48:45 +0800</pubDate><description><![CDATA[Greedy quantifiers


X?
X, once or not at all


X*
X, zero or more times


X+
X, one or more times


X{n}
X, exactly n times


X{n,}
X, at least n times


X{n,m}
X, at least n]]></description><category></category></item><item><title><![CDATA[Mock construction of new objects]]></title><link>https://blog.csdn.net/joyyq/article/details/8642088</link><guid>https://blog.csdn.net/joyyq/article/details/8642088</guid><author>joyyq</author><pubDate>Wed, 06 Mar 2013 13:48:42 +0800</pubDate><description><![CDATA[Quick summary

Use the @RunWith(PowerMockRunner.class) annotation at the class-level of the test case.Use the @PrepareForTest(ClassThatCreatesTheNewInstance.class) annotation at the class-level
 of]]></description><category></category></item><item><title><![CDATA[Partial mock local private method or public method in the class and suppress static initial block]]></title><link>https://blog.csdn.net/joyyq/article/details/8641574</link><guid>https://blog.csdn.net/joyyq/article/details/8641574</guid><author>joyyq</author><pubDate>Wed, 06 Mar 2013 11:49:21 +0800</pubDate><description><![CDATA[public class Calc {
	static {
		System.out.println("hahaha");
	}

	public int add(int a, int b) {
		return interADD(a, b);
	}

	private int interADD(int a, int b) {
		return a + b;
	}

	public int min]]></description><category></category></item><item><title><![CDATA[Enable debug in JRE class]]></title><link>https://blog.csdn.net/joyyq/article/details/8640784</link><guid>https://blog.csdn.net/joyyq/article/details/8640784</guid><author>joyyq</author><pubDate>Wed, 06 Mar 2013 10:42:52 +0800</pubDate><description><![CDATA[1. Create a temporary directory. Let's say "tmp" 
> mkdir \tmp 
> mkdir \tmp\out 


2.  Extract src.zip in JDK installation directory to tmp\src 
3. Use find utillity to get a list of all java f]]></description><category></category></item><item><title><![CDATA[ant and ivy]]></title><link>https://blog.csdn.net/joyyq/article/details/7925169</link><guid>https://blog.csdn.net/joyyq/article/details/7925169</guid><author>joyyq</author><pubDate>Thu, 18 Oct 2012 15:31:37 +0800</pubDate><description><![CDATA[1.download ant
2.download ivy
3.copy ivy jar to ant's lib
4.set ant home in eclipse>window>referance>ant
5.add several sections as follow into build.xml
6.add ivy.xml as follow]]></description><category></category></item><item><title><![CDATA[Mocking private methods]]></title><link>https://blog.csdn.net/joyyq/article/details/7771366</link><guid>https://blog.csdn.net/joyyq/article/details/7771366</guid><author>joyyq</author><pubDate>Sat, 21 Jul 2012 21:48:05 +0800</pubDate><description><![CDATA[Quick summary

Use the @RunWith(PowerMockRunner.class) annotation at the class-level of the test case.Use the @PrepareForTest(ClassWithPrivateMethod.class) annotation at the class-level
 of the tes]]></description><category></category></item><item><title><![CDATA[Use junit  test private method]]></title><link>https://blog.csdn.net/joyyq/article/details/7771349</link><guid>https://blog.csdn.net/joyyq/article/details/7771349</guid><author>joyyq</author><pubDate>Sat, 21 Jul 2012 21:43:28 +0800</pubDate><description><![CDATA[The class contain private method need to be test.
public class TestPrivateMethod {
private int add(int a, int b)
{
return a+b;
}
}



The junit for private method test.
public class TestPri]]></description><category></category></item><item><title><![CDATA[webservice trainning plan]]></title><link>https://blog.csdn.net/joyyq/article/details/7739779</link><guid>https://blog.csdn.net/joyyq/article/details/7739779</guid><author>joyyq</author><pubDate>Thu, 12 Jul 2012 12:21:50 +0800</pubDate><description><![CDATA[=================================
webservice training plan
=================================
1. Write a HelloWorld with JAX-WS knowledge.
2. XSD, For the request, it should be contain below elemen]]></description><category></category></item><item><title><![CDATA[SSl握手流程]]></title><link>https://blog.csdn.net/joyyq/article/details/7583877</link><guid>https://blog.csdn.net/joyyq/article/details/7583877</guid><author>joyyq</author><pubDate>Sat, 19 May 2012 23:05:36 +0800</pubDate><description><![CDATA[The previous section provides a high-level description of the SSL handshake, which is the exchange of information between the client and the server prior to sending the encrypted message. This section]]></description><category></category></item><item><title><![CDATA[通过 Struts提供的Spring插件集成Spring]]></title><link>https://blog.csdn.net/joyyq/article/details/7521793</link><guid>https://blog.csdn.net/joyyq/article/details/7521793</guid><author>joyyq</author><pubDate>Sun, 29 Apr 2012 07:08:58 +0800</pubDate><description><![CDATA[Edit Page  Browse
 Space  Add
 Page   
Add
 News 









Spring is a lightweight container, providing centralized, automated configuration and wiring of your application objects, using]]></description><category></category></item><item><title><![CDATA[Comet (programming)]]></title><link>https://blog.csdn.net/joyyq/article/details/7518534</link><guid>https://blog.csdn.net/joyyq/article/details/7518534</guid><author>joyyq</author><pubDate>Fri, 27 Apr 2012 23:51:49 +0800</pubDate><description><![CDATA[Comet is a web application model in which a long-held HTTP request
 allows a web server to push data
 to a browser, without the browser explicitly requesting it.[1][2]Comet is
 an umbrella term, en]]></description><category></category></item><item><title><![CDATA[java中的transient]]></title><link>https://blog.csdn.net/joyyq/article/details/7431142</link><guid>https://blog.csdn.net/joyyq/article/details/7431142</guid><author>joyyq</author><pubDate>Fri, 06 Apr 2012 10:52:39 +0800</pubDate><description><![CDATA[被声明为transient的属性，在序列化保存时是不会被保存的，比如密码这类信息，为了安全性，在序列化存储对象时不需要保存，则可以把密码声明为transient.
如下是transient的例子
保存对象前输出：saved User:cn.learn.test.User@1c39a2d->username=googlepassword=aaabbb111
从文件中重新读取该对象，输出：rea]]></description><category></category></item><item><title><![CDATA[java多线程实现生产者消费者模式]]></title><link>https://blog.csdn.net/joyyq/article/details/7405342</link><guid>https://blog.csdn.net/joyyq/article/details/7405342</guid><author>joyyq</author><pubDate>Thu, 29 Mar 2012 00:05:55 +0800</pubDate><description><![CDATA[package cn.learn.test;public class WaitNotifyTest { /**
  * @param args
  */
 public static void main(String[] args) {
  // TODO Auto-generated method stub
  Count count = new Count();
  MyLock]]></description><category></category></item><item><title><![CDATA[wwwww]]></title><link>https://blog.csdn.net/joyyq/article/details/7383741</link><guid>https://blog.csdn.net/joyyq/article/details/7383741</guid><author>joyyq</author><pubDate>Thu, 22 Mar 2012 16:29:30 +0800</pubDate><description><![CDATA[&lt;hr&gt;]]></description><category></category></item><item><title><![CDATA[DWR开发环境搭建及HelloWord编写]]></title><link>https://blog.csdn.net/joyyq/article/details/7364056</link><guid>https://blog.csdn.net/joyyq/article/details/7364056</guid><author>joyyq</author><pubDate>Sat, 17 Mar 2012 14:25:11 +0800</pubDate><description><![CDATA[第一步 准备
从http://directwebremoting.org/dwr/downloads/index.html下载dwr.jar包
下载dwr依赖的commons-logging-1.0.4.jar，该文件可以从dwr提供的demo程序中解压获取
 
第二步 搭建dwr环境
创建一个web应用工程，将dwr.jar文件和commons-logging-1.0.4.jar拷贝粘]]></description><category></category></item><item><title><![CDATA[hibernate集合映射，one-to-many,删除集合成员]]></title><link>https://blog.csdn.net/joyyq/article/details/7359098</link><guid>https://blog.csdn.net/joyyq/article/details/7359098</guid><author>joyyq</author><pubDate>Thu, 15 Mar 2012 23:37:45 +0800</pubDate><description><![CDATA[1、one方映射文件 


"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

    Mapping file autogenerated by MyEclipse Persistence Tools
-->]]></description><category></category></item><item><title><![CDATA[Link方式在MyEclipse安装spket插件]]></title><link>https://blog.csdn.net/joyyq/article/details/7314788</link><guid>https://blog.csdn.net/joyyq/article/details/7314788</guid><author>joyyq</author><pubDate>Sat, 03 Mar 2012 13:08:51 +0800</pubDate><description><![CDATA[1、 下载spket插件，将插件解压缩到指定的目录，例如D:\EclipsePlug目录
2、 在Eclipse安装目录中创建文件夹Links，在文件中创建一个文件spket.link，在文件中写入”path=D:\\EclipsePlug”,指向插件所在目录。
3、 重新启动MyEclipse，在window->Preferences->Spket->JavaScript Profiles]]></description><category></category></item><item><title><![CDATA[JavaScript实用技巧]]></title><link>https://blog.csdn.net/joyyq/article/details/7305699</link><guid>https://blog.csdn.net/joyyq/article/details/7305699</guid><author>joyyq</author><pubDate>Wed, 29 Feb 2012 13:40:29 +0800</pubDate><description><![CDATA[1、禁止右键菜单、选择、复制]]></description><category></category></item><item><title><![CDATA[Types in C++]]></title><link>https://blog.csdn.net/joyyq/article/details/4067143</link><guid>https://blog.csdn.net/joyyq/article/details/4067143</guid><author>joyyq</author><pubDate>Sun, 12 Apr 2009 17:04:00 +0800</pubDate><description><![CDATA[Enumerated TypesAn integer really represents a value within a sequence — the sequence of numbers. Enumerated typeslet you define your own sequences so that you can declare variables with values in t]]></description><category></category></item></channel></rss>