The content describes a common issue in a Java development environment, particularly when using IntelliJ IDEA and Gradle. This occurs when there is a mismatch between the Java version set in IntelliJ and in the Gradle build configuration, often when switching JDK versions. To resolve the issue, the author provides a step-by-step guide to correctly... Continue reading →
The developer discusses building a GraphQL API against a Mongo database in Java with a Spring stack. Starting with a prerequisite setup in Java 17 and Spring 3, they create a basic “Hello World” app for initialization. The API functionality is expanded by adding configurations for error handling and testing. The process includes adding application... Continue reading →
The text presents a detailed comparison between 3 popular Java libraries for accessing MongoDB: MongoDB Java Driver, Morphia, and Spring Data MongoDB, offering insights into their usability and relevance. The MongoDB Java Driver provides direct access to MongoDB for native-like interaction. Morphia is an Object-Document Mapper designed for easy code readability and maintenance. For Spring... Continue reading →
I recently aimed to create a GraphQL API for a Mongo database, allowing users to query and modify collections, documents, and fields. Before starting, I needed an environment to simulate this process. This article discusses creating a test bed for this purpose. Continue reading →
A common practice in any coding is to get a time stamp for the start and stop of a process, and probably calc the elapsed time since it started (ya know, because that means we don’t have to mentally calc it ourselves the zillion times the code will run!). The following is usually an example... Continue reading →