<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for The Ancient Art of Programming</title>
	<atom:link href="http://blog.springsource.com/arjen/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/arjen</link>
	<description>A blog about programming in .NET and Java</description>
	<lastBuildDate>Mon, 19 May 2008 21:44:31 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on The Sorry State of SAAJ by Arjen Poutsma</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/comment-page-1/#comment-1207</link>
		<dc:creator>Arjen Poutsma</dc:creator>
		<pubDate>Mon, 19 May 2008 21:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/#comment-1207</guid>
		<description>&lt;p&gt;@Dims,
Yes, Axiom is another option, and it can be used in Spring-WS as an alternative to SAAJ. It&#039;s an extra dependency, though, and I don&#039; want to require it. I also&lt;a href=&quot;https://issues.apache.org/jira/browse/WSCOMMONS-110&quot; rel=&quot;nofollow&quot;&gt;had&lt;/a&gt; &lt;a href=&quot;https://issues.apache.org/jira/browse/WSCOMMONS-38&quot; rel=&quot;nofollow&quot;&gt;issues&lt;/a&gt; with Axiom. They are fixed now, which is a Good Thing.&lt;/p&gt;

&lt;p&gt;@Craig
Thanks for the update!&lt;/p&gt;

&lt;p&gt;@Dan
I agree: W3C DOM is lame, and dom4j, JDOM, and XOM are better. However, I had a couple of reasons to using SAAJ + W3C DOM:
&lt;ol&gt;
&lt;li&gt;I didn&#039;t feel like writing yet another SOAP message representation. SOAP is hard, let&#039;s go shopping!&lt;/li&gt;
&lt;li&gt;It&#039;s the standard, so that means you&#039;re getting &lt;a href=&quot;https://xwss.dev.java.net/&quot; rel=&quot;nofollow&quot;&gt;some things&lt;/a&gt; for free&lt;/li&gt;
&lt;li&gt;Using dom4j etc would add another required dependency. Currently, Spring-WS only requires Commons Logging and Spring. Everything else is optional, and I like it that way.&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;

&lt;p&gt;That is not to say I don&#039;t support these alternative dom apis for users, &lt;a href=&quot;http://static.springframework.org/spring-ws/site/apidocs/org/springframework/ws/server/endpoint/package-summary.html&quot; rel=&quot;nofollow&quot;&gt;we do&lt;/a&gt;.  I just don&#039;t want to require them.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Dims,
Yes, Axiom is another option, and it can be used in Spring-WS as an alternative to SAAJ. It&#8217;s an extra dependency, though, and I don&#8217; want to require it. I also<a href="https://issues.apache.org/jira/browse/WSCOMMONS-110" rel="nofollow">had</a> <a href="https://issues.apache.org/jira/browse/WSCOMMONS-38" rel="nofollow">issues</a> with Axiom. They are fixed now, which is a Good Thing.</p>

<p>@Craig
Thanks for the update!</p>

<p>@Dan
I agree: W3C DOM is lame, and dom4j, JDOM, and XOM are better. However, I had a couple of reasons to using SAAJ + W3C DOM:
<ol>
<li>I didn&#8217;t feel like writing yet another SOAP message representation. SOAP is hard, let&#8217;s go shopping!</li>
<li>It&#8217;s the standard, so that means you&#8217;re getting <a href="https://xwss.dev.java.net/" rel="nofollow">some things</a> for free</li>
<li>Using dom4j etc would add another required dependency. Currently, Spring-WS only requires Commons Logging and Spring. Everything else is optional, and I like it that way.</li>
</ol></p>

<p>That is not to say I don&#8217;t support these alternative dom apis for users, <a href="http://static.springframework.org/spring-ws/site/apidocs/org/springframework/ws/server/endpoint/package-summary.html" rel="nofollow">we do</a>.  I just don&#8217;t want to require them.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Sorry State of SAAJ by Dan Diephouse</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/comment-page-1/#comment-1206</link>
		<dc:creator>Dan Diephouse</dc:creator>
		<pubDate>Mon, 19 May 2008 19:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/#comment-1206</guid>
		<description>&lt;p&gt;I guess I&#039;m of the opinion that if one is going to do in memory xml tree manipulation you should use a less lame library like DOM4J or XOM There isn&#039;t attachment support in DOM4J/XOM, but someone could easily hack up a library using one of these two things if they were motivated.&lt;/p&gt;

