Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our YouTube channel to start Rocking right now!
Gain access to the industrys' best FREE video guides including:
1. Core Java guides
2. Enterprise Java guides
3. JVM insights, configuration and troubleshooting guides
4. Java performance guides
5. Java Interview Questions
and many more ....

Java 16: Stream.mapMulti

Java 16 introduces a new Stream.mapMulti method which allows you to replace elements in a stream with multiple elements. The example below shows how you can use mapMulti to replace each string in a stream with its uppercased and lowercased versions: Stream.of("Twix", "Snickers", "Mars") .mapMulti((s, c) -> { c.accept(s.toUpperCase()); c.accept(s.toLowerCase()); }) .forEach(System.out::println); Output: TWIX twix SNICKERS snickers MARS mars The ...

Read More »

Cloud Build – CI/CD for a Java Project

In a previous blog post I went over the basics of what it takes to create a configuration for Cloud Build. This post will expand on it by creating a functional CI/CD pipeline for a java project using Cloud Build. Note that I am claiming the pipeline will be functional but far from optimal, a follow up post at some ...

Read More »

Using R2DBC with a Reactor Application

spring-interview-questions-answers

Since Reactor has taken over the Java world it was inevitable the a reactive sql library would be there.In this blog we shall use r2dbc with h2 and reactor. We shall start with the dependencies needed. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.2</version> </parent> <groupId>com.gkatzioura</groupId> <artifactId>r2dbc-reactor</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> ...

Read More »

Real World Use Cases of MongoDB and MySQL

Ever since the start of the digital revolution, we have witnessed the utmost requirement of storing data effectively and efficiently. Data is the lifeblood of business solutions and having an accurate database management system (DBMS) is a crucial tool for handling such large volumes of data.  Each database management system offers specific solutions as per business requirements, and decision-makers are ...

Read More »

The 2021 Ultimate AWS Certified Solutions Architect Associate Exam Prep Bundle

Move Into a Higher-Level IT Engineer or Entry-Level Architect Role with 74 Hours of Hands-On Content on AWS Cloud Essentials, Cloud Migration, Technologies, & Exam Prep Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 97% off on The 2021 Ultimate AWS Certified Solutions Architect Associate Exam Prep Bundle. ...

Read More »

Add Grpc to your Java Application

Grpc is a high performance, open source universal RPC framework.There are various benefits for using gRPC. It simplifies development by providing client/server codeIt supports multiple languages It all starts with defining a .proto file, .proto files reside on src/main/proto file. Be aware it is a good practise to keep proto files on a repo and have some schema versioning. This ...

Read More »

Cloud factory – Example factory deployment

In our  previous article from this series we shared a look at the logical common architectural elements found in a cloud factory solution. The process was laid out how we approached the use case and how portfolio solutions are the base for researching a generic architecture.  It continued by sketching the process of how we approached the use case by researching ...

Read More »

Avoid Gradle Duplication in Multi-Module Android

When you have an Android project with many modules, you may find a lot of the gradle configuration being duplicated (often by copy and paste) across the build.gradle files in the various modules. I’ve read various ways to try to avoid this on the internet, and came across this blog post recently. This post uses the name of the module ...

Read More »

How to close a React Native modal with a button

I’ve been working with React Native lately, and I’ve come across a few unimplemented features I needed to add to the basic components. One of those components is the React Native Modal component that is used to show a view above another one. It doesn’t promise more features than that, but it can be very useful to implement your own ...

Read More »