분류 전체보기
-
Object Relation Mapping(ORM) and HibernateFramework/ORM 2020. 7. 9. 22:28
1. Overview Object Relation Mapping(ORM) provides a simple API for storing and retrieving Java objects directly to and from the database. 2. Features Non-intrusive: No need to follow specific rules or design patterns Transparent: Your object model is unaware 3. Advantages of ORM 3.1 Productivity Eliminates lots of repetitive code – focus on business logic – Database schema is generated automatic..
-
Reactive ManifestoModeling/TheoremParadigm 2020. 7. 5. 18:31
1. Overview 1.1 Comparison Term Reactive Systems Reactive Programming Functional Reactive Programming(FRP) Description Architecture and Design Generally, Event-Based Often confused with Reactive Programming 1.2 Reactive Programming with Reactive Systems Reactive Programming is a useful implementation technique Reactive Programming focuses on non-blocking, asynchronous execution - a key of charac..
-
Reactive Programming and WebFluxFramework/SPRING 2020. 7. 5. 18:21
1. Overview Reactive programming is about non-blocking, event-driven applications that scale with a small number of threads, with backpressure being a key ingredient that aims to ensure producers don't overwhelm consumers. The primary benefits of reactive programming are: increased utilization of computing resources on multicore and multi-CPU hardware and increased performance by reducing serial..
-
OptionalStaticPL/JAVA 2020. 6. 24. 16:39
1. Overview Optional is a container object used to contain not-null objects. Optional object is used to represent null with absent value. This class has various utility methods to facilitate code to handle values as ‘available’ or ‘not available’ instead of checking null values. It is introduced in Java 8 and is similar to what Optional is in Guava. API Note: Optional is primarily intended for u..
-
Android ArchitectureMobile/Android 2020. 6. 2. 15:39
1. Architecture 1.1 Android Activity Lifecycle 1.2 State Lifecycle 2. Component Component Description Activities They dictate the UI and handle the user interaction with the smartphone screen. Services They handle background processing associated with an application. Broadcast Receivers They handle communication between Android OS and applications. Content Providers They handle data and database..
-
UI ThreadMobile/Android 2020. 5. 26. 21:52
1. Overview UI Thread is a special thread started by the Android framework and associated with a single application. There are two alternative names for UI thread so it's either UI thread or sometimes it's called also main thread and to be absolute re girls I must tell you that you are a threat and main threat are not necessarily the same thread. There are situations when these threads will be d..
-
Garbage Collector, Memory Leaks, and Thread Termination in AndroidMobile/Android 2020. 5. 26. 15:52
All objects in your application must be garbage collected eventually except for objects that you explicitly want to use for the entire lifetime of the application. All started threads in your application must terminate in a timely manner to prevent memory leaks. 1. Memory Allocation 1.1 OutOfMemoryException If allocated memory never released, sooner or later the application will crash with OutOf..
-
Android Processes and ThreadsMobile/Android 2020. 5. 26. 14:32
1. Overview 2. Process In Android, each running program (application) gets its own task and this task is associated with an isolated execution environment (sandbox). Together they constitute a process. 2.1 Corollary Since processes are sandboxed in Android, one application can't access the environment of another application. (reliability, security) 3. Threads In Android, each process can host on..