Learn which ports are opened by JMX on startup
Search Results for: Linux
Debugging WebSockets
Learn to debug WebSockets using browsers and other popular tools
Java Weekly, Issue 413
Java bridger, GC improvements in Java, Kotlin 1.6, native images, hashing in Java, full-stack Spring Boot, and K8S operators!
Java Weekly, Issue 412
Large objects and GC in Java 18, new API in project loom, native images for Spring Boot, AWS MemoryDB, and building an startup!
Solving Certificate Store Errors in JVM
In this tutorial, we’ll take a look at common issues we might encounter when issuing SSL requests.
Spring Boot Startup Actuator Endpoint
Spring Boot Actuator can help us understand where time is spent during application start up. We look at how to install it and use it to diagnose delays in initializing our Spring Boot application.
Securing SOAP Web Services With Keycloak
In this tutorial, we’ll learn how to leverage Keycloak to authenticate and authorize SOAP web services using OIDC
Getting Started With Apache Derby
A quick guide to the Apache Derby open-source relational database engine, this article discusses all the major aspects from installing and configuring it to working with its various tools. It also shows how we can connect to it programmatically using plain JDBC and in a Spring Boot application.
Environment Variable Prefixes in Spring Boot 2.5
Learn how to use a prefix for environment variables with Spring Boot.
Spring Boot vs Quarkus
A practical comparison between Spring Boot and Quarkus, with a focus on performance.
Generate a Java Class From JSON
Learn how to create a Java class from a JSON object using the jsonschema2pojo library
Deploying a Java War in a Docker Container
Learn how to deploy a Java WAR file in a Docker container using the official Tomcat Docker image
Trusting a Self-Signed Certificate in OkHttp
Learn how to configure an OkHttpClient to trust self-signed certificates
Writing Log Data to Syslog Using Log4j2
Learn to write log data to Syslog using Log4j2 and Spring Boot.
Find the GC Algorithm Used by a JVM Instance
Learn different approaches to find the GC algorithm used by a particular JVM instance
Start Two Threads at the Exact Same Time in Java
Learn two approaches to start two threads simultaneously: using CountDownLatch and CyclicBarrier
Collection.toArray(new T[0]) or .toArray(new T[size])
A quick and practical comparison of various toArray methods and which one to use.
How to Get the Number of Threads in a Java Process
Learn how to check the number of threads created by a Java process.
Guide to the ModelAssert Library for JSON
Learn how to write assertions and comparisons between JSON values using ModelAssert
Maximum Size of Java Arrays
Learn about the maximum size of Java arrays.