목록전체 글 (13)
wan-stack
Spring은 프레임워크이며, Spring Boot는 스프링 프레임워크를 기반으로 하는 도구 Spring은 설정 파일을 작성해야 하지만, Spring Boot는 자동 설정을 제공해준다. 1. Spring - 개발자가 직접 설정 파일을 작성하여 스프링 컨테이너 구성 - 필요한 빈 객체를 등록 - 빈 객체 간의 의존성을 설정해야한다. - 특정한 구성을 위해 추가적인 라이브러리와 설정이 필요하다. 2. Spring Boot - 개발자가 설정 파일을 작성할 필요가 없다. - 프로젝트의 설정과 라이브러리 의존성을 자동으로 처리 - 실행 가능한 JAR 파일을 만들 수 있다. Spring은 프레임워크이며, Spring Boot는 스프링 프레임워크를 기반으로 한 도구! Spring Framework의 특징 1. DI ..
Entity와 DTO는 소프트웨어 개발에서 데이터를 표현하고 전달하는데 사용되는 개념 Entity 데이터베이스와 관련이 있는 객체를 나타냄 데이터베이스의 테이블과 일치하며, 데이터베이스 테이블의 각 열은 엔터티의 속성에 해당 데이터베이스의 영속적인 상태를 나타내고, 데이터베이스와 직접 상호작용 데이터 저장, 검색 및 업데이트에 사용됨 스프링부트에서 사용코드 package com.example.blog.domain; import lombok.AccessLevel; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import javax.persistence.*; @Entity @Getter @NoArgsConstruc..
스프링 프로젝트를 진행하려면 자바 8버전은 호환이 되지 않기에.. 자바 11버전을 설치해야된다! 1. OpenJDK 다운로드 https://jdk.java.net/java-se-ri/11 Java Platform, Standard Edition 11 Reference Implementations Java Platform, Standard Edition 11 Reference Implementations The official Reference Implementation for Java SE 11 (JSR 384) is based solely upon open-source code available from the JDK 11 Project in the OpenJDK Community. This Refer..
역시 설치하기 위해서는 사이트 접속을 제일 먼저 해야합니다:) 1. 사이트 접속하기 https://www.jetbrains.com/idea/ IntelliJ IDEA – the Leading Java and Kotlin IDE IntelliJ IDEA is undoubtedly the top-choice IDE for software developers. It makes Java and Kotlin development a more productive and enjoyable experience. www.jetbrains.com 2. 유료말고 무료 다운로드 (community edition) - Ultimate : 완전한 기능 제공 (1달 무료체험 가능) - Community Edition : 제한적 기..