Ans: Core Spring is a Java framework that provides comprehensive support for developing enterprise applications.
Ans: Key features of Core Spring include dependency injection, aspect-oriented programming, Spring MVC, data access, and Spring Security.
Ans: Dependency injection is a feature that allows the injection of dependencies into classes, promoting loose coupling and enhancing code maintainability and reusability.
Ans: AOP allows the modularization of cross-cutting concerns, such as logging or security, by defining aspects that can be applied to specific points in the codebase.
Ans: Core Spring implements IoC by managing the lifecycle and configuration of objects through inversion of control containers, such as ApplicationContext.
Ans: Singleton beans are created once and shared across the application, while prototype beans are created each time they are requested.
Ans: Core Spring beans can be configured using XML-based configuration files or through Java-based annotations.
Ans: Spring MVC is a web framework that provides components for building web applications, handling HTTP requests, and implementing the MVC architectural pattern.
Ans: The Spring MVC request lifecycle involves steps such as request handling, controller invocation, view resolution, and rendering the response.
Ans: Spring provides support for declarative transaction management through the use of annotations or XML configuration.
Ans: Spring Data is a module in Core Spring that simplifies data access by providing a higher-level abstraction over underlying persistence technologies, such as JPA or MongoDB.
Ans: Spring Security provides authentication, authorization, and other security mechanisms to secure Core Spring applications.
Ans: A bean factory is the core interface for accessing and managing beans in Core Spring, providing a central registry for bean instances.
Ans: Core Spring provides mechanisms such as exception handling using @ExceptionHandler, @ControllerAdvice, or configuring global exception handlers.
Ans: Autowiring is a feature in Core Spring that automatically resolves and injects dependencies into beans based on their type.
Ans: Core Spring applications can be tested using tools like JUnit or Spring Test, which provide integration testing support and mock objects for dependency injection.
Ans: The ApplicationContext is an interface in Core Spring that provides configuration information and serves as the central interface to access Spring beans and their functionalities.
Ans: Core Spring provides support for internationalization and localization through the use of message resource bundles and locale-specific configuration.
Ans: Spring Boot is a framework that simplifies the configuration and deployment of Spring applications. It builds on top of Core Spring, providing additional conveniences and auto-configuration capabilities.
Ans: An aspect in AOP is a modular unit that encapsulates cross-cutting concerns, such as logging or security logic, and can be applied to specific join points in the application.
Ans: The DispatcherServlet is the front controller in Spring MVC, responsible for handling incoming requests, dispatching them to appropriate controllers, and managing the request lifecycle.
Ans: Spring Security provides various mechanisms for securing Core Spring applications, such as authentication using username/password or token-based approaches, and authorization through role-based or custom access control.
Ans: Bean wiring is the process of defining and establishing relationships between beans by configuring their dependencies and injecting them appropriately.
Ans: Core Spring supports declarative transaction management by utilizing transactional annotations or XML configuration to demarcate the boundaries of transactions.
Ans: Core Spring simplifies and enhances enterprise application development by providing features like dependency injection, AOP, MVC framework, data access, security, and integration capabilities, resulting in more manageable, modular, and scalable applications.