Java

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
Mockito Mock Void Method — step-by-step Programming tutorial on Progressive Robot

Mockito Mock Void Method

URL: https://www.progressiverobot.com/mockito-mock-void-method/ Most of the times Mockito when() method is good enough to mock an object's behavior. But when we have to mock a void method, we can't use when(). Mockito Mock Void Method Mockito provides following methods that can be used to mock void methods. doAnswer(): We can use this to perform some operations […]

Read more
Regular Expression in Java - Java Regex Example — step-by-step Programming tutorial on Progressive Robot

Regular Expression in Java – Java Regex Example

URL: https://www.progressiverobot.com/regular-expression-in-java-regex-example/ Welcome to Regular Expression in Java. It's also called Regex in Java. When I started programming, java regular expression was a nightmare for me. This tutorial is aimed to help you master Regular Expression in Java. I will also come back here to refresh my Java Regex learning. Regular Expression in Java ![Regular […]

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

Mediator Design Pattern in Java

URL: https://www.progressiverobot.com/mediator-design-pattern-java/ Mediator design pattern is one of the behavioral design pattern, so it deals with the behaviors of objects. Mediator design pattern is used to provide a centralized communication medium between different objects in a system. Mediator Design Pattern ![mediator pattern, mediator design pattern, mediator pattern java](images/mediator-design-pattern-java-section-1.png) According to GoF, mediator pattern intent is: […]

Read more
How To Install Apache Tomcat 9 on Debian 9 — step-by-step Linux tutorial on Progressive Robot

How To Install Apache Tomcat 9 on Debian 9

Apache Tomcat is a web server and servlet container that is used to serve Java applications. Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies, released by the Apache Software Foundation. This tutorial covers the basic installation and some configuration of the latest release of Tomcat 9 on your Debian 9 server.

Read more
Mockito Argument Matchers - any(), eq() — step-by-step Programming tutorial on Progressive Robot

Mockito Argument Matchers – any(), eq()

URL: https://www.progressiverobot.com/mockito-argument-matchers-any-eq/ Mockito allows us to create mock objects and stub the behavior for our test cases. We usually mock the behavior using when() and thenReturn() on the mock object. Mockito Argument Matchers – any() Sometimes we want to mock the behavior for any argument of the given type, in that case, we can use […]

Read more
CHAT