Advertisement :
   Log In    OR    Register  
  Topics :  
RMI Example

Home >>> Struts Struts 2 Example Tutorial >>> MVC Struts >>> Some facts about MVC Framework and Struts
Struts Tutorials:
Struts2 Tag CheckBoxList
, Checkbox, Iterator, IF
Struts2 Tag Library Example Struts2 Tiles Example Struts2 Tiles I18N Example Struts2 Questions Struts Tiles I18N Example Struts Eclipse MVC Struts2 Tags Struts2 Example and Tutorial Struts MVC Struts2 Validation
Hibernate Tutorials: Hibernate Case Study Class Hierarchy Persist Example Using Hibernate Interceptor Hibernate Questions with Answer Hibernate Many-to-Many Mapping Example Hibernate one-to-many Mapping Example Hibernate and ORM tools Spring Hibernate Example Hibernate SessionFactory Example Hibernate Mapping Class Hierarchy Hibernate Questions Hibernate SessionFactory Questions Spring Hibernate Example: Spring Hibernate Case Study

Written By : Amit
Title :
Struts2 example tutorial
Description : My First example using Apache Struts2
More...


Written By : ISHTEK
Title :
Struts2
Description : Tags such as IF Iterator Tags
More...


Written By : guddu
Title :
Struts Eclipse MVC
Description : Step by step demonstration
More...


Written By : Girish
Title :
Struts Tiles I18N Example
Description : Code with Sample Action
More...


Written By : ISHTEK
Title :
Struts2 questions
Description : open for discussion
More...


Written By : ISHTEK
Title :
Struts2 Tiles Example
Description : with Code and article
More...

Tags/Keywords : Struts, Struts2 Tutorial, Struts 2 Example, Struts2
Author : Amit
Date (Year/Month/Date): 2009-01-25 Struts Discussions, Forums, Ideas, and Knowledge shared.
 
Advertisement :
Apache Struts - A MVC Framework 
for web based applications.
It has a platform, for taking
development of web application
to one level higher from 
architectural evaluation of 
facts with a proven architecture
that provides an organized      
components or parts of various 
sections like Model, View and 
Controller.

Model      represents facts
View       represents face
Controller represents flow

What is Model? Is it Action class or something else? What is the data? Why cann't it be called AVC (Action View and Controller)? Many questions keep comming to my mind, what is the model in Struts? Which class represents Model, is it Action class or Action class is just a gateway to data? Or is it the Java Bean/ Helper class that is used by view to show dynamic values is the Model? If the Java Bean represents data, and Action is an integral part of Struts architecture, then can I call Struts as MVCA ( Model View Controller Action)
Advertisement :
 


	

Commented By ->
Guddu
Hi,

I would like to slightly change the present representation/interpretation
of MVC that you have shown in this page as

Model            represents       facts
View             represents       face
Controller       represents       flow

TO

Model            represents       Access/interface component to Data
View             represents       Access/interface to User Interface
Controller       represents       Controlling Flow of Request and Response

Looking from Struts perspective

  • As in Model we have Action class that is providing ways to receive user action, and interact with business layer for Data. So in my opinion, Struts does not include data, but I think it provides ways to go for data.
  • View part can be pluggable, like in Struts2 we have Tiles Plugin, SiteMesh Plugin.
  • I think, Controller implementation is from Struts2 ways of handling it.
  • These are my knowledge so far, if anyone having any difference of opinion, please share those here.
    Are you interested in solving a very interesting Technology Stack while Playing this Game          

    Please write your Comment on this Matter
    (This will be visible if found suitable):
    Name: *
    Email (will not be displayed): *
    Matter: *
    26,18
    Enter bigger number from above :*
    Home >>> Struts Struts 2 Example Tutorial >>> MVC Struts >>> Some facts about MVC Framework and Struts
    Visitor/User referred related external URL:
    (Visible upon review and approved by this site Administrator)
    
    Referred By Name *:
    Resource URL *: (e.g, URL should be starting with http://www.-----.---)
     
    Resource Short Description *:
    28,32
    Enter bigger number from above : *

    Please log in to add or reply to any matter<- requires login
    Log in or Register
    Copyright © 2008-2009, Interview-Questions-Tips-Forum, All Rights Reserved.
    CONTACT    PRIVACY POLICY    DISCLAIMER
    Terms of Use and Disclaimer :
    
    This web site provides some of the information about various technologies, example 
    code, tips, tutorials etc. Like any printed materials, content of these pages may 
    become out of date over a period of time. Therefore all visitor/users of this web 
    site are requested/advised to refer to the originating parties/sources for the 
    latest changes and happenings for detailed information. This information is not 
    intended to be a substitute for the original reference provided by the originating 
    parties/sources.
    
    By accessing and using this website in any ways, including, without
    limitation, browsing the website pages, using any information, using any content and/or 
    downloading any materials, you agree to and are bound by the terms of use 
    described in this page and Usage Terms and Conditions. 
    If you do not agree to all of 
    the terms and conditions contained in the terms of use described in this
    page and Usage Terms and Conditions, do not use this 
    website in any manner. If you are using the website on behalf of your 
    employer, you represent that you are authorized to accept these Terms of Use 
    on your employer's behalf.
    
    All Trademarks are property of their respective owner. Appropriate measure is being
    taken for providing accurate and up-to-date information but like any printed materials,
    these blog(s)/contents may eventually be outdated one day, so if you are using any 
    of these information, please refer original content/documentation from respective sources. 
    And under no circumstances shall the Author of these contents and/or this web site
    be liable for any loss, damage, expense incurred or suffered which is claimed to have
    occurred because of usage of the contents of this web site.
    If you have any questions/queries/feedback/suggestions then please write to this web
    site owner at contact.