Câu hỏi phỏng vấn Spring
Câu hỏi

What are the different modules in Spring framework?

Câu trả lời

The Spring Framework is a comprehensive platform for developing Java applications that provides a wide array of functionalities, organized into distinct modules. These modules are grouped into several categories, each serving specific areas of application development. Below is an overview of the different modules within the Spring Framework:

Core Container

  • Spring Core Module: This is the fundamental module that provides the Spring Framework's basic components, including the Inversion of Control (IoC) and Dependency Injection mechanisms[1][3][5][6][7].
  • Spring Bean Module: It handles bean creation and management. This module implements the factory pattern and is responsible for instantiating, configuring, and managing Spring beans[1][3][4][7].
  • Spring Context Module: This module extends the capabilities provided by the Core and Bean modules. It is a medium for accessing configured and initialized beans and supports internationalization (I18N), Enterprise JavaBeans (EJB), Java Messaging Service (JMS), and basic remoting[3][4][7].
  • Spring Expression Language Module (SpEL): It provides a powerful expression language for querying and manipulating an object graph at runtime[3][4][7].

Data Access/Integration

  • JDBC Module: Simplifies the use of JDBC and eliminates the need for repetitive SQL code[3][4][7].
  • ORM Module: Integrates with popular Object-Relational Mapping (ORM) APIs like Hibernate, JPA, and iBatis, providing a layer of abstraction over these technologies to handle database operations more efficiently[3][4][7].
  • OXM Module: Provides an abstraction layer for Object/XML mapping, integrating with mapping frameworks like JAXB, Castor, XMLBeans, and XStream[3][7].
  • Java Messaging Service (JMS) Module: Simplifies the use of JMS by handling the creation and management of connections[3][7].
  • Transaction Module: Offers a unified programming model for declarative transaction management[3][7].

Web

  • Web Module: Facilitates the creati...
junior

junior

Gợi ý câu hỏi phỏng vấn

junior

What is the DispatcherServlet and what is it used for?

senior

What are the disadvantages of using Reactive Streams?

senior

What is Join point?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào