<?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: Client driven business activity</title>
	<atom:link href="http://bill.burkecentral.com/2007/10/15/client-driven-business-activity/feed/" rel="self" type="application/rss+xml" />
	<link>http://bill.burkecentral.com/2007/10/15/client-driven-business-activity/</link>
	<description>Middleware tech talk</description>
	<pubDate>Fri, 21 Nov 2008 22:07:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Shamberger</title>
		<link>http://bill.burkecentral.com/2007/10/15/client-driven-business-activity/#comment-368</link>
		<dc:creator>Michael Shamberger</dc:creator>
		<pubDate>Thu, 18 Oct 2007 11:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/2007/10/15/client-driven-business-activity/#comment-368</guid>
		<description>unrelated....  You made a post a couple of years ago.   I was wondering if you could point me to the example code.  We use have a commercial content management system application that will not upgrade to java5 until the end of the year and have the below I/O bottleneck.


-------------------------
I've posted this in the past, but I ran into scalability problems with Object streams when writing a custom transport for JBoss. It boils down to some static variables being synchronized within java.io.ObjectStreamClass

    /** cache mapping local classes -&#62; descriptors */
    private static final SoftCache localDescs = new SoftCache(10);
    /** cache mapping field group/local desc pairs -&#62; field reflectors */
    private static final SoftCache reflectors = new SoftCache(10);

I walked through some hoops to change the use of SoftCache to a ConcurrentReaderHashMap and throughput started increasing 20-40% depending on how many threads you run through it. It is not an issue if you're just marshalling primitives, but becomes an issue of course if you're marshalling objects. I have the code for this, but it is a derivative of JDK 1.4 source which means it is illegal to distribute. Email me if you want it. I'm interested in any legal work-around if you have one.

I'd also be interested in incorporating some of your research into a JBoss transport. Email if you're interested and I'll point you to the appropriate example code.

Bill</description>
		<content:encoded><![CDATA[<p>unrelated&#8230;.  You made a post a couple of years ago.   I was wondering if you could point me to the example code.  We use have a commercial content management system application that will not upgrade to java5 until the end of the year and have the below I/O bottleneck.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
I&#8217;ve posted this in the past, but I ran into scalability problems with Object streams when writing a custom transport for JBoss. It boils down to some static variables being synchronized within java.io.ObjectStreamClass</p>
<p>    /** cache mapping local classes -&gt; descriptors */<br />
    private static final SoftCache localDescs = new SoftCache(10);<br />
    /** cache mapping field group/local desc pairs -&gt; field reflectors */<br />
    private static final SoftCache reflectors = new SoftCache(10);</p>
<p>I walked through some hoops to change the use of SoftCache to a ConcurrentReaderHashMap and throughput started increasing 20-40% depending on how many threads you run through it. It is not an issue if you&#8217;re just marshalling primitives, but becomes an issue of course if you&#8217;re marshalling objects. I have the code for this, but it is a derivative of JDK 1.4 source which means it is illegal to distribute. Email me if you want it. I&#8217;m interested in any legal work-around if you have one.</p>
<p>I&#8217;d also be interested in incorporating some of your research into a JBoss transport. Email if you&#8217;re interested and I&#8217;ll point you to the appropriate example code.</p>
<p>Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Hookom</title>
		<link>http://bill.burkecentral.com/2007/10/15/client-driven-business-activity/#comment-361</link>
		<dc:creator>Jacob Hookom</dc:creator>
		<pubDate>Mon, 15 Oct 2007 16:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/2007/10/15/client-driven-business-activity/#comment-361</guid>
		<description>&lt;code&gt;@Location("/hotel/reservations/${r.getId()}")
        public Reservation book(@QueryParam("room") int room);&lt;/code&gt;

Could just be expressed as (minute detail):

&lt;code&gt;@Location("/hotel/reservations/${r.id}")
        public Reservation book(@QueryParam("room") int room);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><code>@Location("/hotel/reservations/${r.getId()}")<br />
        public Reservation book(@QueryParam("room") int room);</code></p>
<p>Could just be expressed as (minute detail):</p>
<p><code>@Location("/hotel/reservations/${r.id}")<br />
        public Reservation book(@QueryParam("room") int room);</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The thoughts of an IT professional : Annotations used for deployment</title>
		<link>http://bill.burkecentral.com/2007/10/15/client-driven-business-activity/#comment-360</link>
		<dc:creator>The thoughts of an IT professional : Annotations used for deployment</dc:creator>
		<pubDate>Mon, 15 Oct 2007 15:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://bill.burkecentral.com/2007/10/15/client-driven-business-activity/#comment-360</guid>
		<description>[...] was reading this post from Bill Burke&#8217;s blog and I found myself shocked by the sheer number of annotations [...]</description>
		<content:encoded><![CDATA[<p>[...] was reading this post from Bill Burke&#8217;s blog and I found myself shocked by the sheer number of annotations [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
