Cannot open file (/var/www/vhosts/java-hair.com/httpdocs/wp-content/backup/.htaccess)Cannot write to file (/var/www/vhosts/java-hair.com/httpdocs/wp-content/backup/.htaccess)<?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 Java Hair</title>
	<atom:link href="http://www.java-hair.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.java-hair.com</link>
	<description>A Blog about Java, IT, and Music</description>
	<pubDate>Thu, 11 Mar 2010 10:44:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on 8 Things Web Application Developers Should Know by Read This Link &#187; 8 Things Web Developers Should Know</title>
		<link>http://www.java-hair.com/?p=34&cpage=1#comment-89</link>
		<dc:creator>Read This Link &#187; 8 Things Web Developers Should Know</dc:creator>
		<pubDate>Sat, 09 Jan 2010 18:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=34#comment-89</guid>
		<description>[...] 8 Things Web Developers Should Know [...]</description>
		<content:encoded><![CDATA[<p>[...] 8 Things Web Developers Should Know [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accessing Twitter with Java using HttpClient by Useful resource to create twitter application &#124; blogfreakz.com</title>
		<link>http://www.java-hair.com/?p=137&cpage=1#comment-88</link>
		<dc:creator>Useful resource to create twitter application &#124; blogfreakz.com</dc:creator>
		<pubDate>Tue, 04 Aug 2009 19:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=137#comment-88</guid>
		<description>[...] Accessing Twitter with Java using HttpClient  [...]</description>
		<content:encoded><![CDATA[<p>[...] Accessing Twitter with Java using HttpClient  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generate an Java-based Ajax-enabled Web App in 5 Minutes by News Generate an Java-based Ajax-enabled Web App in 5 Minutes &#124; Web 2.0 Designer</title>
		<link>http://www.java-hair.com/?p=331&cpage=1#comment-87</link>
		<dc:creator>News Generate an Java-based Ajax-enabled Web App in 5 Minutes &#124; Web 2.0 Designer</dc:creator>
		<pubDate>Tue, 23 Jun 2009 22:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=331#comment-87</guid>
		<description>[...] The rest is here: Generate an Java-based Ajax-enabled Web App in 5 Minutes [...]</description>
		<content:encoded><![CDATA[<p>[...] The rest is here: Generate an Java-based Ajax-enabled Web App in 5 Minutes [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XML Schema Design: Part 1 by Posts about xml as of May 13, 2009 &#124; Shirasmane</title>
		<link>http://www.java-hair.com/?p=191&cpage=1#comment-83</link>
		<dc:creator>Posts about xml as of May 13, 2009 &#124; Shirasmane</dc:creator>
		<pubDate>Wed, 13 May 2009 14:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=191#comment-83</guid>
		<description>[...] dictates… (Budget: fixed $250, Jobs: Flash, Graphic Design, XML) Go to Source Share and Enjoy:   XML Schema Design: Part 1 - java-hair.com 04/07/2009 Introduction This post and the posts that follow are to provide some of [...]</description>
		<content:encoded><![CDATA[<p>[...] dictates… (Budget: fixed $250, Jobs: Flash, Graphic Design, XML) Go to Source Share and Enjoy:   XML Schema Design: Part 1 - java-hair.com 04/07/2009 Introduction This post and the posts that follow are to provide some of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing JDeveloper 11g on Ubuntu 8.10 by Robert Nocera</title>
		<link>http://www.java-hair.com/?p=144&cpage=1#comment-82</link>
		<dc:creator>Robert Nocera</dc:creator>
		<pubDate>Thu, 23 Apr 2009 16:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=144#comment-82</guid>
		<description>Performance has been one of it's weaknesses in general in my opinion.  Each release has been getting better and better for the most part, especially since the Tech Previews.

I have not used it extensively on Linux yet to be able to let you know what the performance really is like.</description>
		<content:encoded><![CDATA[<p>Performance has been one of it&#8217;s weaknesses in general in my opinion.  Each release has been getting better and better for the most part, especially since the Tech Previews.</p>
<p>I have not used it extensively on Linux yet to be able to let you know what the performance really is like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Installing JDeveloper 11g on Ubuntu 8.10 by jplmelanson</title>
		<link>http://www.java-hair.com/?p=144&cpage=1#comment-81</link>
		<dc:creator>jplmelanson</dc:creator>
		<pubDate>Wed, 22 Apr 2009 14:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=144#comment-81</guid>
		<description>Did you use it intensively with a Fusion app?

I am curious about the performance of the beast under linux because under windows it's really weak on that point.</description>
		<content:encoded><![CDATA[<p>Did you use it intensively with a Fusion app?</p>
<p>I am curious about the performance of the beast under linux because under windows it&#8217;s really weak on that point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accessing Twitter with Java using HttpClient by Robert Nocera</title>
		<link>http://www.java-hair.com/?p=137&cpage=1#comment-80</link>
		<dc:creator>Robert Nocera</dc:creator>
		<pubDate>Wed, 01 Apr 2009 14:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=137#comment-80</guid>
		<description>Thanks for that, jpswain, I hadn't had time to look into it yet.</description>
		<content:encoded><![CDATA[<p>Thanks for that, jpswain, I hadn&#8217;t had time to look into it yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accessing Twitter with Java using HttpClient by jpswain</title>
		<link>http://www.java-hair.com/?p=137&cpage=1#comment-79</link>
		<dc:creator>jpswain</dc:creator>
		<pubDate>Wed, 01 Apr 2009 01:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=137#comment-79</guid>
		<description>Ok, I feel silly coming back to answer my own question, but I figured it out, for anyone who might want to use httpclient 4.x:
The important thing is that your HttpPost must use the BasicHttpParams and can't have useExpectContinue set to true.  This is what caused a 417 Expectation Failed response for me. 

Like this:
        // &#62;&#62; Set Hostname
        hostname = "twitter.com";
        // &#62;&#62; HttpParams
        HttpParams params = new BasicHttpParams();
        // NOTE This following line cannot set true or you get error 417 Expectation Failed.
        HttpProtocolParams.setUseExpectContinue(params, false);
        HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1);
        standardHttpPostParams = params;
        // &#62;&#62; AuthScope
        authScope = new AuthScope(hostname, 80);
        // &#62;&#62; Credentials
        credentials = new UsernamePasswordCredentials(username, password);
        // &#62;&#62; Client
        client = new DefaultHttpClient(getStandardPostParams());
        applyCredentials(client);</description>
		<content:encoded><![CDATA[<p>Ok, I feel silly coming back to answer my own question, but I figured it out, for anyone who might want to use httpclient 4.x:<br />
The important thing is that your HttpPost must use the BasicHttpParams and can&#8217;t have useExpectContinue set to true.  This is what caused a 417 Expectation Failed response for me. </p>
<p>Like this:<br />
        // &gt;&gt; Set Hostname<br />
        hostname = &#8220;twitter.com&#8221;;<br />
        // &gt;&gt; HttpParams<br />
        HttpParams params = new BasicHttpParams();<br />
        // NOTE This following line cannot set true or you get error 417 Expectation Failed.<br />
        HttpProtocolParams.setUseExpectContinue(params, false);<br />
        HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1);<br />
        standardHttpPostParams = params;<br />
        // &gt;&gt; AuthScope<br />
        authScope = new AuthScope(hostname, 80);<br />
        // &gt;&gt; Credentials<br />
        credentials = new UsernamePasswordCredentials(username, password);<br />
        // &gt;&gt; Client<br />
        client = new DefaultHttpClient(getStandardPostParams());<br />
        applyCredentials(client);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accessing Twitter with Java using HttpClient by Robert Nocera</title>
		<link>http://www.java-hair.com/?p=137&cpage=1#comment-78</link>
		<dc:creator>Robert Nocera</dc:creator>
		<pubDate>Mon, 30 Mar 2009 01:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=137#comment-78</guid>
		<description>Actually I haven't tried it with 4.x I was using 3.1 at the time.</description>
		<content:encoded><![CDATA[<p>Actually I haven&#8217;t tried it with 4.x I was using 3.1 at the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accessing Twitter with Java using HttpClient by jpswain</title>
		<link>http://www.java-hair.com/?p=137&cpage=1#comment-77</link>
		<dc:creator>jpswain</dc:creator>
		<pubDate>Sun, 29 Mar 2009 05:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.java-hair.com/?p=137#comment-77</guid>
		<description>Just curious if you tried getting this to work with http-client 4.x (http://hc.apache.org/httpcomponents-client/index.html)
I have been able to get it work ok with the GET requests on the Twitter API, as well as the POST ones.  The problem is that with the POST ones I have to encode the params into the URL myself.  Using the methods in the client examples did not work.  Just curious.
Thanks for posting how to do it with the 3.x client!
Jamie</description>
		<content:encoded><![CDATA[<p>Just curious if you tried getting this to work with http-client 4.x (http://hc.apache.org/httpcomponents-client/index.html)<br />
I have been able to get it work ok with the GET requests on the Twitter API, as well as the POST ones.  The problem is that with the POST ones I have to encode the params into the URL myself.  Using the methods in the client examples did not work.  Just curious.<br />
Thanks for posting how to do it with the 3.x client!<br />
Jamie</p>
]]></content:encoded>
	</item>
</channel>
</rss>