&lt;p&gt;Yes there is AXIOM also. AXIOM is better than SAAJ/DOM, but still not a fan of the API. If you want streaming it does that, but if you&#039;re doing in memory manipulation its slower &amp; more memory intensive then DOM4J/XOM.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I guess I&#8217;m of the opinion that if one is going to do in memory xml tree manipulation you should use a less lame library like DOM4J or XOM There isn&#8217;t attachment support in DOM4J/XOM, but someone could easily hack up a library using one of these two things if they were motivated.</p>

<p>Yes there is AXIOM also. AXIOM is better than SAAJ/DOM, but still not a fan of the API. If you want streaming it does that, but if you&#8217;re doing in memory manipulation its slower &amp; more memory intensive then DOM4J/XOM.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Sorry State of SAAJ by kevan</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/comment-page-1/#comment-1205</link>
		<dc:creator>kevan</dc:creator>
		<pubDate>Mon, 19 May 2008 18:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/#comment-1205</guid>
		<description>&lt;p&gt;Your test works on Jetty/CXF distributions of Geronimo (which uses the Sun SAAJ implementation), but not Tomcat/Axis2 distributions. So, we&#039;re only half-bad... ;-)&lt;/p&gt;

&lt;p&gt;I posted a few work-arounds in your Geronimo Jira.&lt;/p&gt;

&lt;p&gt;--kevan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Your test works on Jetty/CXF distributions of Geronimo (which uses the Sun SAAJ implementation), but not Tomcat/Axis2 distributions. So, we&#8217;re only half-bad&#8230; <img src='http://blog.springsource.com/arjen/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>I posted a few work-arounds in your Geronimo Jira.</p>

<p>&#8211;kevan</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Sorry State of SAAJ by craig</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/comment-page-1/#comment-1204</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Mon, 19 May 2008 17:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/#comment-1204</guid>
		<description>&lt;p&gt;websphere 6.1&lt;/p&gt;

&lt;p&gt;Testing MessageFactory com.ibm.ws.webservices.engine.soap.MessageFactoryImpl&lt;/p&gt;

&lt;p&gt;Trying to create SOAPMessage: success.&lt;/p&gt;

&lt;p&gt;Trying to get SOAPBody: success.&lt;/p&gt;

&lt;p&gt;Trying to transform from Document to SOAPBody: success.&lt;/p&gt;

&lt;p&gt;Trying to get SOAPBody: success.&lt;/p&gt;

&lt;p&gt;Trying to transform from SOAPBody to OutputStream: success.&lt;/p&gt;

&lt;p&gt;Trying to write SOAPMessage: success.&lt;/p&gt;

&lt;p&gt;All looks well.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>websphere 6.1</p>

<p>Testing MessageFactory com.ibm.ws.webservices.engine.soap.MessageFactoryImpl</p>

<p>Trying to create SOAPMessage: success.</p>

<p>Trying to get SOAPBody: success.</p>

<p>Trying to transform from Document to SOAPBody: success.</p>

<p>Trying to get SOAPBody: success.</p>

<p>Trying to transform from SOAPBody to OutputStream: success.</p>

<p>Trying to write SOAPMessage: success.</p>

