Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 17-12-06, 07:15 PM   #1 (permalink)
Senior Member
 
Join Date: Aug 2006
Age: 28
Posts: 275
Thanks: 0
Thanked 5 Times in 5 Posts
Thanks: 0
Thanked 5 Times in 5 Posts
Rep Power: 5 radhika743 is on a distinguished road
STRUTS: Difference between MVC1 Architecture and MVC2 Architecture?

Friends What is the difference between STRUTS : MVC1 Architecture and MVC2 Architecture?
radhika743 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 18-12-06, 01:21 PM   #2 (permalink)
Member
 
Join Date: Nov 2006
Posts: 56
Thanks: 13
Thanked 3 Times in 3 Posts
Thanks: 13
Thanked 3 Times in 3 Posts
Rep Power: 3 Shiva Shankar is on a distinguished road
Re: STRUTS: Difference between MVC1 Architecture and MVC2 Architecture?

Hi,
MVC is a design pattern.
It contains two models. MVC Model 1, MVC Model 2.
Struts framework implements MVC Design Pattern.
Struts can implement Model 1 and Model 2.
Model 2 most properly describes the application of MVC in a Web-Application context.
Following are the important feature of MVC1 architecture:
(1) HTML or JSP files are used to code the presentation. JSP files use java beans to retrieve data if required.
(2)MVC1 architecture is page-centric design all the business and processing logic means any JSP page can either present in the JSP or may be called directly from the JSP page.
(3)Data access is usually done using Custom tag or through java bean call.
Therefore we can say that in MVC1 there is tight coupling between page and model.
Following are the important feature of MVC2 architecture
(1)This architecture removes the page-centric property of MVC1 architecture by separating Presentation, Control logic and Application state
(2)In MVC2 architecture there is one Controller which receive all request for the application and is responsible for taking appropriate action in response to each request.
Second one is Model which is represented by JavaBeans, business object, and database.
Third one is View or is JSP page it takes the information provided by Controller and Module and presents it to user..

The main difference between MVC-I and MVC-II is in MVC-I all the view,control elements are implemented using Servlets. in MVC-II the view is implemented using JSP,and the controller is implemented using Servlets,as JSP provides better user interface than Servlets
Shiva Shankar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-06-08, 06:17 PM   #3 (permalink)
Junior Member
 
Join Date: Nov 2007
Age: 25
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 pradeep_kumar is on a distinguished road
Talking Re: STRUTS: Difference between MVC1 Architecture and MVC2 Architecture?

hi friend ,i am Pradeep from Mysore.ur correct.but those differences are very common and a person whose reads about mvc1 & mvc2 can easily understands.i want to know how can we prefer the mvc2 design pattern for implementing large projects.plz give me response.i want to know this .ok .
any way ur posted answer was useful to me .i have given presentation on mvc1& mvc2 ds in our company.i used ur points and our teamlead appritiated me too.ok thanks alot friend .plz give the answer to my question .ok.
byeeeeeeeeeeee


TANUGULA PRADEEP KUMAR ,UNILOG CDC -II,MYSORE.
pradeep.tanugula@gmail.com
pradeep_kumar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-07-08, 12:18 AM   #4 (permalink)
Member
 
Join Date: Jul 2008
Age: 23
Posts: 67
Thanks: 0
Thanked 7 Times in 6 Posts
Thanks: 0
Thanked 7 Times in 6 Posts
Rep Power: 1 jsatee is on a distinguished road
Re: STRUTS: Difference between MVC1 Architecture and MVC2 Architecture?

thanks pradeep
jsatee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +6.5. The time now is 01:54 PM.





Search Engine Optimization by vBSEO 3.1.0