Spring Container : Manages Spring beans & their lifecycle
1 : Bean Factory : Basic Spring Container (dont create directly)
2 : Application Context : Advanced Spring Container with enterprise-specific features
- Easy to use in web applications
- Easy internationalization
- Easy integration with Spring AOP
Which one to use? :
Most enterprise applications use Application Context
- Recommended for web applications, web services - REST API and microservices
'Spring' 카테고리의 다른 글
MyBatis 개요 (0) | 2024.12.15 |
---|---|
RowMapper와 BeanPropertyRowMapper (1) | 2024.12.15 |
JDBC API - JDBC Template (1) | 2024.12.14 |
Spring Boot - JDBC 연결과 DataSource(MariaDB) (0) | 2024.12.14 |
[Spring] Java Bean vs POJO vs Spring Bean (0) | 2024.07.22 |