<p>All looks well.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on On bytes, chars, Strings, XML and Unicode by Eric</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/comment-page-1/#comment-1203</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 19 May 2008 16:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/#comment-1203</guid>
		<description></description>
		<content:encoded><![CDATA[<p>&gt; which prints the all familiar â€œHÃ©llo WÃ¸rldâ€?. This is a nice trick, and I am not completely sure how it works.</p>

<p>If you change the code to create a byte[] for the XML string &#8217;s&#8217; does it work like the first case.  Because there may be some magic in the file encoding the the javac compiler sees.  Namely that &#8216;HÃ©llo WÃ¸rld&#8217; is read by the complier using some default encoding (e.g. other then UTF-8), and magically transforming this to the correct UTF-16 representation.</p>

<p>From javac
-encoding encoding
    Set the source file encoding name, such as EUCJIS/SJIS. If -encoding is not specified, the platform default converter is used.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Sorry State of SAAJ by Alef Arendsen</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/comment-page-1/#comment-1202</link>
		<dc:creator>Alef Arendsen</dc:creator>
		<pubDate>Mon, 19 May 2008 10:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/#comment-1202</guid>
		<description>&lt;p&gt;Well, you know, other than lame, SAAJ is also boring, so another reason not to bother...&lt;/p&gt;

&lt;p&gt;p.s. for those of you that do not master the Dutch language, &#039;saaj&#039; is almost the same as &#039;saai&#039;, which translates to boring... okay... this is lame in itself, I know...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, you know, other than lame, SAAJ is also boring, so another reason not to bother&#8230;</p>

<p>p.s. for those of you that do not master the Dutch language, &#8217;saaj&#8217; is almost the same as &#8217;saai&#8217;, which translates to boring&#8230; okay&#8230; this is lame in itself, I know&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Sorry State of SAAJ by Davanum Srinivas</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/comment-page-1/#comment-1201</link>
		<dc:creator>Davanum Srinivas</dc:creator>
		<pubDate>Mon, 19 May 2008 09:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/#comment-1201</guid>
		<description>&lt;p&gt;Stefan, One could use Apache Axiom (http://ws.apache.org/commons/axiom/)&lt;/p&gt;

&lt;p&gt;/me ducks and hides from Dan&lt;/p&gt;

&lt;p&gt;Arjen, If you are not already depressed, try running a xsl stylesheet on that DOM. Guaranteed fireworks.&lt;/p&gt;

&lt;p&gt;-- dims&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Stefan, One could use Apache Axiom (<a href="http://ws.apache.org/commons/axiom/" rel="nofollow">http://ws.apache.org/commons/axiom/</a>)</p>

<p>/me ducks and hides from Dan</p>

<p>Arjen, If you are not already depressed, try running a xsl stylesheet on that DOM. Guaranteed fireworks.</p>

<p>&#8211; dims</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Sorry State of SAAJ by Stefan Tilkov</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/comment-page-1/#comment-1200</link>
		<dc:creator>Stefan Tilkov</dc:creator>
		<pubDate>Mon, 19 May 2008 08:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/#comment-1200</guid>
		<description>&lt;p&gt;Dan, it would be nice to be able to write some logic against a SOAP message without depending on any particular stack (even if it&#039;s yours or Arjen&#039;s) :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dan, it would be nice to be able to write some logic against a SOAP message without depending on any particular stack (even if it&#8217;s yours or Arjen&#8217;s) <img src='http://blog.springsource.com/arjen/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Sorry State of SAAJ by Dan Diephouse</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/comment-page-1/#comment-1199</link>
		<dc:creator>Dan Diephouse</dc:creator>
		<pubDate>Mon, 19 May 2008 03:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/19/the-sorry-state-of-saaj/#comment-1199</guid>
		<description>&lt;p&gt;Why do you want to believe? SAAJ is lame, I don&#039;t see much of a reason to use it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Why do you want to believe? SAAJ is lame, I don&#8217;t see much of a reason to use it.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on On bytes, chars, Strings, XML and Unicode by James</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/comment-page-1/#comment-1198</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 17 May 2008 08:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/#comment-1198</guid>
		<description>&lt;p&gt;Hi 
Nice article. Would you be interested in reposting this to JavaLobby - I think it would be useful there. 
Contact me if you&#039;re interested and we can organise it 
James&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi 
Nice article. Would you be interested in reposting this to JavaLobby &#8211; I think it would be useful there. 
Contact me if you&#8217;re interested and we can organise it 
James</p>]]></content:encoded>
	</item>
</channel>
</rss>
