Home » Java » Page 3

Java

HANDLING CONFIGURATIONS IN SPRING BOOT

java-interview-questions-answers

I am currently getting back to coding in Java + Spring after about 8 years. In the last 8 years, the time I spent on coding has gone significantly as I am now into leadership roles that take me away from writing code. Having said that, I need to understand some level of coding, especially in the Java world, as ...

Read More »

Docker Compose Java Healthcheck

Docker compose is often used to run locally a development stack. Even if I would recommend to use minikube/microk8s/…​ + Yupiik Bundlebee, it is a valid option to get started quickly. One trick is to handle dependencies between services. A compose descriptor often looks like: docker-compose.yaml version: "3.9" (1) services: (2) postgres: (3) image: postgres:14.2-alpine restart: always ports: - "5432:5432" ...

Read More »

The Premium Java Programming Certification Bundle

Master The Ins & Outs of Java Programming Then Learn Useful Software Principles, Ace Interviews, and Become an Industry-Ready Programmer Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 98% off on The Premium Java Programming Certification Bundle. Get it now with only $29,99 instead of the original price ...

Read More »

Java UUID generation – Performance impact

Java developers tend to use ‘java.util.UUID#randomUUID()’ API, to generate a UUID (Universally Unique Identifier) number (i.e., ‘b8bbcbed-ca07-490c-8711-5118ee0af2f9’). Under certain circumstances, using this API can affect your application’s availability. Let’s discuss this API in this post with a real-world example. How does  ‘java.util.UUID#randomUUID()’ API works? java.util.UUID#randomUUID() API internally uses ‘entropy‘ in the operating system to generate a unique number. What does ‘entropy’ mean? ...

Read More »

Quality Management – Whose Responsibility is it Anyway?

In 1924, W. A. Shewhart of Bell Telephone Laboratories developed a statistical chart to control product variables. This chart is the beginning of statistical quality control as we know it. After the second world war, engineers W. Edwards Deming and Joseph M. Juran, who worked as consultants in the Japanese manufacturing industry, created the concept of Total Quality, in which ...

Read More »

The Complete 2022 Java Coder Bundle

Enter the World of Coding & Programming with 60+ Hours of Content on Java, Oracle, Apache Maven, and More! Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 97% off on The Complete 2022 Java Coder Bundle. Get it now with only $39,99 instead of the original price of ...

Read More »

Using Byte Buddy for proxy creation

With the increasing adoption of Java 17 and its strict encapsulation, several unmaintained libraries that rely on internal JVM APIs have stopped working. One of these libraries is cglib, the code generation library, which allows to create and load proxy classes during the runtime of a JVM process. And while there are alternatives to cglib that support Java 17, migration ...

Read More »

Nobody Expects the SpotBugs Inquisition

We recently upgraded to the latest version of SpotBugs, which is the successor to FindBugs. Its role is to identify risky areas of code and flag them up. We also use Sonar, which recently stopped a build because of a bug which had escaped the unit tests, but would have hurt in production. Similarly, I’ve had runtime areas predicted successfully ...

Read More »

The Main Differences Between Java (Latest) and Before

Good morning, and welcome to my talk about the new features in the latest version of Java/<insert your language here>. You’re going to notice many new things: We now support something unimportant in strings, like emojisWe’ve rewritten an API you don’t useWe’ve added some optional language features you may one day find usefulWe’ve deprecated something you were kind of dependent ...

Read More »