Java Interview Projects

1. Please describe your project to do next:

XXX system is what the main purpose is XXX, the whole system which includes functional modules, and said modules What's he doing what module.

2. Integrated Project talk about your understanding of the MVC

MVC is a model-view-controler for short. That is, Model - View - Controller. mvc is a design pattern, to separate his mandatory input, processing and output of the application. mvc in the model, view, controller were served different tasks.
View: View user see and interact with the interface. View displays the data to the user, and accepts user's input. View without any service logic processing.
Model: model represents business data and business processes. Equivalent javaBean. A model can provide data for a plurality of views. This improves the reusability of the application.
Controller: When a user clicks the submit button in a web page, the controller receives the request and call the appropriate model to process the request. Then calls the appropriate view of the results of the processing according to the structure of a display process.
MVC processing procedure: First, the controller receives the user's request, call the appropriate model to service processing, and returns the data to the controller. The controller calls the corresponding view to show the structure of the process. And presented to the user through the view. As to the corresponding item, then MVC; View corresponding entry in jsp, controler the corresponding action, model corresponding to the service operator business logic and persistence + layer dao layer.

3. Why use projects ssh (the three major advantages of the framework)

1. struts because the struts are based mvc mode, a good application were stratified, so that more developers to focus on business logic implementation; struts rich tag library, can greatly improve development efficiency.
2. Using Hibernate; because Hibernate provides an easy to use, object-relational mapping framework to engage in efficiency for java applications. hibernate is a lightweight persistence framework, feature-rich.
3. spring; aop spring framework because the framework j2ee multilayer system based IOC (inversion control) and

Pick the one you do illustrate the application of the principle functions of ssh framework

1. In the presentation layer, the first interface implemented by jsp pages, is responsible for transmitting requests (request), and receives a response (response

Guess you like

Origin blog.csdn.net/weixin_43679441/article/details/104657392