- [ Spring ][Spring] SOAP vs REST2021-12-19 20:33:41API의 구조를 이야기 할 때, 가장 대표적인 두 가지 방식으로 SOAP API와 REST API를 말합니다. 여기에서 SOAP REST 의 차이점을 알아보겠습니다. 1. API 란? API (Applicaion Programming Interface) 는 응용 프로그램에서 사용할 수 있도록, 운영 체제나 프로그래밍 언어가 제공하는 기능을 제어할 수 있게 만든 인터페이스를 뜻한다. -위키백과 2. REST API 란? REST (Representational State Tranfer)는 네트워크를 통해서 컴퓨터들끼리 통신할 수 있는 아키텍쳐 입니다. REST API는 인터넷 식별자 URI와 HTTP 프로토콜을 기반으로 하여, 브라우저 간의 호환성이 좋은 JSON을 사용합니다. 또한, 데이터 포맷이 JSO..
- [ Spring ][Spring] SpringBoot 기반의 OPEN API 서비스 구현[4] - Hello World 출력하기2021-12-16 00:16:20이번 장부터 SpringBoot 기반의 개발 환경을 통해 API를 개발하고 테스트 해보겠습니다. 1) 프로젝트 생성 https://start.spring.io/ STS에서 직접 생성해도 되지만, Spring Intializr 를 통해 프로젝트를 생성해 보겠습니다. 위와 같이 설정해주고, 오른쪽 Dependencies도 추가해주겠습니다. ADD DEPENDENCIES 를 통해 Spring Web을 추가해줍니다. Spring Web Dependencies 를 Add 해주는 것과, 프로젝트 pom.xml에 아래 dependency 를 추가해주는 것은 동일한 부분이다. org.springframework.boot spring-boot-starter-web 2) 프로젝트 import 다운로드 된 프로젝트 zip ..
- [ Spring ][Spring] SpringBoot 기반의 OPEN API 서비스 구현[3] - PostgreSQL 설치2021-12-15 09:16:39PostgreSQL 을 사용하기 위해 설치를 해보겠습니다. (MySQL도 사용가능합니다) https://www.postgresql.org/download/windows/ PostgreSQL: Windows installers Windows installers Interactive installer by EDB Download the installer certified by EDB for all supported PostgreSQL versions. Note! This installer is hosted by EDB and not on the PostgreSQL community servers. If you have issues with the website it's hoste www.postgresql...
- [ Spring ][Spring] SpringBoot 기반의 OPEN API 서비스 구현[2] - STS 설치2021-12-14 01:34:581. STS설치 https://github.com/spring-projects/toolsuite-distribution/wiki/Spring-Tool-Suite-3 GitHub - spring-projects/toolsuite-distribution: the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Sui the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Suite - GitHub - spring-projects/toolsuite-distribution: the distribution build for the Spring Tool S..
- [ Spring ][Spring] SpringBoot 기반의 OPEN API 서비스 구현[1] - JAVA 설치2021-11-24 09:01:57SpringBoot 기반의 OPEN API 서비스 구현 - JAVA 설치 1. JDK 설치 https://www.oracle.com/java/technologies/downloads/#jre8-windows 현재 8버전 최신 jdk로 다운로드합니다. 다운로드 후, 기본설치로 진행 2. 환경 변수 설정 제어판 -> 시스템 및 보안 -> 시스템 -> 고급 시스템 설정으로 들어가서 환경 변수 창으로 들어갑니다. [환경변수 창 설정] 1) JAVA_HOME 설정 시스템 변수에서 새로 만들기 선택한다. (jdk 설치된 폴더 경로 설정) 2 ) PATH 설정 Path 선택 > 편집 새로 만들기 %JAVA_HOME%\bin 입력 이후 CMD창을 열어 java -version 을 입력하면 아래와 같이 정상 설치된 것을..