Article to describe the behavior of the official Apache Camel Cassandra Kubernetes example highlighting the power of Eclipse JKubeApache Camel used on a Kubernetes Cassandra cluster2020-08-07 in Java tagged Apache / Camel / Cassandra / Eclipse / Eclipse JKube / Kubernetes by Marc Nuri
Blog post, showing how to create a simple web scraper using Picocli and Quarkus to build a native binary that will scrape dependents for any GitHub projectBuilding a GitHub Dependents Scraper with Quarkus and Picocli2020-07-31 in Java tagged Client / GitHub / Java / Eclipse JKube / Picocli / Quarkus by Marc Nuri
Tutorial explaining how to access the Kubernetes cluster REST API from inside a Pod using YAKC (Yet Another Kubernetes Client), Eclipse JKube, and Spring Boot.Access the Kubernetes API from a Pod in Java2020-06-06 in Java tagged Client / Cloud / Java / Eclipse JKube / Kubernetes / OpenShift / YAKC by Marc Nuri
Introducing YAKC (Yet Another Kubernetes Client), a declarative Java REST client for Kubernetes API. Some examples and code snippets to get started.Kubernetes Client for Java: Introducing YAKC2020-05-02 in Java tagged Client / Cloud / Fabric8 / Java / Kubernetes / OpenShift / YAKC by Marc Nuri
How to develop and integrate a very simple Quarkus application with Fabric8 Maven Plugin in order to publish a native GraalVM image into Docker Hub.Quarkus + Fabric8 Maven Plugin + GraalVM integration2019-10-27 in Java / Legacy tagged Docker / Fabric8 / GitHub Actions / GraalVM / Java / Maven / Native / Quarkus by Marc Nuri
Introduction to Spring MVC testing framework, highlighting the advantages of using MockMvc instead of regular unit tests. The post shows three ways of setting up MockMvc and how using standaloneSetup has the advantages of unit and integration testing.MockMvc – Spring MVC testing framework introduction: Testing Spring endpoints2018-06-02 in Java tagged Agile / Automation / JUnit / Mockito / MockMVC / REST / Spring Framework / Spring Boot / Testing by Marc Nuri
How to configure the Spring Boot HTTP application server port using the `server.port` property.'Spring Boot: How to change the application port?2018-05-12 in Java tagged Java / Spring Framework / Spring Boot / Quickie by Marc Nuri
This post shows how to solve the scoped bean injection problems that arises when injecting a Prototype scoped Bean into a Singleton scoped Bean. It shows the different approaches to solve the problem and the advantages and disadvantages for each of them.Spring Bean Scopes: Singleton with Prototypes2018-05-11 in Java tagged Bean / Java / Scopes / SOLID / Spring Framework / Spring Boot / Testing by Marc Nuri
Blog post showing the different Scopes available in Spring Framework with code demonstrating the use of each of them. Tests included.Spring Bean Scopes: Guide to understand the different Bean scopes2018-04-30 in Java tagged Bean / Java / Scopes / Spring Framework / Spring Boot / Testing by Marc Nuri
Java 10 was released the past 20th of March following the new tight six-month release schedule. This version comes just after the Java 9 release on September 2017 and marks this past release obsolete. This post shows some of the new features available in Java 10.Java 10: Testing the new release2018-03-31 in Java / Legacy tagged Java / Java 10 by Marc Nuri
This post shows how to use Java Streams introduced in Java 8 to obtain a Map from a List using the method Collectors.toMap.Java 8 Streams: Convert List into Map2018-03-30 in Java tagged Collector / Java / Java 8 / List / Map / Streams by Marc Nuri
In this post we'll see how to define custom spring-data repository methods and their implementation for a book repository in MongoDB and how to write unit tests to check this custom implementation.Spring Data MongoDB: Custom repository implementation2018-03-09 in Java tagged Java / MongoDB / Spring Framework / Spring Boot / Spring Data / Testing by Marc Nuri