<?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 on: Tip: Clustering and your Servlet application</title>
	<atom:link href="http://madbean.com/2003/mb2003-36/feed/" rel="self" type="application/rss+xml" />
	<link>http://madbean.com/2003/mb2003-36/</link>
	<description>The other kind of micro blog</description>
	<lastBuildDate>Fri, 03 Sep 2010 09:45:27 +1000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pete</title>
		<link>http://madbean.com/2003/mb2003-36/comment-page-1/#comment-348</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Thu, 26 May 2005 09:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-36#comment-348</guid>
		<description>&lt;p&gt;Absolutely right.
I am currently debugging an app that is failing to cluster. I had to use an awk script to process all the java code inserting 
tests for instanceof java.io.serializable where ever session.setAttribute is invoked, and then test that each object was
indeed serializable by writing/reading from a byte buffer. Its a nightmare (this is quite a large app). 
What suprises me about J2EE - what J2EE really needs - is a J2EE compiler that spots these faults and reports them. The
bog ordinary java compiler is a bit thick when it comes to J2EE.
I&#039;m scratching my head now wondering how I can comprehensively discover where an object is not being updated with
a call to session.setAttribute... it all depends on the paths the app takes through the code. A J2EE compiler could identify
which variables were associated with session and warn me that they were being modified without being updated in 
session.
I can&#039;t wait for J3EE. J2EE clusters stink :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Absolutely right.<br />
I am currently debugging an app that is failing to cluster. I had to use an awk script to process all the java code inserting<br />
tests for instanceof java.io.serializable where ever session.setAttribute is invoked, and then test that each object was<br />
indeed serializable by writing/reading from a byte buffer. Its a nightmare (this is quite a large app).<br />
What suprises me about J2EE &#8211; what J2EE really needs &#8211; is a J2EE compiler that spots these faults and reports them. The<br />
bog ordinary java compiler is a bit thick when it comes to J2EE.<br />
I&#8217;m scratching my head now wondering how I can comprehensively discover where an object is not being updated with<br />
a call to session.setAttribute&#8230; it all depends on the paths the app takes through the code. A J2EE compiler could identify<br />
which variables were associated with session and warn me that they were being modified without being updated in<br />
session.<br />
I can&#8217;t wait for J3EE. J2EE clusters stink <img src='http://madbean.com/wp-content/plugins/smilies-themer/adiumicons/happy.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm Edgar</title>
		<link>http://madbean.com/2003/mb2003-36/comment-page-1/#comment-93</link>
		<dc:creator>Malcolm Edgar</dc:creator>
		<pubDate>Tue, 01 Jul 2003 23:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-36#comment-93</guid>
		<description>&lt;p&gt;On this topic there is an interesting article on JavaWorld using Cookies for session state management. I haven&#039;t used this, but its an interesting concept.&lt;/p&gt;

&lt;p&gt;http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servlets_p.html&lt;/p&gt;

&lt;p&gt;If you want take this further there is a good Apache commons codec library for doing Base64 encoding of Serialized objects.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>On this topic there is an interesting article on JavaWorld using Cookies for session state management. I haven&#8217;t used this, but its an interesting concept.</p>
<p><a href="http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servlets_p.html" rel="nofollow">http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servlets_p.html</a></p>
<p>If you want take this further there is a good Apache commons codec library for doing Base64 encoding of Serialized objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron Purdy</title>
		<link>http://madbean.com/2003/mb2003-36/comment-page-1/#comment-92</link>
		<dc:creator>Cameron Purdy</dc:creator>
		<pubDate>Fri, 27 Jun 2003 20:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-36#comment-92</guid>
		<description>&lt;p&gt;Two words: Tangosol Coherence&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Two words: Tangosol Coherence</p>
]]></content:encoded>
	</item>
</channel>
</rss>
