Home » Java (page 4)

Java

Extending and Overriding Flows from external CorDapps

Corda 4 was released last week (21st Feb) bringing with it a ton of new features to make Corda more enjoyable to work with. To be honest, I am kind of assuming there are a lot of new features. I had a quick browse through the changelog, mainly to see my contributions being referenced, but I remember seeing a lot ...

Read More »

Beginners Guide: How to Configure an Email Service Task for Red Hat Process Automation Manager

Recently I’ve been updating my free online workshops, specifically the series based on JBoss BPM Suite so that you can get started with the newerRed Hat Process Automation Manager. In this article I’m sharing something that I’ve stumbled on while trying to use email notifications in my automation project. I discovered while updating this project that the email service task, ...

Read More »

Thread Local Allocation Buffers

Recently, I’ve been working on a Java application that suffered some serious performance issues. Among many problems, the one which really got my attention was a relatively slow allocation rate of new objects (the application was allocating a massive amount of rather large objects). As it later turned out, the reason was that a significant amount of allocations was happening ...

Read More »

Build a Reactive App with Spring Boot and MongoDB

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. Reactive apps allow you to scale better if you’re dealing with lots of streaming data. They’re non-blocking and tend to be more efficient because they’re not tying ...

Read More »

Centralized Authorization with OAuth2 & JWT using Spring Boot 2

spring-interview-questions-answers

This guide walks through the process to create a centralized authentication and authorization server with Spring Boot 2, a demo resource server will also be provided. If you’re not familiar with OAuth2 I recommend this read. Pre-req JDK 1.8Text editor or your favorite IDEMaven 3.0+ Implementation Overview For this project we’ll be using Spring Security 5 through Spring Boot. If you’re familiar with ...

Read More »

Password Encoder Migration with Spring Security 5

spring-interview-questions-answers

Recently I was working in a project that used a custom PasswordEncoder and there was a requirement to migrate it to bcrypt. The current passwords are stored as hash which means it’s not possible to revert it to the original String – at least not in an easy way. The challenge here was how to support both implementations, the old ...

Read More »

Java is The Stepping Stone of Development. Learn it!

Java is one of the most used programming languages around the world. Though there are a large number of other programming languages as well, but there’s nothing that can beat Java. Java is one of those superb languages which is used to develop mobile apps, games, web apps, desktop apps and plenty of other exciting things. Also, it is proven ...

Read More »