일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
29 | 30 |
- Resource #
- 국비지원JAVA#국비지원자바#프로그랭#JSP#국비지원JSP#국비교육JSP#웹개발자#코딩
- 국비지원자바#국비교육자바#국비지원java#국비교육java#자바스크립트#프론트엔드
- spring#Spring#RequestBody#ResponseBody
- Java#java#메모리영역#클래스로더#가비지컬렉터
- IntelliJ#인텔리제이#인텔리#단축키
- Java#컴파일러#자바컴파일러#
- 개발자#it도서#도메인#DDD#ddd
- 자바#Java#배열예시#연습#기초다지기
- html#HTML#프론트엔드#개발자#코딩#국비지원#국비교육#국비지원프론트엔드#국비지원HTML#국비지원html#국비프론트엔드
- 국비지원JAVA
- Java#java#자바#다오#디티오#브이오#dao#dto#vo
- tibero#티베로#이중화#failvover
- 개발자도서#개발자책#도메인#DDD#도메인주도개발시작하기#개발스터디#
- db#데이터베이스#오라클#sql
- 쿼리스트링#쿼리문자열#바인딩
- 자바
- 프로그래밍
- java
- #java#JAVA#프로그래밍#웹개발자
- Java#JAVA#매개변수
- Spring#spring#스프링#스프링프레임워크#스프링의존성주입#스프링생성자#스프링기본#국비지원#국비교육#국비지원스프링
- 국비지원#국비교육#국비지원자바#국비교육자바#css#HTML#JAVA
- #
- 국비지원#국비교육
- 국비지원JAVA#국비교육JAVA#국비지원자바#국비교육자바#JSP#SERVLET#서블릿#
- Spring#spring#스프링#스프링프레임워크#스프링자동주입#스프링생성자#스프링기본#국비지원#국비교육#국비지원스프링
- 항해99 #항해플러스 #주니어개발자 #주니어개발자역량강화 #주니어개발자멘토링 #개발자사이드프로젝트 #코딩부트캠프 #코딩부트캠프후기
- Java#정처기#비트연산자#정보처리기사
- 항해플러스#항해#항해플러스3기#회고
- Today
- Total
목록자바Java (18)
개린이 개발노트
6️⃣ Java Web 📌 jsp와 servlet의 차이점은 무엇인가요? 📌 jsp를 기본 제공하는 객체는 무엇이 있나요? 📌 4개의 jsp scope에는 무엇이 있나요? 📌 세션과 쿠키의 차이는 무엇인가요? 📌 세션 과정을 설명해주세요. 📌 쿠키를 사용할 수 없을 때 세션을 대신 사용할 수 있을까요? 📌 스프링 MVC와 struts의 차이는 무엇인가요? 📌 SQL Injection을 피할 수 있는 방법을 설명해주세요. 📌 XSS 공격이 무엇이고, 어떻게 피할 수 있는지 설명해주세요. 📌 CSRF 공격이 무엇이고, 어떻게 피할 수 있는지 설명해주세요. 7️⃣ 예외 클래스 📌 throw와 throws의 차이는 무엇인가요? 📌 final, finally, finalise의 차이는 무엇인가요? 📌 try-ca..
1️⃣ 기초 📌 JDK와 JRE의 차이점은 무엇입니까? 📌 ==와 equals의 차이점은 무엇입니까? 📌 두 객체가 동일한 hashCode를 가지면 Equals()가 참이어야 합니다, 그렇죠? 📌 자바에서 final의 기능은 무엇입니까? 📌 자바에서 Math.round(-1.5)는 무엇을 의미합니까? 📌 String은 기본 데이터 타입입니까? 📌 자바에서 문자열을 조작하는 클래스는 무엇이 있습니까? 각 클래스의 차이점은 뭘까요? 📌 String str ="i"와 String str = new String("i")가 동일합니까? 📌 문자열을 반전시키는 가장 좋은 방법은 무엇인가요? 📌 String 클래스의 일반적인 메서드는 무엇이 있나요? 📌 추상 클래스에서 추상 메서드는 필수적인가요? 📌 보통의 클래스와..
https://hianna.tistory.com/629 [Java] Gson 라이브러리 사용법 및 예제 ( Json 생성, 변환 )이번에는 Gson 라이브러리로, Java에서 Json을 다루는 방법을 알아보도록 하겠습니다. Gson은 Gson 라이브러리 추가하기 Gson 객체 생성하기 Json 생성하기 Object -> Json 변환하기 Json -> Object 변환하기 Map -hianna.tistory.com
Jackson 이란? Java Object를 JSON으로 변환하거나 JSON을 Java Object로 변환하는데 사용할 수 있는 Java 라이브러리입니다. Jackson Github - https://github.com/FasterXML/jackson Jackson 특징 1.Stream API : 스트림 형식으로 데이터를 분석하고 생성하기 때문에 성능이 좋습니다. 2.Tree Model : XML의 DOM 처럼 Node 형태로 데이터를 다룰 수 있기 때문에 유연성이 좋습니다. 3.Data Binding : POJO 기반의 자바 객체들을 JSON으로 변환시킬 수 있습니다. Maven 설정 jackson-databind 라이브러리는 jackson-core 및 jackson-annotation 라이브러리의 의..
보통 Map으로 변환하다보면 타입체크 경고가 자꾸 난다. 신경이 쓰여서 안나게 코딩하는 버릇이 생기는거 같다. 아래와 같이 사용할 수 있다. String json = "json"; ObjectMapper mapper = new ObjectMapper(); TypeReference typeRef = new TypeReference() {}; HashMap map = mapper.readValue(json, typeRef);
JAVA의 switch ~ case문으로 볼 수 있습니다. switch, 은 case, 는 default에 해당됩니다.
람다식 함수(메서드)를 간단한 식으로 표현하는 방법 int max(int a, int b) {return a (a, b) -> (a, b) ? a : b; 익명 함수 ( 이름이 없는 함수) 메서드를 람다식으로 바꾸고싶을 때 -> 메서드의 반환 타입과 이름을 지우고 블록{} 앞에 화살표(->) 넣기 이러면 이름이 없어지니까 익명함수라고 함 반환 값이 있는 경우, 식이나 값만 적고 return문 생략 가능(끝에'';' 안붙임) 예시) (int a, int b) { return a (int a, int b) -> a>b ? a : b 매개변수의 타입이 추론가능하면 생략가능(대부분 경우 생략 가능) 예시) (int a, int b) -> a>b ..
주로 print, println만 쓰다가 갑자기 printf 를쓰니 머릿속이 새하얘지며 기억이 안났다. printf 는 서식이 있는 출력으로 지시를 통해 변수의 값을 여러 가지 형식으로 바꿔서 출력할 수 있다. ex) System.out.printf ("출력 서식", 출력할 내용); %d 정수형 출력 %s 문자형 출력 %f 실수형 출력 %c 문자열 출력 %n 줄 바꿈 %b boolean 출력 예제 2. printf예제 } public class PrintTest { public static void main(String[] args) { int a = 3; char b = 'A'; String c = "Code"; System.out.printf("a = %d %n",a); System.out.print..