Self-organized questions about the Java interview, please correct the error.
1, the core idea of spring
Control inversion and tangent-oriented programming
Core modules of the 2,spring
Reverse control and Dependency injection, bean configuration, and load
What is 3,scope?
Scope is the scene in the IOC container to set the object or survival space, if the object is not in scope, the container will destroy the object.
There are 5 types of singleton (single mode), prototype (how many requests there are), request (destroy after the call), Session,globalsession.
4,hibernate Cache
First-level caching: Also known as session cache, is a transaction-scoped cache, usually corresponding to a database transaction or an application transaction, and an OID in the persistence class.
The second level cache: Also known as the Sessionfactory cache, is the object life cycle and application process.
Reference Link: http://www.cnblogs.com/wean/archive/2012/05/16/2502724.html
5, the way the page jumps
Forward,redirect,refresh.
Forward and redirect difference: ①forward is the request server resources, the server directly access the target address, then read back the response content, and then sent to the browser, the browser does not know where the content is sent over,
So the address bar is still the original address. Redirect is the service-side logic that returns a status code that tells the browser which address to request, so the address bar address is new. ②forward forwarded pages can share request data
③forward efficiency higher than redirect
6, talk about a request to the SSH framework process
Java Interview Grooming