분류 전체보기
-
Open Systems Interconnection (OSI) Model and TCP/IP ModelWeb/Network 2019. 8. 24. 06:07
1. Overview 1.1 Open System Interconnection Model (OSI) The Open Systems Interconnection model (OSI model) is a conceptual model that characterizes and standardizes the communication functions of a telecommunication or computing system without regard to its underlying internal structure and technology. Its goal is the interoperability of diverse communication systems with standard communication ..
-
Servlet and Common Gateway Interface(CGI)DevOps/Server 2019. 8. 23. 20:48
1. Overview Servlet technology is used to create a web application which resided at server-side and generate a dynamic web page. Servlet technology is robust and scalable because of java language. Before Servlet, Common Gateway Interface(CGI) scripting language was common as a serverside programming language. However, there were many disadvantages to this technology. 2. Description 2.1 Common Ga..
-
Checked and Unchecked ExceptionsStaticPL/JAVA 2019. 8. 23. 17:30
1. Overview Let's distribute Java exceptions into two main categories: checked exceptions and unchecked exceptions. 2. Description 2.1 Checked Exceptions Represent errors outside the control of the program. Such as IOException, SQLException, and ParseException. Exception is the superclass of these Exceptions The constructor of FileInputStream throws FileNotFoundException if the input file does n..
-
Session and CookieWeb/Security 2019. 8. 23. 13:22
1. Overview 1.1 Session Storing user-related data across different requests. Server-side storage holding contextual data 1.2 Cookie Storing a small piece of the date on client-side Used to identify a client Used for passing some data from one servlet to another 2. Session If we access the JSP page for the first time, then a new session gets created by default. In most cases, a web server uses co..
-
Fork Join frameworkStaticPL/JAVA 2019. 8. 23. 12:58
1. Overview The fork/join framework was presented in Java 7. It provides tools to help speed up parallel processing by attempting to use all available processor cores – which is accomplished through a divide and conquer approach. In practice, this means that the framework first “forks”, recursively breaking the task into smaller independent subtasks until they are simple enough to be executed as..
-
Comparison between REST and SOAP with HTTPWeb 2019. 8. 23. 11:57
1. Overview Let's analyze SOAP and Rest with protocols. 2. Comparison between SOAP and REST SOAP REST History SOAP(Simple Object Access Protocol) was created in 1998 by Dave Winer, Don Box, Bob Atkinson and Mohsen AIGhosein in collaboration with Microsoft REST(Representational State Transfer) was Created in 2000 by Roy Thomas Fielding. Developed in an academic environment, this protocol embraces..
-
Explain Query Plan and Query Performance with PostgresDB/RDB 2019. 8. 23. 09:34
1. Overview Let's analyze the query plan with Postgres to enhance performance using explain and analysis. 2. Description 2.1 Optimizer The brain of the database, which interprets queries and determines the fastest method of execution. A single query optimization technique can increase database performance drastically. 2.2 Explain & Analyze 2.2.1 Explain Displaying the execution plan that the Pos..
-
Garbage Collection (GC)StaticPL/JAVA 2019. 8. 23. 06:51
1. Overview Since Java oriented programs don't deallocate memory explicitly, Garbage collection tracks each and every object available in the JVM space and removes unused ones. GC works in two simple steps known as Mark and Sweep. 2. Minor GC Collecting garbage from Young space (consisting of Eden and Survivor spaces) is called a Minor GC. This definition is both clear and uniformly understood. ..