Home » Archives for Sergio Lauriano Junior » Page 3

Author Archives: Sergio Lauriano Junior

Sergio is graduated in Software Development in the University City of São Paulo (UNICID). During his career, he get involved in a large number of projects such as telecommunications, billing, data processing, health and financial services. Currently, he works in financial area using mainly Java and IBM technologies.

Logical Operators in Java

In this article, we’re going to see the logical operators in Java, which are they, and how to use them through some examples. 1. Introduction As a developer, I see a lot of similar things in a language and logical operators are one of them. Basically, logical operators are used to deciding or validating conditions and return a Boolean to ...

Read More »

Java Thread Dump

In this article, we’re going to see a thread dump in Java. What are the tools available to analyze and make our own code to do that? 1. Introduction A thread dump is a snapshot of the state of all the threads of a Java process. Also, it reveals information about an application’s thread activity that can help us diagnose ...

Read More »

Java ClassLoader Example

In this article, we’re going to discuss different types of Java ClassLoader, how they work and some examples to build our own implementation. 1. Introduction A class loader is an object that is responsible for loading classes. The ClassLoader class is an abstract class that uses a delegation model to search for classes and resources. Furthermore, the ClassLoader is part of JRE ...

Read More »

How to Download and Install OpenJDK 11

In this article, we going to see how to download and install OpenJDK 11 and present its features with some examples for java JDK 11. 1. Introduction OpenJDK 11 is the open-source reference implementation of version java JDK 11 of the Java SE Platform as specified by JSR 384 in the Java Community Process. This version of JDK is the alternative for Oracle ...

Read More »

Array Declaration in Java

This article is about the Array Declaration in Java. But before we initialize an array in java, we will explain one important data structure used, the Array. 1. Introduction An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together. We can store in an array any ...

Read More »

How to Generate a Random Int in Java

This article shows how to generate a random Int or integer in Java using different approaches. 1. Introduction Java has several ways to generate a random Integer, primitive or wrapped object, on its environment. Here we’ll see some of these methods listed below: Random classMath classThreadLocalRandom class 2. Pre-requisites The minimum Java version for execute this article’s example is JDK ...

Read More »

Modules of Spring Architecture

In this article, we’ll look at the Spring Framework architecture, how its modules works, and the benefits of using this powerful environment. 1. Introduction Since Spring Framework is a Java based platform, it provides a comprehensive and solid software infrastructure while we can focus on the aspects of our application. In other words, Spring Framework handle all the base of ...

Read More »

Spring Boot Version

In this article, we’ll see some information about Java Spring Boot versions and how to build a project using Maven and Gradle. 1. Introduction Spring Boot is one of the most used Java frameworks nowadays. This powerful tool helps developers to quickly implement and deliver an application with the best practices, using a consistent integration between all his libraries and ...

Read More »

How to Kill MySQL Process

This article is to describe how to kill a MySQL process and how to use long-running queries using a few commands on the terminal. 1. Introduction MySQL has tools to help us to manage and enhance our database performance. As an example, when a heavy query is executed on the database, it does a lot of issues like delay in ...

Read More »

Java 15 New Features Tutorial

In this article, we provide a tutorial about the new features of Java 15. With a lot of improvements and modernization features, Java 15 arrived at the beginning of September. Let’s see them all together! 1. Introduction Java 15 came with fourteen new features, grouped in the following categories: New FeaturesEdwards-Curve Digital Signature Algorithm (EdDSA)Hidden Classes Incubating and Preview FeaturesSealed ...

Read More »