Learn about spring hibernate interview questions, we have the largest and most updated spring hibernate interview questions information on alibabacloud.com
This article tells the Spring,hibernate,struts Classic interview pen question and its reference answer. Share to everyone for your reference, specific as follows:
1.Hibernate working principle and why to use?
Principle:
1. Read and resolve configuration files2. Read and parse mapping information, create Sessionfacto
Spring, hibernate, Struts interview questions from: http://shwenwen.itpub.net/post/34911/486887
How does hibernate work and why?Principle:1. Read and parse the configuration file2. Read and parse the ing information and create sessionfactory3. Open sesssion4. Create transa
Spring, hibernate, struts interview questions, hibernatestruts
1. Is Action thread-safe? If there is no way to ensure the thread security of Action? If yes, explain the reasonNoDeclare local variables, or expand RequestProcessor to create an Action each time, or use scope = "prototype" in
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
Hibernate Interview Questions and answersEssence-a large collection of Hibernate Interview Questions and answers1. What is the matching relationship between the relational data model and the Object Model (multiple choice) in gener
the Java 5 annotation.Spring's MVC Framework64. What is the Spring MVC framework?Spring provides a full-featured MVC framework for building Web applications. The spring framework can be easily fused with other MVC frameworks (such as struts), which uses the inversion of control (IOC) to separate the controller logic from the business object. It also allows the r
The Spring framework is now almost a standard framework for Java WEB development. So, as a Java programmer, how much do you know about Spring's main technical points? You may want to use the questions in this article to check.1. General questions1.1. What are the main features of different versions of the Spring Framework?Versionfeaturespring 2.5 was released in
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 application, so hibernate level two caches are Concurrency problems are possible, so an appropriate concurrency access policy is required that provides the transaction isolation level for cached data. The second-level cache is optional and is a configurable plug-in, which, by default, is not enabled by Sessionfactory.When hibernate accesses the data object according to the ID, it is first checked from
interview of Struts,spring,hibernate three frames1.Hibernate working principle and why use? Principle: 1. Read and parse the configuration file 2. Read and parse the mapping information, create Sessionfactory 3. Open Session 4. Create transaction transation 5. Persist Operation 6. COMMIT TRANSACTION 7. Close Session 8.
maintained in this internal table for the self-incrementing primary key), and then each time the data is inserted, the maximum value is read and the increment is used as the primary key for the new record. This new maximum value is then updated back to the internal table so that an insert operation can cause multiple table reads and writes inside the database, along with the locking unlock operation of the data, which has a significant impact on performance. Therefore, it is recommended to use
(Transient)(There is no behavior associated with a database table, and as long as the app no longer references those objects, their state is lost and reclaimed by the garbage collection mechanism);The instantaneous state object passes save (), the saveorupdate will be converted into a persistent state, and the operation of the persistent state object can be synchronized with the database.The persisted object passes through evict (), close (), clear (), and so on, and so on, while being persiste
Summary of the interview questions of Spring and SPRINGMVC
Application scenarios, AOP principles, benefits of AOP in 1.Spring.
A: Aop--aspect oriented programming is programming for facets and is used to encapsulate crosscutting concerns in the following scenarios:
Authentication permissions, Caching cache, context pa
Spring Boot interview Questions
1) What is Spring Boot?Spring Boot is a spring module which provides RAD (Rapid application development) feature to Spring framework.It's used to c
completed return Modelandview7, Handleradapter the controller execution results Modelandview returned to Dispatcherservlet8. Dispatcherservlet Pass Modelandview to Viewreslover view parser9, Viewreslover after parsing return to the specific view10. Dispatcherservlet the rendered view based on the view (populate the model data into the view).11. Dispatcherservlet Response UserFour, Spring MVC design AdvantagesFive, the main difference between SPRINGMV
Summary of Java back-end development interview questions of major companies, and java back-end interview questions
ThreadLocal (thread variable copy)
Synchronized implements Memory sharing. ThreadLocal maintains a local variable for each thread.
It uses space for time, which is used for data isolation between threads
interview. Although the Servlet, JSP, JSF, JPA,JMS,EJB, and other Java EE technologies are not covered here, there are no mainstream frameworks such as Spring mvc,struts 2.0,hibernate, nor do they contain SOAP and RESTful web Service, but this list is also useful for Java developers who are ready to apply for Java Web Development positions, because all of the Ja
company's project before the interview, find a way to set up, you can modify your previous project experience, so that it will be done with the company's future projects have a certain degree of similarity, so that the effect is better.3 by asking questions, say the highlights that you haven't been asked.Here is not recommended to say directly, "I actually master the XX technology, but you did not ask", be
: Fetch the URL of the Web page, and then from the URL of China to obtain web content), to examine the logical thinking ability.18. The difference between the Post method of form form submission and the Get method in character encoding and HTTP protocol is introduced.19, an HTTP request from the beginning to the end of the process of what went through, shorthand flowchart.three, the framework (only introduce oneself familiar)1. The transaction management in
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.