profile
@Hanyang univ(seoul). CSE

BE development plan

협업 방식 2명이서 각자 DB server와 Application server를 맡는게 좋을까? BE developer database operation(queries, schema design) and the business logic layer (services, controllers) 모두를 다룰 줄 알아야 한다. 병목현상 : debugging, te...

2024년 9월 22일
·
0개의 댓글
·

Proxy and Associations

proxy, 지연로딩

2024년 7월 4일
·
0개의 댓글
·

ORM - entity, association

Object-RDB Mapping

2024년 7월 4일
·
0개의 댓글
·
post-thumbnail

JPA에 대한 개론

JPA is ORM + understanding PersistenceContext mechanism

2024년 7월 2일
·
0개의 댓글
·
post-thumbnail

Design Pattern : Decorator

component interface concrete component class Component 인터페이스를 구현하며, 기본적인 동작을 정의합니다. 이 클래스는 실제 객체를 나타냄 decorator abstract class Component 인터페이스를 구현 내부적으로 Component 타입의 객체를 포함 concrete decorator clas...

2024년 6월 20일
·
0개의 댓글
·

JAVA_디테일

메서드 정의 시 키워드 순서 규칙 ㄱ. 접근 제어자 : public, protected, private ㄴ. 기타 제어자 : static, abstract, final, synchronized, (관례상 이 순서) ㄷ. 리턴 타입 ㄹ. 메서드 이름 ㅁ. parameter list ㅂ. Exception List

2024년 6월 18일
·
0개의 댓글
·

JAVA_Polymorphism

binding 정의 : method invocation과 method definition을 연결하는 과정 early binding; static binding 컴파일 시점에 메서드 정의와 메서드 호출을 연결하는 방식 정적 메서드 호출; 클래스명이 아닌 심지어 객체를

2024년 6월 16일
·
0개의 댓글
·
post-thumbnail

JAVA_inheritance

A is a B class A extends B 상속되지 않는 것. 아래 3가지 빼고는 모두 상속됨 (초기화 블록은 다루지 않음) 1. 생성자(Constructor) 자식 클래스는 부모 클래스의 생성자를 상속받지 않음 생각해보면 당연한 것; 자식 클래스는 자신의 생성자

2024년 6월 15일
·
0개의 댓글
·

Design Pattern : Singleton

정의 클래스가 오직 하나의 객체만 가지도록 함. 객체 하나 생성시 많은 자원을 필요로 하는 경우 이 패턴을 사용. 사용 사례 Logging Caches Registry Settings Access External Resources : Printer, Device Dri

2024년 6월 15일
·
0개의 댓글
·

Design Pattern : Observer

정의 옵저버 패턴(Observer Pattern)에서는 한 객체의 상태가 바뀌면 그 객체에 의존하는 다른 객체들한테 연락이 가고, 자동으로 내용이 갱신되는 방식으로 일대다(one-to-many) 의존성을 정의한다. 예시로 기억하자 e.g. WeatherData 객체는 온도, 습도, 기압 정보를 가지고 있으며, 해당 정보가 변경될 때마다 다음의 세 객체...

2024년 6월 15일
·
0개의 댓글
·
post-thumbnail

Design Pattern : Factory

Simple Factory, Factory Method

2024년 6월 15일
·
0개의 댓글
·

Design Pattern이란?

정의 > "A proven solution to a commmon problem in a specified context" 분류 Creational Abstract Factory Builder Factory Method Prototype Singleton Struct

2024년 6월 15일
·
0개의 댓글
·

JAVA_Iterator

Iterator\ 인터페이스 Iterator\ 인터페이스를 만족하는 모든 클래스의 객체는 Iterator\타입으로 사용될 수 있다. Iterator\는 독립적으로 존재 ㄴㄴ 반드시 컬렉션 객체와 연관되어야 하며, 보통 컬렉션의 내부 클래스(inner class)로서

2024년 6월 11일
·
0개의 댓글
·

JAVA_generics

여러개의 type parameter가능 primitive type은 사용 불가; class Type만 당연히 array도 가능하겠죠? generic method generic class; parameterized class

2024년 6월 11일
·
0개의 댓글
·

JAVA_ArrayList

import import java.util.ArrayList; 정의 length가 변할 수 있는 배열 array : 만들어지는 순간 길이 고정 원리 array를 private 필드로 가지고 있음 + 꽉 찰때마다 더 긴 array가 생성되어 이동 문법 사용 항상 array를 대체하는 것은 아님 ArrayList 객체는 array보다 비효율적 '[]' 사용 ...

2024년 6월 11일
·
0개의 댓글
·
post-thumbnail

JAVA_file I/O

stream input stream : keyboard or from a file output stream : screen or to a file file file(; ASCII file) : 모든 컴퓨터에서 동일하기에 송수신 가능 binary file : 같은 컴퓨터

2024년 6월 11일
·
0개의 댓글
·
post-thumbnail

JAVA_exception handling

정의 throwing an exception unusual한 무언가가 일어났을 때 신호를 보내는 기작 handling the exception exceptional case를 다루는 코드 1. throws 메서드를 이용하기 > pass the buck 예외만 던지는 메서드 해당 메서드는 try, catch블록을 가지고 있으면 안됨; 따라서 throws c...

2024년 6월 10일
·
0개의 댓글
·

JAVA_Thread

multiple operation을 concurrently하게 할 수 있게 함multiple threads를 동시에each thread는 코드를 선형적으로 처리함Thread는 고유의 메모리 공간을 가지지 않음대신 프로세스의 메모리와 자원을 공유함 \* 각 프로세스는 다

2024년 6월 10일
·
0개의 댓글
·

JAVA_nested class

분류 \[static] : 바깥 클래스와 관련 없음, 인스턴스에 소속되지 않음 static nested class \[non-static] : 바깥 클래스의 인스턴스에 소속, 구성요소 inner class local class (inner + localVar에 접근) anonymous class (local + class에 이름이 없음) 주의점 같은 시그...

2024년 6월 9일
·
0개의 댓글
·

JAVA_interface

abstract class 규칙 Abstract method가 있으면 무조건 그 class는 abstact class이다. abstract method는 private이 될 수 없음 abstract class는 인스턴스를 만들 수 없음 abstract class의 생성자는 객체를 생성할 수 없다. 대신 상속받은 자식 클래스에서 super로 사용가능하다. 그...

2024년 6월 9일
·
0개의 댓글
·