<?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>Wed, 16 Nov 2011 18:37:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<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. 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 [...]]]></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 class="highslide img_2" href="http://arunmvishnu.googlepages.com/struct.JPG/struct-full.jpg" onclick="return hs.expand(this)"><img src="http://arunmvishnu.googlepages.com/struct.JPG/struct-full.jpg" /></a></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>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 1/12 queries in 0.325 seconds using disk: basic
Object Caching 358/370 objects using disk: basic

Served from: arunmvishnu.com @ 2011-11-25 19:15:47 -->
