<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>解惑 &#187; Collection</title>
	<atom:link href="http://www.jiehoo.me/tag/collection/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jiehoo.me</link>
	<description>解己之惑，解人之惑</description>
	<lastBuildDate>Mon, 19 Jul 2010 10:01:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Web Service的方法有很多限制</title>
		<link>http://www.jiehoo.me/web-service%e7%9a%84%e6%96%b9%e6%b3%95%e6%9c%89%e5%be%88%e5%a4%9a%e9%99%90%e5%88%b6.htm</link>
		<comments>http://www.jiehoo.me/web-service%e7%9a%84%e6%96%b9%e6%b3%95%e6%9c%89%e5%be%88%e5%a4%9a%e9%99%90%e5%88%b6.htm#comments</comments>
		<pubDate>Mon, 23 Mar 2009 08:45:14 +0000</pubDate>
		<dc:creator>Cherami</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[ArrayList]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Collection]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[Web Service]]></category>

		<guid isPermaLink="false">http://www.jiehoo.com/web-service%e7%9a%84%e6%96%b9%e6%b3%95%e6%9c%89%e5%be%88%e5%a4%9a%e9%99%90%e5%88%b6.htm</guid>
		<description><![CDATA[这个是这段时间发现的，Web Service的方法限制很多，简单的列举下这段时间遇到的： 输入和输出参数不能用Collection等接口，如果用List最好直接用ArrayList，而且ArrayList也不能作为输入参数，只能作为返回值类型 输入参数不能用Class类型 ArrayList和Class都可以wrapper以后用，也就是输入参数里面的类型里面包含ArrayList或Class是没有问题的 最后发点感慨，JAXB的默认实现要求比较多，可能是因为JDK的很多类那个时候是没有考虑到这些。]]></description>
			<content:encoded><![CDATA[<p class='fp'>这个是这段时间发现的，Web Service的方法限制很多，简单的列举下这段时间遇到的：</p>
<ul>
<li>输入和输出参数不能用Collection等接口，如果用List最好直接用ArrayList，而且ArrayList也不能作为输入参数，只能作为返回值类型</li>
<li>输入参数不能用Class类型</li>
<li>ArrayList和Class都可以wrapper以后用，也就是输入参数里面的类型里面包含ArrayList或Class是没有问题的</li>
</ul>
<p>最后发点感慨，JAXB的默认实现要求比较多，可能是因为JDK的很多类那个时候是没有考虑到这些。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiehoo.me/web-service%e7%9a%84%e6%96%b9%e6%b3%95%e6%9c%89%e5%be%88%e5%a4%9a%e9%99%90%e5%88%b6.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
