Java

Java Thread Example — step-by-step Programming tutorial on Progressive Robot

Java Thread Example

URL: https://www.progressiverobot.com/java-thread-example/ Welcome to the Java Thread Example. Process and Thread are two basic units of execution. Concurrency programming is more concerned with java threads. Process A process is a self contained execution environment and it can be seen as a program or application. However a program itself contains multiple processes inside it. Java runtime […]

Read more
Como Instalar o Apache Tomcat 9 no Debian 10 — step-by-step Linux tutorial on Progressive Robot

Como Instalar o Apache Tomcat 9 no Debian 10

O Apache Tomcat é um servidor web e um servlet container que é usado para servir aplicações Java. O Tomcat é uma implementação open source das tecnologias Java Servlet e JavaServer Pages, lançada pela Apache Software Foundation. Este tutorial aborda a instalação básica e algumas…

Read more
Java 8 Date - LocalDate, LocalDateTime, Instant — step-by-step Programming tutorial on Progressive Robot

Java 8 Date – LocalDate, LocalDateTime, Instant

URL: https://www.progressiverobot.com/java-8-date-localdate-localdatetime-instant/ Date Time API is one of the biggest features of Java 8 release. Java was missing a consistent approach for Date and Time from start and Java 8 Date Time API is a welcome addition to the core Java APIs. Why do we need new Java Date Time API? Before we start looking at […]

Read more
Visitor Design Pattern in Java — step-by-step Programming tutorial on Progressive Robot

Visitor Design Pattern in Java

URL: https://www.progressiverobot.com/visitor-design-pattern-java/ Visitor Design Pattern is one of the behavioral design pattern. Visitor Design Pattern Visitor pattern is used when we have to perform an operation on a group of similar kind of Objects. With the help of visitor pattern, we can move the operational logic from the objects to another class. For example, think […]

Read more
Cara Menginstal Java dengan Apt pada Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

Cara Menginstal Java dengan Apt pada Ubuntu 20.04

Dalam panduan ini, Anda akan menginstal berbagai versi Java Runtime Environment (JRE) dan Java Developer Kit (JDK) dengan menggunakan `apt` pada Ubuntu 18.04. Anda akan menginstal OpenJDK serta JDK resmi dari Oracle. Kemudian, Anda akan memilih versi yang ingin digunakan untuk proyek Anda. Saat Anda selesai, Anda akan dapat menggunakan JDK untuk mengembangkan perangkat lunak atau menggunakan Java Runtime untuk menjalankan perangkat lunak.

Read more
Android MVVM Design Pattern — step-by-step Programming tutorial on Progressive Robot

Android MVVM Design Pattern

In this tutorial, we'll be discussing and implementing the Android MVVM Architectural Pattern in our Android Application. We've previously discussed the [Android MVP Pattern](/community/tutorials/android-mvp). Why do we need these patterns? Adding everything in a Single Activity or Fragment would lead to problems in testing and refactoring the code. Hence, the use of separation of code […]

Read more
Java BlockingQueue Example — step-by-step Programming tutorial on Progressive Robot

Java BlockingQueue Example

URL: https://www.progressiverobot.com/java-blockingqueue-example/ Today we will look into Java BlockingQueue. java.util.concurrent.BlockingQueue is a java Queue that support operations that wait for the queue to become non-empty when retrieving and removing an element, and wait for space to become available in the queue when adding an element. Java BlockingQueue ![Java BlockingQueue](images/java-blockingqueue-example-section-1.png) Java BlockingQueue doesn't accept null values […]

Read more
CHAT