Home » Java (page 2)

Java

Secure Service-to-Service Spring Microservices with HTTPS and OAuth 2.0

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Building a microservices architecture is possible with minimal code if you use Spring Boot, Spring Cloud, and Spring Cloud Config. Package everything up in Docker containers and ...

Read More »

Get rid of pom XML… almost

Introduction POM files are XML formatted files that declaratively describe the build structure of a Java project to be built using Maven. Maintaining the POM XML files of large Java projects is many times cumbersome. XML is verbose and also the structure of the POM requires the maintenance of redundant information. The naming of the artifacts many times is redundant ...

Read More »

Monitoring Open Liberty with Prometheus & Grafana

java-interview-questions-answers

I’ve recorded a video how to add monitoring to Open Liberty instances using Prometheus and Grafana, by simply configuring server features. Open Liberty can emit technical metrics of server internals if we simply add the monitoring feature (monitor-1.0). The metrics are exposed in the Prometheus format if we further use the MicroProfile Metrics feature (mpMetrics-1.1). In the video I’ll show ...

Read More »

Insert content with Apache POI

Intro Everybody knows POI! It is the best library available to create Excel documents in Java. it is really good and can do a lot of things easily. But recently I wanted to do something not so simple. I wanted to use an existing xlsx file as a template and insert some data into it at some position. In this ...

Read More »

Science Fiction User Interfaces with JavaFX Part 1

Sci-Fi UI Shaped Window created using JavaFX Can Fictional UIs become a Reality? Growing up as an 80’s kid I’ve seen my share of science fiction movies that really inspired me to become quite fond of graphical user interfaces (GUIs) especially the idea of trying to make science fiction UIs possible in the real world. In this and a series ...

Read More »

Serverless API with Azure Functions

java-interview-questions-answers

In this post I am going to work on a pretty simple use case. While executing a deployment pipeline FlexDeploy may produce some human tasks that should be either approved or rejected. For example, someone has to approve a deployment to the production environment. It can be done either in FlexDeploy UI or with some external communication channels. Today I ...

Read More »

Applying Bulkheads And Backpressure using MicroProfile

java-interview-questions-answers

I’ve recorded a video how to implement the bulkheads and backpressure using MicroProfile Fault Tolerance. The idea behind bulkheads is to split applications into several execution units that isolate functionality. In enterprise Java applications this typically means to define multiple thread pools. Applying backpressure to clients results in either adding information about the current pressure on the system to the ...

Read More »

Guidance for Building a Control Plane for Envoy Part 3 – Domain Specific Configuration API

java-interview-questions-answers

This is part 3 of a series that explores building a control plane for Envoy Proxy. In this blog series, we’ll take a look at the following areas: Adopting a mechanism to dynamically update Envoy’s routing, service discovery, and other configurationIdentifying what components make up your control plane, including backing stores, service discovery APIs, security components, et. al.Establishing any domain-specific ...

Read More »