After going through both architecture in my previous blog. I tried connecting both architecture as follows based on my understanding:
MVC <---------> J2EE Component
Model <---------> Enterprise Data Tier
View <---------> Client Tier
Controller <---------> Middle Tier
3 responses so far ↓
1 LAKMI // Nov 29, 2007 at 4:14 am
what is the MVC architecture and how it is working
2 Rajender Singh // Nov 30, 2007 at 11:44 am
Hi Lakmi,
MVC or Model-View-Controller is simple concept how a application should be design. As per MVC architecture application coding should be divided into three parts or layers as follows:
1. Model Layer - This piece of coding will be responsible for validating business rules and coordinating with database (update, insert and delete)
2. View Layer - This piece of code will be responsible for user interface.
3. Controller Layer- This piece of code will be responsible for coordinating Model Layer and View Layer
This allows easy maintenance, design and reuse of coding.
Regards,
Raj
3 siddharth // Dec 14, 2007 at 1:18 pm
hollo ,
please send me complete description of mvc architecture model1 and 2
Leave a Comment