Java

Log4j2 Example Tutorial - Configuration, Levels, Appenders — step-by-step Programming tutorial on Progressive Robot

Log4j2 Example Tutorial – Configuration, Levels, Appenders

URL: https://www.progressiverobot.com/log4j2-example-tutorial-configuration-levels-appenders/ Welcome to the Apache Log4j2 Example Tutorial. If you ask an expert developer about the most annoying thing about an application, the answer might be related to logging. If there is no suitable logging in an application, maintenance will be a nightmare. Most of the application go through Development testing, unit testing, integration testing. But […]

Read more
ObjectOutputStream in Java - write Object to File — step-by-step Programming tutorial on Progressive Robot

ObjectOutputStream in Java – write Object to File

URL: https://www.progressiverobot.com/objectoutputstream-java-write-object-file/ ObjectOutputStream in Java can be used to convert an object to OutputStream. The process of converting object to stream is called [serialization in java](/community/tutorials/serialization-in-java). Once an object is converted to Output Stream, it can be saved to file or database, send over the network or used in socket connections. So we can use […]

Read more
Scanner Class in Java — step-by-step Programming tutorial on Progressive Robot

Scanner Class in Java

URL: https://www.progressiverobot.com/scanner-class-in-java/ Java Scanner class is part of the java.util package. It was introduced in Java 1.5 release. The Scanner is mostly used to receive user input and parse them into primitive data types such as int, double or default String. It's a utility class to parse data using regular expressions by generating tokens. Java […]

Read more
Strategy Design Pattern in Java - Example Tutorial — step-by-step Programming tutorial on Progressive Robot

Strategy Design Pattern in Java – Example Tutorial

URL: https://www.progressiverobot.com/strategy-design-pattern-in-java-example-tutorial/ Strategy design pattern is one of the behavioral design pattern. Strategy pattern is used when we have multiple algorithm for a specific task and client decides the actual implementation to be used at runtime. Strategy Pattern ![strategy pattern, strategy design pattern](images/strategy-design-pattern-in-java-example-tutorial-section-1.png) Strategy pattern is also known as Policy Pattern. We define multiple algorithms […]

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
Chain of Responsibility Design Pattern in Java — step-by-step Programming tutorial on Progressive Robot

Chain of Responsibility Design Pattern in Java

Chain of responsibility design pattern is one of the behavioral design pattern. Chain of Responsibility Design Pattern ![Chain of Responsibility Design Pattern, Chain of Responsibility Pattern, Chain of Responsibility Pattern Java, Chain of Responsibility](images/chain-of-responsibility-design-pattern-in-java-section-1.png) Chain of responsibility pattern is used to achieve loose coupling in software design where a request from client is passed to […]

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

Factory Design Pattern in Java

Welcome to the Factory Design Pattern in Java tutorial. Factory Pattern is one of the Creational Design pattern and it's widely used in JDK as well as frameworks like Spring and Struts. Factory Design Pattern ![factory design pattern, factory design pattern in java, factory pattern, factory method pattern, factory pattern example](images/factory-design-pattern-in-java-section-1.png) The factory design pattern […]

Read more
How To Create a Minecraft Server on Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

How To Create a Minecraft Server on Ubuntu 18.04

Minecraft is a popular sandbox video game. As of late 2019, it was the second best-selling video game of all time. In this tutorial, you will create your own Minecraft server so that you and your friends can play together. Specifically, you will install the necessary software packages to run Minecraft, configure the server to run, and then deploy the game.

Read more
CHAT