Java Interview Grooming

Source: Internet
Author: User

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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.