Things I Learned Migrating My Personal APIs To Kubernetes (10 mins read).
What I learned while migrating from a number of Java applications on Virtual Private Servers (VPS) to a Kubernetes cluster.
Things I Learned Migrating My Personal APIs To Kubernetes (10 mins read).
What I learned while migrating from a number of Java applications on Virtual Private Servers (VPS) to a Kubernetes cluster.
Updating a Secret in Kubernetes with the Java Client (3 mins read).
How to use the Kubernetes Java SDK to patch a secret through Kubernetes' secrets API.
Lightweight and Powerful Dependency Injection for JVM-based Applications with Dagger (7 mins read).
How and why you should be using Dagger for your dependency injection.
Testing Data Serialisation/Deserialization in Java (with Jackson) (4 mins read).
How to validate your JSON types correctly serialise/deserialise.
Packaging Wiremock Extensions into the Standalone Server Runner (2 mins read).
How to use Gradle to package a standalone JAR for Wiremock, including any extensions needed.
Testing Java Callbacks with Mockito (1 mins read).
How to test invoking a real callback in a Java project, as a unit test.
Releasing a Java Library for Gherkin Formatting (4 mins read).
Announcing the release of a Java library that can pretty-format a Gherkin feature file.
Using Bill of Materials to Simplify Dependency Management (3 mins read).
Producing a Bill of Materials to simplify dependency management for Java projects.
Using Abstract Test Classes To Reduce Duplication in Java (4 mins read).
How to use Java's abstract classes to reduce duplication of code across unit tests with common functionality.
Testing that your Spring Boot Application Context is Correctly Configured (2 mins read).
How to improve the tests you've got to validate that Spring Boot's context is set up correctly.
Running Multiple JDK Versions with the Gradle Toolchains Configuration (2 mins read).
How to use the Gradle's toolchain
configuration to configure multiple JDKs on your machine.
Testing Data Serialisation/Deserialization using JsonTest
with Spring Boot (3 mins read).
How to use the @JsonTest
test type in Spring Boot to validate your JSON types correctly serialise/deserialise.
Migrating Your Spring Boot Application to use Structured Logging (6 mins read).
How to make your Spring Boot services more supportable by migrating to JSON-emitting structured logging.
Avoiding NoClassDefFoundError
errors when using slf4j-test with Logback and Maven (2 mins read).
How to exclude Logback from the classpath when testing your logs using slf4j-test and Maven.
I've seen it mentioned that twitter is full of JS devs and a smattering of other folks, but that Java is under-represented. I'd say that's true and I think I know why. Writing relatable Java content that fits in a tweet is hard 😂Laurie (@laurieontech)Wed, 19 May 2021 18:09 +0000
How to get a field with Reflection in Java (1 mins read).
How to use Java's Reflection to get access to a private of a class.
Server-less Wiremock, or Using Wiremock Without an HTTP Server (3 mins read).
How to match Wiremock's stubs without running an HTTP Server.
Adding API Versioning to your Environment-Agnostic Functional Acceptance Tests (6 mins read).
How to adapt the Proxy pattern to allow for testing against a versioned API.
Don't talk about Java if you do not know what you are talking about because I will gather you.
Sailor Ghoul 👻✨ (@javavvitch)Fri, 02 Apr 2021 20:27 +0000
Speeding Up Gradle Executions with Parallelisation (2 mins read).
How to make your Gradle builds faster, by taking advantage of parallelisation.
Testing Time with Java (4 mins read).
How to make your Java tests better when dealing with java.util.time
.
#JavaBruno Borges (@brunoborges)Fri, 19 Feb 2021 16:19 GMT
Executing javax.servlet.Filter
s in aws-serverless-java-container Jersey Apps (2 mins read).
How to add a javax.servlet.Filter
to a Jersey application, built using the AWS Serverless Container for Java.
Writing Environment-Agnostic Functional Acceptance Tests (7 mins read).
How to structure your (Java) functional acceptance tests to make it easier to add environment-specific configuration.
Releasing Two Lightweight Libraries for Server-Driven Content Negotiation (2 mins read).
Introducing two new Java libraries for performing server-driven content negotiation.
Inexactly Comparing MediaType
s with Spring (1 mins read).
How to compare Spring's MediaType
by ignoring charset or parameters.
Ever had #Java crash on you, and blamed the #JVM? Ever wondered what the hs_err file actually tells you? Find out in my new post: inside.java/2020/12/03/cra…Joakim Nordström (@jaokim2001)Thu, 03 Dec 2020 12:54 GMT
How to List Gradle's Buildscript / Plugin Dependencies (1 mins read).
How to list the dependencies that are used by Gradle's plugins as part of its buildscript.
Publishing + Consuming Artefacts in the Local Maven Repository with Gradle (1 mins read).
How to use Gradle to publish and consume artefacts build on your local machine.
Java is a great programming language and most of the people that think Java is bad are people who don’t know how to code in it. 🥰
Post details
Which tech opinion you got that results in this
Tomasz Łakomy (@tlakomy)Mon, 28 Sep 2020 06:32 +0000
Sailor Ghoul 👻✨ (@soandsos)Mon, 28 Sep 2020 14:34 +0000
Running Multiple JDK Versions with the Maven Toolchains Plugin (1 mins read).
How to use the maven-toolchains-plugin to configure multiple JDKs on your machine.
Generate Plain Old Java Objects (POJOs) from XML Schema Definitions with Maven (1 mins read).
How to generate POJOs really quickly and easily, with no manual work, using the Mojohaus jaxb2-maven-plugin.
Globally Disable TLS Checks with Java for HttpsURLConnection
(1 mins read).
How to disable TLS checks when using HttpsURLConnection
s in Java.
How to Manually Trigger JSR380 Bean Validation on a Class (2 mins read).
How to perform validation on a class using JSR380, when not using a framework like Spring Boot.
Configure Gradle to Allow Listing All Subproject Dependencies (1 mins read).
How to set Gradle configuration globally to add a task to list all your dependencies.
Configure Gradle to Configure Tasks Globally with an initscript (1 mins read).
How to use Gradle's initialization scripts to globally configure tasks across all of your projects.
Spring Boot: 'junit-vintage' failed to discover tests
When Using Only JUnit5 Tests (2 mins read).
How to avoid the error 'junit-vintage' failed to discover tests
when using Spring Boot.