일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- MacOS
- CSS
- github
- DS
- javascript
- computer
- web
- instruction
- architecture
- XML
- php
- system
- data structure
- Java
- Class
- control
- function
- mysql
- DATAPATH
- while
- for
- Linux
- Algorithm
- Pipelining
- react
- python
- DoM
- DB
- MIPS
- html
- Today
- Total
목록Web Application Server (WAS) (37)
YYYEJI

MyBatis란? RDB(Relational Database) 프로그래밍을 쉽게 해주는 Java Persistence framework입니다. ✓ JDBC(Java Database Connectivity)를 편하게 사용 가능 ✓ SQL문과 자바 객체 간의 Mapping 기능 제공 ✓ 간단한 코드로 DB 연동 처리 가능 ✓ SQL문은 자바코드에서 완전히 분리하여 XML 파일에 별도 관리 ✓ Spring과 연동하여 자동화 처리 ✓ 유지보수서어 향상(동적 SQL 사용) MyBatis plugin을 설치하기 위해 새로운 intelliJ 프로젝트를 생성해주세요. https://yyyeji.tistory.com/289 [WAS] IntelliJ로 Spring tool 사용하기 IntelliJ를 이용해서 Spring..

IntelliJ를 사용해서 spring 프로젝트를 배포해보겠습니다. Maven 폴더에서 install 우클릭 후 Run Maven Build를 눌러주세요! 왼쪽 프로젝트 target 폴더에서 .war 이 생성된 걸 확인이 되면, 터미널 켜주세요. 터미널 부분만 살펴보겠습니다. $ ls $ target $ sftp id@server $ cd webapps $ put 생성된.war 새로운이름.war $ ls [server_name:8080/생성한 .war 파일의 이름]의 이름을 url로 사용해서 url 창에 넣어주면 배포가 잘 된 것을 확인할 수 있습니다. ◡̈

IntelliJ를 이용해서 Spring tool을 실습해 보겠습니다. IntelliJ IDEA 열기 New project 생성하기 ✓ Generators - Maven Archetype ✓ Name - ?????????? ✓ Archetype - org.apache.maven.archetypes:maven-archetype-webapp ✓ Create Button Click Framework 추가하기 ✓ Spring MVC (5.2.3.RELEASE) 설정 파일 변경 라이브러리 추가하기 ✓ pom.xml에 가서 마지막 밑에 새로운 라이브러리 추가 ✓ IntelliJ는 검색 기능이 있어서 편하게 라이브러리 추가 가능 ✓ webmvc라고 밑에 치고 org.springframework:spring-webmvc..

Spring framework 란? Java를 위한 가장 인기있는 어플리케이션 개발 프레임워크입니다. Advantage ① POJO Based POJO (Plain old Java object)를 사용한 엔터프라이즈급 어플리케이션 개발 ② Modular 모듈화가 되어 있어 패키지와 클래스 수가 많아도 필요한 것만 코딩 ③ Web MVC 잘 설계된 웹 MVC framework ④ JDBC, Hibernate, JPA 등 기술을 위한 다양한 템플릿 제공 JdbcTemplate을 사용하면 JDBC 연결 생성, 예외 처리, 트랜잭쳐 커밋, 연결 닫기 등이 없으며 쿼리 실행부분 코드만 작성하면 됨 ⑤ LightWeight 메모리와 CPU 리소스가 제한된 컴퓨터에서 응용 프로그램을 개발, 배포에 유용 ⑥ Loose..

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..

↓↓↓ maven mysql ↓↓↓ https://mvnrepository.com/artifact/mysql/mysql-connector-java Connect를 선택해줍니다! 원하는 버전을 클릭하면. Maven을 다운로드할 수 있는 코드가 나옵니다. 코드를 복사해서 mysql mysql-connector-java 8.0.28 프로젝트 pom.xml 파일에 들어가 dependencies 태그 안에 붙여넣어 줍니다. ◡̈

서버에 DB를 설치해서 사용해야 되지만 서버를 가지고 있지 않기 때문에 MySQL을 제공하는 db4free를 사용해보겠습니다. ↓↓↓ db4free ↓↓↓ https://db4free.net db4free.net - MySQL Database for free Welcome to db4free.net db4free.net provides a testing service for the latest - sometimes even development - version of the MySQL Server. You can easily create an account for free and test your applications, for example to make sure that they still work ..

DBeaver란? 무료로 사용 가능한 MySQL 편집 툴입니다. ↓↓↓ DBeaver Download ↓↓↓ https://yyyeji.tistory.com/231 [MacOS] DBeaver 다운받기 DBeaver란 무료로 사용 가능한 SQL 편집 툴입니다. 다운로드 하러가기 https://dbeaver.io/download/?start&os=win&arch=x86_64 Download | DBeaver Community Download Tested and verified for MS Windows, Linux and Mac OS X. Install: Windows in yyyeji.tistory.com 실습을 시작하겠습니다. ◡̈