<?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/"
	>

<channel>
	<title>bugs of a debugger &#187; Java</title>
	<atom:link href="http://arunmvishnu.com/category/programming/java-programming/feed" rel="self" type="application/rss+xml" />
	<link>http://arunmvishnu.com</link>
	<description>itz all about me, my works, my views, my feelings …. all my bla bla blas</description>
	<lastBuildDate>Thu, 09 Sep 2010 09:55:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is Struts?</title>
		<link>http://arunmvishnu.com/programming/java-programming/what-is-struts.html</link>
		<comments>http://arunmvishnu.com/programming/java-programming/what-is-struts.html#comments</comments>
		<pubDate>Tue, 26 Feb 2008 02:18:00 +0000</pubDate>
		<dc:creator>Arun Vishnu</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://arunvishnuflip.wordpress.com/2008/02/26/what-is-struts/</guid>
		<description><![CDATA[What is  Struts? 
Struts is  a free open-source framework for creating Java web applications. 
Web  applications differ from conventional websites in that web applications can  create a dynamic response. Many websites deliver only static pages. A web application  can interact with databases and business logic engines to customize a response. [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><strong>What is  Struts? </strong></p>
<p>Struts is  a free open-source framework for creating Java web applications. </p>
<p>Web  applications differ from conventional websites in that web applications can  create a dynamic response. Many websites deliver only static pages. A web application  can interact with databases and business logic engines to customize a response. </p>
<p>Web  applications based on JavaServer Pages sometimes commingle database code, page  design code, and control flow code. In practice, we find that unless these  concerns are separated, larger applications become difficult to maintain. </p>
<p>One way to  separate concerns in a software application is to use a Model-View-Controller  (MVC) architecture. The <em>Model</em> represents the business or database code,  the <em>View</em> represents the page design code, and the <em>Controller</em> represents the navigational code. The Struts framework is designed to help  developers create web applications that utilize a MVC architecture. </p>
<p>The  framework provides three key components: </p>
<ul type="disc">
<li>A &quot;request&quot; handler       provided by the application developer that is mapped to a standard URI. </li>
<li>A &quot;response&quot; handler       that transfers control to another resource which completes the response. </li>
<li>A tag library that helps       developers create interactive form-based applications with server pages. </li>
</ul>
<p>The framework&#8217;s architecture and  tags are buzzword compliant. Struts works well with conventional REST  applications and with nouveau technologies like SOAP and AJAX.</p>
<p> <strong>What is  Model-View-Controller (MVC) Architecture? </strong></p>
<p>Model-View-Controller  architecture is all about dividing application components into three different  categories Model, View and the Controller. Components of the MVC architecture  has unique responsibility and each component is independent of the other component.  Changes in one component will have no or less impact on other component.  Responsibilities of the components are:</p>
<p><strong>Model:</strong> Model is responsible for providing  the data from the database and saving the data into the data store. All the  business logic are implemented in the Model. Data entered by the user through  View are check in the model before saving into the database. Data access, Data  validation and the data saving logic are part of Model. </p>
<p><strong>View: </strong>View represents the user view of the  application and is responsible for taking the input from the user, dispatching  the request to the controller and then receiving response from the controller  and displaying the result to the user. HTML, JSPs, Custom Tag Libraries and  Resources files are the part of view component.</p>
<p><strong>Controller:</strong> Controller is intermediary between  Model and View. Controller is responsible for receiving the request from  client. Once request is received from client it executes the appropriate  business logic from the Model and then produce the output to the user using the  View component. ActionServlet, Action, ActionForm and struts-config.xml are the  part of Controller.</p>
</p>
<p><a href="http://arunmvishnu.googlepages.com/struct.JPG/struct-full.jpg"><img src="http://arunmvishnu.googlepages.com/struct.JPG/struct-full.jpg" /></a></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=What+is+Struts%3F&amp;du=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;cn=What%20is%20%20Struts%3F%20%0D%0AStruts%20is%20%20a%20free%20open-source%20framework%20for%20creating%20Java%20web%20applications.%20%0D%0AWeb%20%20applications%20differ%20from%20conventional%20websites%20in%20that%20web%20applications%20can%20%20create%20a%20dynamic%20response.%20Many%20websites%20deliver%20only%20static%20pages.%20A%20web%20application%20%20can%20interact%20with%20databases%20and%20bu" rel="nofollow" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;t=What+is+Struts%3F" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;title=What+is+Struts%3F" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;title=What+is+Struts%3F" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=What+is+Struts%3F+-+http://arunmvishnu.com/programming/java-programming/what-is-struts.html+(via+@arunmvishnu)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;title=What+is+Struts%3F" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;submitHeadline=What+is+Struts%3F&amp;submitSummary=What%20is%20%20Struts%3F%20%0D%0AStruts%20is%20%20a%20free%20open-source%20framework%20for%20creating%20Java%20web%20applications.%20%0D%0AWeb%20%20applications%20differ%20from%20conventional%20websites%20in%20that%20web%20applications%20can%20%20create%20a%20dynamic%20response.%20Many%20websites%20deliver%20only%20static%20pages.%20A%20web%20application%20%20can%20interact%20with%20databases%20and%20bu&amp;submitCategory=science&amp;submitAssetType=image" rel="nofollow" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;title=What+is+Struts%3F" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://arunmvishnu.com/programming/java-programming/what-is-struts.html" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;t=What+is+Struts%3F" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://arunmvishnu.com/programming/java-programming/what-is-struts.html/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;title=What+is+Struts%3F&amp;summary=What%20is%20%20Struts%3F%20%0D%0AStruts%20is%20%20a%20free%20open-source%20framework%20for%20creating%20Java%20web%20applications.%20%0D%0AWeb%20%20applications%20differ%20from%20conventional%20websites%20in%20that%20web%20applications%20can%20%20create%20a%20dynamic%20response.%20Many%20websites%20deliver%20only%20static%20pages.%20A%20web%20application%20%20can%20interact%20with%20databases%20and%20bu&amp;source=bugs of a debugger" rel="nofollow" title="Share this on Linkedin">Share this on Linkedin</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;title=What+is+Struts%3F" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=What+is+Struts%3F&amp;link=http://arunmvishnu.com/programming/java-programming/what-is-struts.html" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;t=What+is+Struts%3F" rel="nofollow" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="sexy-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;title=What+is+Struts%3F" rel="nofollow" title="Share this on Wikio">Share this on Wikio</a>
		</li>
		<li class="sexy-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;title=What+is+Struts%3F" rel="nofollow" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://arunmvishnu.com/programming/java-programming/what-is-struts.html&amp;n=What+is+Struts%3F&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Farunmvishnu.com%2Fprogramming%2Fjava-programming%2Fwhat-is-struts.html&amp;linkname=What%20is%20Struts%3F"><img src="http://arunmvishnu.com/home/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://arunmvishnu.com/programming/java-programming/what-is-struts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching using disk

Served from: server1.shellboy.com @ 2010-09-09 23:39:11 -->