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
- concreteclass
- garbagecollection
- 콘크리트클래스
- arguments
- Vector
- 생성자
- constantnumber
- override
- hamobee
- abstractclass
- string
- methodArea
- super
- eclipse
- reference
- 객체형변환
- Eureka
- class
- 추상클래스
- Hashtable
- fuction
- value
- overload
- start()
- hashCode
- object
- run()
- Polymorphism
- ALTER
- MSA
Archives
- Today
- Total
뇌운동일지
[Spring] framework VS library, sqlSession, Spring Service Layer 본문
Spring
[Spring] framework VS library, sqlSession, Spring Service Layer
purpleduck 2021. 3. 23. 20:14프레임워크 = 클래스 + 라이브러리
Application Framework (그냥 framework 라고 해도 된다)
프로그래밍에서 특정 운영 체제를 위한 응용 프로그램 표준 구조를 구현하는 클래스와 라이브러리 모임
라이브러리는 도구의 모음.
프레임워크는 지켜야하는 룰
DAO (Data Access Object)
DB를 사용해 데이터 조회, 조작 기능 전담 객체
mybatis - sqlSession
applicationContext.xml 에 bean 으로 sqlSessionFactory
Connection : 단순 물리적(네트워크) 연결
SqlSession : RDB 인증 거친 논리적 연결 상태
Spring Service Layer
Controller Layer (Representation Layer)
1. Client 가 이용할 End Point
2. Client 가 요청 어떻게 처리할지 정의
3. Client 요청 처리 후, 어떻게 응답할지 결정
Repository Layer
1. DAO Layer
2. 다양한 Storage 에 데이터 조회, 저장, 수정, 삭제하기 위한 모든 객체들의 Layer
Service Layer
1. Business Logic 이 들어있는 Layer
'Spring' 카테고리의 다른 글
[Spring] could not open jdbc connection for transaction (0) | 2021.04.29 |
---|---|
CORS (0) | 2021.03.11 |
JNDI (0) | 2021.03.11 |
spring 에서 .xml 설정 이해하기 (0) | 2021.03.09 |
spring 실행순서 (0) | 2021.03.09 |
Comments