If there is a Model class,View class,Controller class then
How these are internally related? Which layer objects
instantiated in which layer? How they communicates?

Answers were Sorted based on User's Feedback



If there is a Model class,View class,Controller class then How these are internally related? Which ..

Answer / rajamani

View is Client side pages. Model is over underlying
database. controlers are nothing but delegates that
watching what ever view holds as data.
once, data changes in data model thru client pages or thru
any other call. then, controller will initimate to view
related to that changes and UI controls will reflect the
changes accordingly.

Is This Answer Correct ?    3 Yes 1 No

If there is a Model class,View class,Controller class then How these are internally related? Which ..

Answer / devarathnam c,kotagudibanda(po

Hi... Model is nothing but a class/bean having the setters
and getters methods to providing the required information
to the controller(SERVLET) and View(JSP).First the client
will give the request by using the view(jsp),the view can
forward the data to controller(servlet)then the controler
process the request based on the Model components .Finally
the servlet send the response to view.

Is This Answer Correct ?    3 Yes 2 No

If there is a Model class,View class,Controller class then How these are internally related? Which ..

Answer / rasik210

Q. Which layer objects
instantiated in which layer? How they communicates?

Ans. As much as I understand Controller class controls the
instantiation of both the view and Model classes.
Controller instatiates the model class fetches data from it
and passes it onto View class for displaying it to the end
user.

Is This Answer Correct ?    0 Yes 0 No

If there is a Model class,View class,Controller class then How these are internally related? Which ..

Answer / nithya_raghu

If we will take in DotNet technology. Web based applications
has implemented MVC Pattern.

ASPX is the View Class
ASPX.CS is the controller class
If we are using any Application Blocks / DAL Components that
are model class.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Design Patterns Interview Questions

What are the SDLC phases you have invloved ?

0 Answers   Infosys, Tech Mahindra,


What are structural design patterns?

0 Answers  


What are creational design patterns?

0 Answers  


What are the types of the proxy design you will get in the design pattern?

0 Answers  


2. Create your own definition of a system. Based on the “system” definitions a. Identify your viewpoint of shortcomings in the definitions. b. Provide rationale as to why you believe that your definition overcomes those shortcomings. c. From an historical perspective, identify three precedented systems that were replaced by unprecedented systems.

0 Answers   IBM,






What is viper architecture?

0 Answers  


Which design pattern is mvc?

0 Answers  


What is the difference between proxy and adapter?

0 Answers  


What is 'good design'?

2 Answers  


What is the gang of four design pattern?

0 Answers  


What are sequence diagrams, collaboration diagrams and difference between them ?

8 Answers   ACET, CT, CTS, Infosys,


What non-visual coding tools are available for web design?

0 Answers   Wipro,


Categories