Analyzing Java memory usage in a Docker container

A few weeks ago I faced an interesting problem trying to analyze a memory consumption in my Java application (Spring Boot + Infinispan) running under Docker. The Xmx parameter was set to 256m, but the Docker monitoring tool displayed almost two…


Java Double Class

Java.lang package provides a Double class which wraps a value of the primitive type double in an object. An object of type Double contains a single field whose type is double. (more…)

Read more »

Hour of Code: Build Your Robot World in Java

Learn the basics of coding while driving a simulated robot through a maze. By the end of this tutorial, you'll be able to use variables, use Java commands called methods, generate random numbers, and use coding constructs, loops, to instruct the computer ...

Read more »