Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- html
- react
- php
- function
- DB
- control
- while
- Algorithm
- instruction
- MacOS
- python
- data structure
- web
- DoM
- for
- Class
- DS
- Pipelining
- DATAPATH
- system
- XML
- CSS
- architecture
- javascript
- mysql
- github
- computer
- MIPS
- Linux
- Java
Archives
- Today
- Total
YYYEJI
[WAS] JSP Model Architecture 본문
728x90
Web Architecture
에서 알아야 할 용어부터 알아보겠습니다.
① Controller - 사용자 요청 처리, 화면의 로직 처리 부분
② Model - 알고리즘, DB와 상호작용(CRUD), 데이터 처리
③ View - 사용자에게 보여줄 UI(User interface)
JSP Model1 Architecture
JSP Page
• Controller (servlet class)
- 입력 정보 추출
- Model class의 DB 연동 함수 호출
- 페이지 이동
• View (JSP Page)
- UI(User Interface) 담당
Java Bean
• Model (VO, DAO class)
- DB 연동
JSP Model2(MVC) Architecture
Model (Service class, Java Beans)
- DB 연동
- 데이터 가공
View (JSP Page)
- UI(User Interface) 담당
- Request 객체나 session 객체로 화면 출력
Controller(Servlet class)
- 입력 정보 추출
- Model class의 DB 연동 함수 호출
- 페이지 이동
◡̈
'Web Application Server (WAS)' 카테고리의 다른 글
[WAS] IntelliJ로 Spring tool 사용하기 (0) | 2022.11.30 |
---|---|
[WAS] Spring Framework (2) | 2022.11.30 |
[MacOS] MySQL connecter(Maven 라이브러리) 연결하기 (0) | 2022.11.15 |
[MacOS] db4free로 DB 이용하기 (0) | 2022.11.15 |
[MacOS] DBeaver Tool 사용하기 (0) | 2022.11.04 |