Author: Алексей

JavaSERelevant topics

Double colon (::) operator in Java

by:

The double colon (::) operator, also known as method reference operator in Java, is used to call a method by referring to it with the help …

Design PatternsJavaSERelevant topics

Abstract Factory Pattern

by:

Abstract factory Pattern is a creational pattern that works around a super factory which creates other factories. It is also called as factory of factories. In …

Design PatternsJavaSERelevant topics

Adapter Pattern

by:

Adapter Pattern works as a bridge between two incompatible interfaces. This is a structural pattern that combines the capability of two different interfaces. Adapter Pattern involves …

Design PatternsJavaSERelevant topics

Bridge Pattern

by:

Bridge Pattern is a structural pattern that is used when there is a need to decouple an abstraction from its implementation so that they can vary …

Design PatternsJavaSERelevant topics

Factory Pattern

by:

Factory Pattern is a creational pattern as it is used for creating an object. This pattern allows to create an object without exposing the creation logic …

FrameworksRelevant topicsSpring

Spring Boot and H2 in memory database – why, what and how ?

by:

What is an in memory database ? In memory database is created when an application starts up and destroyed when the application is stopped. In memory …

JavaEEJPARelevant topics

JPA Specification

by:

JPA (Java Persistence API) is a Java specification for managing relational data in Java applications. It allows to access and persist data between Java object/class and …

Build ToolsMavenOtherRelevant topics

Maven BOM (Bill of Materials)

by:

Maven tag <dependencyManagement> does not create dependencies, but informs of which dependency versions will be used in the project. Usually <dependencyManagement> is defined either in parent …

ConcurrencyJavaSERelevant topics

Java ThreadLocal

by:

Java ThreadLocal class enables developer to create variables that can only be read and written by the same thread. Thus, even if two threads are executing …

ConcurrencyJavaSERelevant topics

Java Volatile Keyword

by:

The Java volatile keyword guarantees visibility of changes to variables across threads. In a multithreaded applications, where the threads operate on non-volatile variables, each thread may …