spring interview questions and answers for experienced
spring interview questions and answers for experienced
Learn about spring interview questions and answers for experienced, we have the largest and most updated spring interview questions and answers for experienced information on alibabacloud.com
From: http://topic.csdn.net/u/20070315/10/78d03595-b5fa-4853-ab02-37ed16c2ddb3.html
Answers to the first group:
1) three ropes, the first ignition, the second ignition, and the third ignition
After the first rope is burned (30 minutes), the other end of the second rope is ignited. After the second rope is burned (45 minutes), the two ends of the third rope are ignited, timing is complete after the third rope is burned (1 hour 15 minutes)
2) According
One of Google's interview questions: there are eight balls of the same size, 7 of which are of the same weight, with a slightly heavier one. How can I use the balance to determine which ball is heavier only twice?
Answer:For the first time, I took out 6 of them and placed them on the balance, each weighing 3. I can determine where the heavier one is. There are three situations: 3 on the left of the balance
20 Linux Command Interview Questions and answersQ: 1. How can I view the running level of the current Linux server? A: the who-r and runlevel commands can be used to view the running level of the current Linux server.Running level:0-downtime (do not set initdefault to 0) 1-Single User Mode 2-multiple users, but there is no NFS3-full multi-user mode 4-5-X116-Restart not used (do not set initdefault to 6) Q:
This article briefly introduces the interview questions for jsp programmers. For more information, see.
JSP Question 1. What built-in objects does jsp have? What are their roles?
A: JSP has the following nine basic built-in components (which can correspond to the six internal components of ASP ):
Request client request, which contains parameters from the GET/POST request
Response returned from the response
operations on the memory?
A: This question is difficult to answer. It is also a big question. However, you can answer questions in this way. C # can directly operate on the memory. Although pointers are rarely used, C # can use pointers. When using pointers, you must add unsafe at the front.. net uses the garbage collection mechanism (GC) function, which replaces programmers. However, the Finalize method cannot be directly used in C, instead, the fin
I recently saw a blog post posted by Lao Zhao, "questions I asked during the interview with. Net/C # programmers". I tried to answer this question and I forgot to add it:
What is. Net? What is CLI? What is CLR? What is Il? What is JIT and how does it work? What is GC? How does GC work? What is. net
Dot Net is a complete set of platforms proposed by Microsoft in 2000, including the underlying operating sy
. Net interview questions and answer 1) What is the difference between a thread and a process? Both threads and processes define some boundary. The difference is that processes define applications.
Program Boundaries with applications, different processes cannot be shared
Code And data space, while the thread defines the boundary between the code execution stack and the execution context. A process can co
Interview Questions (1 ):Connect n numbers to obtain the smallest or Largest Integer (Baidu exam)
Description: There are n positive integers connected into a row to form a minimum integer.Program input: N countProgram output: Multi-digit join
For example:When n = 2, the minimum integer connected by two integers 32,321 is: 32132,When N = 4, the minimum integer of the four integers, namely, 55, 31, 312, and
as the struts,spring MVC framework, which cleanly isolates business objects and control logic with control inversion. It also allows binding of request parameters and business objects in a declarative manner.Dispatcherservlet.The Spring MVC Framework is designed around Dispatcherservlet to handle all HTTP requests and responses.Webapplicationcontext.Webapplicationcontext inherits ApplicationContext and add
general ApplicationContext because it handles the subject and finds the associated servlet.67. What is the controller of the Spring MVC framework? The controller provides an access to the application's behavior, which is typically implemented through the service interface. The controller parses the user input and translates it into a model that is presented to the user by the view. Spring implements a cont
the subject and finds the associated servlet.67. What is the controller of the Spring MVC framework? The controller provides an access to the application's behavior, which is typically implemented through the service interface. The controller parses the user input and translates it into a model that is presented to the user by the view. Spring implements a control layer in a very abstract way, allowing the
business objects and control logic with control inversion. It also allows binding of request parameters and business objects in a declarative manner.
DispatcherservletThe Spring MVC Framework is designed around Dispatcherservlet to handle all HTTP requests and responses.
WebapplicationcontextWebapplicationcontext inherits ApplicationContext and adds some unique features to the Web application that are different from the general ApplicationContext
controller provides an access to the Application's behavior, which is typically implemented through the service Interface. The controller parses the user input and translates it into a model that is presented to the user by the VIEW. Spring implements a control layer in a very abstract way, allowing the user to create Multiple-purpose controllers.@Controller annotationsThis note indicates that the class plays the role of the controller, and
business objects and control logic with control inversion. It also allows binding of request parameters and business objects in a declarative manner.Dispatcherservlet.The Spring MVC Framework is designed around Dispatcherservlet to handle all HTTP requests and responses.Webapplicationcontext.Webapplicationcontext inherits ApplicationContext and adds some unique features to the Web application that are different from the general ApplicationContext bec
framework, which cleanly isolates business objects and control logic with control inversion. It also allows binding of request parameters and business objects in a declarative manner.Dispatcherservlet.The Spring MVC Framework is designed around Dispatcherservlet to handle all HTTP requests and responses.Webapplicationcontext.Webapplicationcontext inherits ApplicationContext and adds some unique features to the Web application that are different from
cleanly isolates business objects and control logic with control inversion. It also allows binding of request parameters and business objects in a declarative manner.Dispatcherservlet.The Spring MVC Framework is designed around Dispatcherservlet to handle all HTTP requests and responses.Webapplicationcontext.Webapplicationcontext inherits ApplicationContext and adds some unique features to the Web application that are different from the general Appli
execution.Surround notification is one of the most common types of notifications. Most interception-based AOP frameworks, such as Nanning and JBOSS4, provide only surround notifications.The concept of pointcut (pointcut) and connection point matching is the key to AOP, which makes AOP different from other old technologies that simply provide interception functionality.The pointcut enables the location notification (advice) to be independent of the OO hierarchy. For example, a around notificatio
itself.Prototype: The prototype range is the opposite of a singleton range, providing an instance for each bean request.Request: an instance of each network request from the client is created within the scope of the requesting bean, and after the request is completed, the bean is invalidated and reclaimed by the garbage collector.Session: Similar to the request scope, ensure that there is an instance of the bean in each session, and the bean will expire after the session expires.Global-session:
class.The cglib is the generation of the original subclass, which is also applicable for cases where interfaces are not implemented:OriginClass --------> ProxyClassCglib uses bytecode generation to invoke the original class method in the proxy class, and the JDK proxy is called using reflection, because the cost of additional security check in reflection is not good enough for the current JVM JIT to reflect the inline support, and the JDK proxy is weaker than cglib in performanceWhat the hell i
maintainability and non-repetition of wheel-making. For example, all spring templates (JDBC,REST,JPA, and so on) have the following advantages: they are built in a consistent way, so you can skip these general steps to focus on more important business logic.
Spring MVC is not necessarily the best web framework. There are other, for example, Struts 2,wicket and JSF. That said,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.