분류 전체보기
-
FunctionalStaticPL/JAVA 2019. 8. 27. 20:46
1. Overview The term Java functional interface was introduced in Java 8. A functional interface in Java is an interface that contains only a single abstract (unimplemented) method. A functional interface can contain default and static methods which do have an implementation, in addition to the single unimplemented method. 1.1 Without Implementation public interface MyFunctionalInterface { public..
-
Generics and Generic MethodsStaticPL/JAVA 2019. 8. 27. 11:45
1. Overview Generic was designed to extend Java's type system to allow "a type or method to operate on objects of various types while providing compile-time type safety". The aspect of compile-time type safety was not fully achieved since it was shown in 2016 that it is not guaranteed in all classes. 2. Motivation Ensure type safety Ensure that generics wouldn't cause an overhead at runtime whic..
-
ReflectionStaticPL/JAVA 2019. 8. 27. 08:40
1. Overview It stands for modifying or examing the behavior of methods, classes, and interfaces at runtime. java.lang.reflect packages required classes for reflection It gives us information about the class to which an object belongs and also the methods of that class which can be executed by using the object. Being able to invoke methods at runtime irrespective of the access specifier used with..
-
Class DiagramModeling 2019. 8. 25. 11:53
1. Overview A class diagram in the Unified Modeling Language(UML) is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, operations(or methods), and the relationships among objects. 2. Class Notation public class Temperature { private int current; private int desired = 70; public int getCurrent() { return current; } publi..
-
Entity Relationship Diagram(ERD)Modeling 2019. 8. 25. 11:53
1. Overview An entity-relationship diagram (ERD) shows the relationships of entity sets stored in a database. An entity in this context is an object, a component of data. An entity set is a collection of similar entities. These entities can have attributes that define its properties. 2. Description 2.1 Entity An ERD entity is a definable thing or concept within a system, such as a person/role (e..
-
Difference between Nosql and SQLDB/Nosql 2019. 8. 25. 11:50
1. Overview When it comes to choosing a database the biggest decisions are picking a relational (SQL) or non-relational (NoSql) data structure. While both the databases are viable options still there are certain key differences between the two that users must keep in mind when making a decision 2. NoSQL 2.1 What is NoSQL NoSQL databases are purpose-built for specific data models and have flexibl..
-
Stateful and stateless in ProtocolWeb/Protocol 2019. 8. 25. 08:19
1. Overview Network Protocols for web browser and servers are categorized into two types: stateless Protocol, and Stateful protocol. Both protocols are differentiated on the basis of the requirement of server or server-side software to save status or session information. 2. Comparisons STATELESS PROTOCOL STATEFUL PROTOCOL Does not require the server to retain the server information or session de..
-
Remote Dictionary Server(Redis) and Redis Enterprise ClusterDB/InMemory 2019. 8. 25. 08:18
1. Overview An in-memory data structure project implementing a distributed, in-memory key-value database with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indexes. 2. Description 2.1 Differences with other database systems 2.1.1 Can be considered either a store and a c..