Overview We usually make package name for Java program. But, when we try to name package, we don't know how to name the package. In this post, We look what package name is and how to make package name by examples. let's look at some principles for package naming convention. Index What is package name? How to make package name Examples for package name 1. What is user-defined package name? - Pack..
노션 페이지(아래 내용과 동일) 개요 쿠키와 세션은 개발자 말고도 인터넷 사용자라면 누구나 많이 들어본 단어입니다. 하지만 개념에 대해서는 많은 사람들이 헷갈려 하기에 쉽고 간단하게 정리해보려고 합니다. 일단 쿠키를 발급받고 사용하는 과정에 대해서 그림으로 보여드리고, 쿠키와 세션에 대한 설명을 하도록 하겠습니다. 목차 1. HTTP의 특징과 쿠키와 세션을 사용하는 이유 2. 쿠키 ( Cookie ) 3. 세션 ( Session ) 4. 쿠키와 세션의 차이 5. 세션을 사용하면 좋은데 왜 쿠키를 사용할까? 6. 쿠키/세션은 캐시와 엄연히 다르다! 1. HTTP의 특징과 쿠키와 세션을 사용하는 이유 HTTP 프로토콜의 특성이자 약점을 보완하기 위해서 쿠키 또는 세션을 사용합니다. 기본적으로 HTTP 프로토..
Overview When we develop application, we always think concepts called "Blocking, Non-blocking, Synchronous, Asynchronous". We usually think that "Blocking, non-blocking, Synchronous, Asynchronous" are the same. But, This perspective is wrong. It is unrelated concepts each other. It is difficult and confusing concepts. It is confused between "Blocking" and "Synchronous". Likewise, It is confused ..
Java uses memory without explicitly releasing it. Instead, JVM manages memory. JVM deletes unused objects in the Heap area by GC. Heap area is dynamically allocated memory area. Heap manages object-type data objects, typically classes such as String and Collection. The important part of this is to determine which object to keep and which object to GC in Heap. GC is designed with the following co..
We have a lot of thoughts about OOP(Object Oriented Programming). But many people can't answer easily. Some people answer SOLID principle. From the beginning class, we are going to learn about the basics of OOPs in JAVA. In order to implement OOP in JAVA, We have to satisfy a few things. The concepts for OOP is as follows. Class Object Abstraction Inheritance Encapsulation Polymorphism Attribute..