문제

N-Tiered 및 N-Layered Architecture/Design이란 무엇을 의미합니까?

N-Tiered와 N-Layered Architecture/Design 사이에 차이가 있습니까?

그렇다면 차이점은 무엇입니까?

도움이 되었습니까?

해결책

사람들은 종종 두 가지 용어를 상호 교환 할 수 있습니다. 아키텍처는 다층 및 다중 계층으로 묘사 할 수 있습니다. 나는 층이 논리적으로 분리되는 반면 일반적으로 계층은 어떤 물리적 분리를 의미한다는 것입니다.

예를 들어, 제가 말하는 일반적인 웹 응용 프로그램에는 프론트 엔드 (브라우저에 표시되는 내용)와 응용 프로그램 서버에서 실행되는 실제 응용 프로그램 논리 및 데이터베이스가 있습니다. 데이터베이스 서버, 애플리케이션 서버 및 클라이언트 시스템이 있기 때문에 3 계층이라고 할 수 있습니다. 그러나 쉽게 데이터베이스 계층, 로직 계층 및 프레젠테이션 (또는 UI) 레이어를 참조 할 수 있습니다.

다른 팁

N-Tiered는 시스템의 "분산 된"레이어 (IE 서버 및 클라이언트)를 말하는 반면, N- 레이어는 자체 포함 된 프로그램의 계층을 나타냅니다. 두 사람은 종종 상호 교환 적으로 사용되지만 일부는 첫 번째 단락에서 볼 수 있듯이 위에서 언급 한 것과 같은 유의 한 차이가 있음을 시사합니다. 다층 아키텍처 그리고 다층 아키텍처 Wikipedia에서 차이점을 설명합니다.

이것 SCEA 연구 노트 계층과 계층 아키텍처의 JEE 차이를 설명합니다

Java EE 시스템의 계층

* Client (GUI and Web): GUI directly interacts with web tier. Web uses browser, applets to interact with web server through HTTP. Responsible for direct presentation and interaction with user.
* Web components: processes web requests. Acts as mediator between clients and business components.
* Business: (solves domain-specific) business problems. The abstract business logic processing happens in this tier.
* Integration and Resource: handles connectivity with data stores and other (legacy) systems. 

Java EE 시스템의 층

* Virtual platform (component APIs): used to implement/support business logic. API Components include: JavaBeans, Java Servlets, JavaServer Pages/Faces, Java Message Service API, Java Transaction API, etc.
* Application infrastructure (container): responsible for executing the application. Also provides services like: security, transactions, JNDI, and other connectivities.
* Enterprise services (OS): responsible for the execution environment of the application infrastructure. Provides computing time and access to (abstract) hardware.
* Compute and storage: the hardware or physical server. Provides computing power for the OS.
* Networking infrastructure: responsible for networking services. 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top