Home » Core Java

Core Java

MySQL Most Popular Functions Tutorial

1. Introduction In this post, we feature a comprehensive Tutorial on MySQL Most Popular Functions. MySQL is one of the most used SQL databases in many of the world-enterprise applications due to its ability to manage transactions and the ACID-behaviour which is built into its core. One of the reasons MySQL is so popular is due to the easiness it provides ...

Read More »

Java 8 Convert a primitive Array to List Example

In this article we will learn how to Convert a primitive Array to List using Java 8. For this example we will use IDEA IntelliJ but you can also use any IDE. 1. Introduction An array is a container object that holds a fixed number of values of a single type. The length of an array is established when the ...

Read More »

Java Bridge Design Pattern Example

1. Introduction In this article, we would be talking about one of the many Java Design Patterns – The Bridge Design pattern. In a large scale Java application built for enterprises, at times it becomes difficult to manage and understand the code. With a varying profile of developers working on the same project, it is necessary that the code being ...

Read More »

MySQL Full-text Search Tutorial

1. Introduction MySQL is one of the most used SQL databases in many of the world-enterprise applications due to its ability to manage transactions and the ACID-behaviour which is built into its core. One of the reasons MySQL is so popular is due to the easiness it provides for its usage and its related commands. In the open source web application ...

Read More »

Java 8 Display all ZoneId and its UTC offset Example

In this article we will see how to display all ZoneId and its UTC offset. A ZoneId is used to identify the rules used to convert between an Instant and a LocalDateTime. 1. Introduction The java.time package contains the main APIs for dates, times, instants and duration. The classes defined here represent the principle date-time concepts, including instants, durations, dates, times, ...

Read More »

Java Composite Design Pattern Example

1. Introduction In this post, we feature a comprehensive Example on Java Composite Design Pattern. In a large scale Java application built for enterprises, there are certain pre-defined coding standards and structures to be followed. These standards and structures assist in development of a code that is organised and easily manageable. This also ensures that the code is structured in ...

Read More »

MySQL Replication Tutorial

1. Introduction MySQL is one of the most used SQL databases in many of the world-enterprise applications due to its ability to manage transactions and the ACID-behaviour which is built into its core. One of the reasons MySQL is so popular is due to the easiness it provides for its usage and its related commands. In the open source web application ...

Read More »

Java Facade Design Pattern Example

1. Introduction In an enterprise application, it is extremely important to manage the code base so that the redundancy is reduced. Moreover, in order to make code manageable, we also need to take care that the classes are structured and connected  so that the generic code is not repeated in multiple classes. In Java, we use the features like implementing ...

Read More »

Java 8 Convert Instant to ZonedDateTime Example

In this post, we feature a comprehensive Example on Java 8 Convert Instant to ZonedDateTime. We will discuss about the Java Instant and ZonedDateTime classes and how we can convert a time represented by the Instant to a ZonedDateTime object. 1. Java 8 Convert Instant to ZonedDateTime – Introduction First we will have a look at the Instant class. java.time.Instant ...

Read More »

Java Adapter Design Pattern Example

1. Introduction to design patterns A design pattern in Java is a defined implementation pattern for developing classes and objects. A design pattern provided the base to develop an architecture that reduces redundancy in the code and improves the manageability. There are numerous design patterns defined in Java. They are primarily categorised in the below categories: Creational design patterns: The ...

Read More »