<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ashish's Technology Blog</title>
	<atom:link href="http://paliwalashish.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://paliwalashish.wordpress.com</link>
	<description>Knowledge is Power</description>
	<lastBuildDate>Tue, 23 Sep 2008 14:46:59 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='paliwalashish.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/26072e11350b73ce761b3b3069ff83dc?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Ashish's Technology Blog</title>
		<link>http://paliwalashish.wordpress.com</link>
	</image>
			<item>
		<title>Implementing SEDA with Apache MINA</title>
		<link>http://paliwalashish.wordpress.com/2008/09/23/implementing-seda-with-apache-mina/</link>
		<comments>http://paliwalashish.wordpress.com/2008/09/23/implementing-seda-with-apache-mina/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 14:46:59 +0000</pubDate>
		<dc:creator>paliwalashish</dc:creator>
				<category><![CDATA[Application Programming]]></category>
		<category><![CDATA[Apache MINA]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[SEDA]]></category>

		<guid isPermaLink="false">http://paliwalashish.wordpress.com/?p=20</guid>
		<description><![CDATA[SEDA (Staged Event Driven Architecure) breaks apart from the traditional thread-pool appraoch of Code Design. While experimenting with implemeneting a MINA based Server, decide to use SEDA architecture. SEDA and MINA have great documentation, so will be jumping straight to the implementation.
SEDA can be implemented in MINA by adding Executors in Filter chain. 
 
From the figure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paliwalashish.wordpress.com&blog=4817746&post=20&subd=paliwalashish&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.eecs.harvard.edu/~mdw/proj/seda/" target="_blank">SEDA (Staged Event Driven Architecure)</a> breaks apart from the traditional thread-pool appraoch of Code Design. While experimenting with implemeneting a MINA based Server, decide to use SEDA architecture. SEDA and MINA have great documentation, so will be jumping straight to the implementation.</p>
<p>SEDA can be implemented in MINA by adding Executors in Filter chain. </p>
<div id="attachment_22" class="wp-caption aligncenter" style="width: 460px"><a href="http://paliwalashish.files.wordpress.com/2008/09/mina_seda1.jpg"><img class="size-large wp-image-22" title="Implementing SEDA using MINA" src="http://paliwalashish.files.wordpress.com/2008/09/mina_seda1.jpg?w=450&#038;h=64" alt="Implementing SEDA using MINA" width="450" height="64" /></a><p class="wp-caption-text">Implementing SEDA using MINA</p></div>
<p> </p>
<p>From the figure above, by adding Executor in the FilterChain between the subsequent logical processing steps, we get the SEDA model in MINA.</p>
<p>Multiple such stages can be created and the MINA shall deliver the message to next stage via the executor implementation, thereby eliminating the blocking thread processing.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/paliwalashish.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/paliwalashish.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/paliwalashish.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/paliwalashish.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/paliwalashish.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/paliwalashish.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/paliwalashish.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/paliwalashish.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/paliwalashish.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/paliwalashish.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paliwalashish.wordpress.com&blog=4817746&post=20&subd=paliwalashish&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://paliwalashish.wordpress.com/2008/09/23/implementing-seda-with-apache-mina/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a727866ad4b241f4016f26c371c5dd62?s=96&#38;d=identicon" medium="image">
			<media:title type="html">techmonk</media:title>
		</media:content>

		<media:content url="http://paliwalashish.files.wordpress.com/2008/09/mina_seda1.jpg?w=450" medium="image">
			<media:title type="html">Implementing SEDA using MINA</media:title>
		</media:content>
	</item>
		<item>
		<title>What is Apache MINA?</title>
		<link>http://paliwalashish.wordpress.com/2008/09/11/what-is-apache-mina/</link>
		<comments>http://paliwalashish.wordpress.com/2008/09/11/what-is-apache-mina/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 10:01:44 +0000</pubDate>
		<dc:creator>paliwalashish</dc:creator>
				<category><![CDATA[Application Programming]]></category>
		<category><![CDATA[Apache MINA]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Network Application]]></category>

		<guid isPermaLink="false">http://paliwalashish.wordpress.com/?p=12</guid>
		<description><![CDATA[Introductory notes on Apache MINA<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paliwalashish.wordpress.com&blog=4817746&post=12&subd=paliwalashish&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>
<p>Apache MINA (Multipurpose Infrastructure for Network Application) is an open source java network application framework. MINA is can be used to create Scalable, high performance Network applications. MINA provides unified API&#8217;s for various transports like TCP, UDP, Serial communication, In-VM pipe. It also makes it easy to make an implementation of custom transport type. MINA provides both high-level and low-level network API&#8217;s.</p>
<p><strong>Application Structure</strong></p>
<p> </p>
<div id="attachment_4" class="wp-caption aligncenter" style="width: 310px"><a href="http://paliwalashish.files.wordpress.com/2008/09/minaappstructure.jpg"><img class="size-medium wp-image-4" title="minaappstructure" src="http://paliwalashish.files.wordpress.com/2008/09/minaappstructure.jpg?w=300&#038;h=142" alt="MINA based Application Architecture" width="300" height="142" /></a><p class="wp-caption-text">MINA based Application Architecture</p></div>
<p>From the figure above, User application interacts with MINA API&#8217;s, shielding the User application from Low level IO details. MINA internally uses IO API&#8217;s to perform the actual IO functions. This makes it easy for the Users to concentrate on Application logic and leave the IO handling to Apache MINA.</p>
<p><strong>Advantages</strong></p>
<ul>
<li>Unified API&#8217;s for various transports (TCP/UDP etc)</li>
<li>Provides high/low level API&#8217;s</li>
<li>Customizable Thread Model</li>
<li>Easy Unit Testing using MockObjects</li>
<li>Integration with DI frameworks like Spring, Google Guice, picocontainer</li>
<li>JMX Manageability</li>
</ul>
<p><strong>Reference</strong></p>
<p><a class="alignleft" title="Apache MINA Home Page" href="http://mina.apache.org" target="_blank">Apache MINA</a></p>
<p>- Home Page of Apache MINA</p></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/paliwalashish.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/paliwalashish.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/paliwalashish.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/paliwalashish.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/paliwalashish.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/paliwalashish.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/paliwalashish.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/paliwalashish.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/paliwalashish.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/paliwalashish.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/paliwalashish.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/paliwalashish.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=paliwalashish.wordpress.com&blog=4817746&post=12&subd=paliwalashish&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://paliwalashish.wordpress.com/2008/09/11/what-is-apache-mina/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a727866ad4b241f4016f26c371c5dd62?s=96&#38;d=identicon" medium="image">
			<media:title type="html">techmonk</media:title>
		</media:content>

		<media:content url="http://paliwalashish.files.wordpress.com/2008/09/minaappstructure.jpg?w=300" medium="image">
			<media:title type="html">minaappstructure</media:title>
		</media:content>
	</item>
	</channel>
</rss>