본문 바로가기

명사 美 비격식 (무리 중에서) 아주 뛰어난[눈에 띄는] 사람[것]

JAVA

(360)
자바설치 및 환경변수 설정 우선 java가 설치되어있는지 확인해보자. java를 다운받거나, 보유한 exe를 실행한다. https://www.oracle.com/java/technologies/downloads/ Download the Latest Java LTS Free Subscribe to Java SE and get the most comprehensive Java support available, with 24/7 global access to the experts. www.oracle.com 설치를 원하는 경로가 있다면 변경 후 ok 설치경로로 - bin경로로 들어가 경로를 복붙한다. 환경변수메뉴진입 환경변수 - 시스템변수 - path - 편집 - 새로만들기 - 경로 붙여넣기 - 확인 다시 cmd를 열어 확인하자. 아까..
Gradle 다운/설치 gradle 다운 https://gradle.org/releases/ Gradle | Releases Find binaries and reference documentation for current and past versions of Gradle. gradle.org 다운로드 - 압축해제 - C드라이브이동 및 bin폴더까지의 경로 복사 - 내pc- 마우스오른쪽 - 속성 - 고급시스템설정 - 환경변수 - path선택 - 편집 - 새로만들기 - 경로저장 - 확인 - 확인 - cmd - gradle설치확인 - 완료. gradle --v 이클립스 gradle 플러그인 설치 Help > Eclipse MarketPlace - gradle support검색 - Buildship Gradle Integration ..
스프링부트 Dependency 수정, 프로젝트 설정 수정 프로젝트 우클릭 - spring - edit Starters
lombok이란? getter setter의 코드를 줄여주는 코드 https://projectlombok.org/download Download projectlombok.org java -jar lombok.jar 다운확인 후 이클립스 재시작 https://standout.tistory.com/471 Gradle lombok추가, build.gradle implementation 'org.projectlombok:lombok'//lombok추가 standout.tistory.com https://standout.tistory.com/491 Annotation - @Getter @Setter @ToString lombok에서 getter, setter, tostring의 역할을 대신하여 코드의 길이를 줄여준다. import..
Spring Boot starter란? starter 특정 목적을 달성하기 위한 의존성 그룹으로써 간편하게 dependency를 제공한다. 만약 우리가 JPA가 필요하다면 prom.xml(메이븐)이나 build.gradle(그레이들)에 'spring-boot-starter-data-jpa'만 추가해주면 spring boot가 그에 필요한 라이브러리들을 알아서 받아온다. https://standout.tistory.com/563 JPA란? JPA (Java Persistence API) ORM기술의 표준. 개발자가 객체지향적 프로그래밍에 집중할 수 있도록 JPA가 관계형 데이터베이스에 맞게 SQL을 대신 생성/실행하여 도와줌. https://standout.tistory.com/14 객체와 객 standout.tistory.com https:/..
Spring Framework vs Spring Boot 차이 앞서 Spring이 무엇인지 알아봤다. https://standout.tistory.com/123 Spring이란? Spring Spring Framework 스프링프레임워크라고도 불린다. 자바 웹 애플리케이션을 생성하기위한 오픈소스, 경량 프레임워크이면서 경량 컨테이너 https://spring.io/ Spring | Home Cloud Your code, any cloud—we’ve standout.tistory.com 또한 Spring Boot의 구조에 대해서도 알아봤는데, https://standout.tistory.com/458 Spring Boot 구조 src/main/java: 자바소스 src/main/resources: xml이나 프로퍼티파일 static: html같은 정적 웹리소스 tem..
Spring 버전별 특징 Spring 2.x XML 네임스페이스, AspectJ지원 https://standout.tistory.com/619 XML 네임스페이스 XML 네임스페이스 데이터를 구분하기 위한 방법 동일한 이름을 갖는 요소/속성을 서로 다은 이름으로 구분할 수 있다. XML in a Nutshell O'Reilly XML in a Nutshell Pearson XML in a Nutshell O'Reilly XML in a Nutshell Pe standout.tistory.com https://standout.tistory.com/617 AspectJ란? AspectJ 자바언어에 측면 지향 프로그래밍(Aspect-Oriented Programming, AOP)기능을 추가한 프레임워크 로깅, 트랜잭션 관리, 보안 등..
Groovy DSL이란? Groovy DSL Groovy Domain Specific Language Groovy 언어를 이용하여 특정 도메인에 화면단/응답/요청등을 작성하는 코드 def xml = new MarkupBuilder() def root = xml.books() { book() { title("The Stand") author("Stephen King") isbn("978-034550496") } }