개발일지/SPRING

[Spring] Spring 핵심 개념, 모듈

양쏘쏘 2023. 10. 22. 19:00
728x90
반응형

스프링 핵심 개념

스프링 삼각형

 

1. POJO (Plain Old Java Object)

- 특정 환경이나 기술에 종속되지 않는 객체지향 원리에 충실한 자바객체 -> 생산성, 이식성 향상

- 특정 인터페이스를 구현, 클래스를 상속하지 않는 일반 자바 객체 지원

- 테스트 용이, 객체지향 설계 적용 가능

 

2. PSA (Portable Service Abstraction)

- 환경, 기술 변경과 관계없이 기술에 접근할 수 있게 해주는 설계 원칙

- 트랜잭션 추상화, OXM 추상화, 데이터 액세스의 Exception 변환기능 등 기술적 복잡합을 추상화하여

Low Level의 기술 구현 부분과 기술 사용 인터페이스로 분리함

 

3. IoC/DI (Dependency Injection)

- 확장 가능한 객체 생성 후 외부에서 객체간 의존관계를 설정함

- 의존하고 있는 객체를 직접 생성하거나 가져올 필요가 없음

 

4. AOP (Aspect Oriented Programming)

- 관심사 분리를 통해 소프트웨어의 모듈성을 향상시킴

- 공통 모듈로 여러 코드에 쉽게 적용이 가능함

- 프록시 기반의 AOP를 통해 트랜잭션, 로깅, 보안 등 공통 모듈에 적용 가능

 

 

스프링 프레임워크 모듈

 

- 스프링 모듈 설명

 

2. Introduction to the Spring Framework

The Spring Framework is a Java platform that provides comprehensive infrastructure support for developing Java applications. Spring handles the infrastructure so you can focus on your application. Spring enables you to build applications from "plain old Ja

docs.spring.io

- 공식 문서 경로

 

Overview (Spring Framework 6.0.13 API)

Support for registering the need for reflection, resources, java serialization and proxies at runtime. Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-m

docs.spring.io

 

728x90