Home » Archives for Sergio Lauriano Junior

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.

Java for Android Development

In this article, we’re going to talk about the Java tools used for Android development. Table Of Contents 1. Introduction 2. Android Build System 2.1. The build process 3. Build Configurations 3.1 The settings.file 3.2 The build.gradle files 4. Dalvik VM 5. Android Run-Time (ART) 5.1 Ahead-of-time (AOT) compilation 5.2 Garbage collection improvement 5.3 Development and Debugging improvements 6. Where ...

Read More »

Events in Spring

In this article, we’re going to discuss how to use events in Spring and make a practical example of this feature. 1. Introduction When we think about routines in our applications, we can take some extra tools for queueing like RabbitMQ, Apache Kafka, ActiveMQ. Spring has a powerful tool provided by ApplicationContext called Event. Basically, an event is a message ...

Read More »

Python GUI Programming with Tkinter

In this article, we’re going to see one famous GUI on Python called Tkinter. Also, we’ll see some widgets used to build interfaces with this framework and create an example using it. 1. Introduction Tkinter is a Python library to develop Graphical User Interface (GUI). It is embedded in the standard Python installation. One advantage of Tkinter is that it’s ...

Read More »

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 and discuss it. 1. Introduction OpenJDK 11 is the open-source reference implementation of version 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 JDK that is paid ...

Read More »

Array Declaration in Java

This article is about the Array Declaration in Java. But first, 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 kind of data from primitive ones ...

Read More »

How to Generate a Random Int in Java

This article shows how to generate a random Int 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 8 (find ...

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 »