Home » Java » Enterprise Java (page 10)

Enterprise Java

Zero-Downtime Rolling Updates With Istio

java-interview-questions-answers

The first part of this article series explained how to achieve real zero-downtime updates in Kubernetes clusters. We specifically tackled request failures that arise when switching traffic from old to new instances. This article will show how to achieve the same goal using Istio clusters. Service mesh technology, such as Istio, is often used in combination with container orchestration. Istio ...

Read More »

Setup SSL in Jetty

java-interview-questions-answers

Have you faced issues when you have to quickly enable SSL and you got stuck with it :-( You are not alone, i will share my pain and some learning. I will share steps to enable SSL on jetty. Warning: Use below instruction only for dev setup and for production contact your security expert ! Install jetty on your server ...

Read More »

[FREE EBOOK] Complete Guide to Java APM Tools

Application Performance Management Tools – The Complete Guide Performance issues and slowdowns in production aren’t just an inconvenience, they’re a hazard to the health of your business. That’s why APM tools are more than a simple luxury. There are dozens of tools on the market, meaning you have plenty of options to choose from. But how can you be sure ...

Read More »

Moving Host Cobol Batches and Monolith Webapps to Cloud and Microservices

java-interview-questions-answers

Very interesting presentation in Amazon Event “From Mainframe to Microservices – Vanguard’s Move to the Cloud”. Following parts can be used as Migration Patterns: Different ways of how to move from Mainframe to Microservices: Re-host Reengineer Refactor Rewrite Batch job migration Data analytics enablement Data-driven augmentation Re-platform with Linux and Java Repurchase Retire Combination of all This presentation also shows the Cloud Data ...

Read More »

Validation in Java applications

I often have seen projects that didn’t have almost any conscious strategy for data validation. Their teams worked under the great pressure of deadlines, unclear requirements and just didn’t have enough time to make validation in a proper and consistent way. So data validation code could be found everywhere: in Javascript snippets, Java screen controllers, business logic beans, domain model ...

Read More »

@ParameterizedTest with null values in @CvsSource

Writing parameterized tests in JUnit 4 was pretty cumbersome. JUnit 5 introduced several useful improvements to the framework and running the same test with different arguments is much simpler than in the previous version. However, there is one small issue with passing null values in such arguments. In this post, I’m going to show you how to pass null in ...

Read More »

Build a Java REST API with Java EE and OIDC

java-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. Java EE allows you to build Java REST API s quickly and easily with JAX-RS and JPA. Java EE is an umbrella standards specification that describes a ...

Read More »

Apache Ignite made easy: first Java application

java-interview-questions-answers

In this article, we take a one step further and let you through the creation of the first Ignite application to write and read (put/get) from the distributed cache. As a first example, we leave it as simple as possible to show you how to write an application in Java for manipulating the data of the Apache Ignite cluster. The ...

Read More »

Starting Flows with trackBy

Still continuing my trend of looking at Corda Services, I have some more tips to help your CorDapp work smoothly. This time around, we will focus on using trackBy to initiate Flows from inside a Service and the discrete problem that can arise if you are not careful. This should be a relatively short post as I can lean upon ...

Read More »