태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.

MVC architecture in a J2EE application

You need a solution that lets you develop loosely-coupled applications. The Model-View-Controller (MVC) architecture is the suggested solution. MVC has been used very effectively in GUI-type applications. By applying the MVC architecture to a J2EE application, you can separate the data access logic from the data presentation logic. You can also build a flexible and easily extensible controller that controls the whole flow of the application. The figure below depicts the MVC architecture.

MVC Architecture

The MVC architecture can be mapped to multi-tiered enterprise J2EE applications as follows:

  • All enterprise data and the business logic to process the data can be represented in the MODEL.
  • The VIEW can access the data through the model and decide on how to present them to the client. The VIEW must ensure that the presentation changes as and when the MODEL changes.
  • The CONTROLLER can interact with the view and convert the client actions into actions that are understood and performed by the MODEL. The CONTROLLER also decides on the next view to be presented depending on the last client action and results of the corresponding MODEL action(s).

from Design Patterns for Building Flexible and Maintainable J2EE Applications

'Software' 카테고리의 다른 글

NMS 제품들  (0) 2007.01.04
Unix Error 코드 설명  (0) 2006.11.24
MVC architecture in a J2EE application  (0) 2006.09.26
ACE - Object Oriented(OO) Framework  (0) 2006.09.14
CodeHighright에 Java 코드를 넣어보니..  (1) 2006.08.31
CVS/Subversion Resources  (0) 2006.08.31

Posted by BlogZin


Leave a comment

Calendar

«   2018/07   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Site Stats

Total hits:
131,833
Today:
4
Yesterday:
25

티스토리 툴바