본문 바로가기

Java EE 7

EE.2.4 Containers

Containers provide the runtime support for Java EE application components. Containers provide a federated view of the underlying Java EE APIs to the application components. Java EE application components never interact directly with other Java EE application components. They use the protocols and methods of the container for interacting with each other and with platform services. Interposing a container between the application components and the Java EE services allows the container to transparently inject the services required by the component, such as declarative transaction management, security checks, resource pooling, and state management.

A typical Java EE product will provide a container for each application component type: application client container, applet container, web component container, and enterprise bean container.

 

컨테이너는 Java EE 애플리케이션 구성 요소에 대한 런타임 지원을 제공합니다. 컨테이너는 기본 Java EE API의 연합보기를 애플리케이션 구성 요소에 제공합니다. Java EE 응용 프로그램 구성 요소는 다른 Java EE 응용 프로그램 구성 요소와 직접 상호 작용하지 않습니다. 그들은 서로 및 플랫폼 서비스와 상호 작용하기 위해 컨테이너의 프로토콜과 방법을 사용합니다. 애플리케이션 구성 요소와 Java EE 서비스 사이에 컨테이너를 삽입하면 컨테이너가 선언적 트랜잭션 관리, 보안 검사, 리소스 풀링 및 상태 관리와 같이 구성 요소에 필요한 서비스를 투명하게 주입 할 수 있습니다. 일반적인 Java EE 제품은 각 응용 프로그램 구성 요소 유형 (응용 프로그램 클라이언트 컨테이너, 애플릿 컨테이너, 웹 구성 요소 컨테이너 및 엔터프라이즈 빈 컨테이너)에 대한 컨테이너를 제공합니다.

'Java EE 7' 카테고리의 다른 글

[자바] 싱글톤 : 자바SE  (0) 2021.05.30
EE.2.4.2 Java EE Servers  (0) 2020.10.29