Home » Java » Enterprise Java (page 20)

Enterprise Java

Expanding Your Tech Stack with AWS Lambdas

java-interview-questions-answers

Let’s face it. Debugging performance issues is hard, but fixing them is even harder. Let’s say you’ve found the offending code that’s slowing your app down. Eventually there comes a time when you find out that this speed bump of code is synchronous — or linearly executing. One of the most effective ways to remedy these problematic sections of code ...

Read More »

Java EE MVC: Handling form validation

java-interview-questions-answers

In this post we will have a look on form validation in Java EE MVC. Java EE MVC integrates with the Java Bean Validation API (JSR 303) which makes adding validation constraints pretty easy. Validation using the JAX-RS way Assume we have a small html form that can be used to send contact messages. To represent the form data we ...

Read More »

Spring Apache Kafka Tutorial

java-interview-questions-answers

In this Spring Apache Kafka lesson, we will learn how we can get started with Apache Kafka in a Spring Boot project and start producing and consuming messages on the topic of our choice. Apart from a simple project, we will deep dive into Kafka terminologies and how the concept of partitioning works in Kafka. Let’s get started. 1. Introduction With ...

Read More »

Oracle ADF and Oracle Jet work together. Architecture patterns

java-interview-questions-answers

In this post I am going to consider various architecture patterns of implementing an application on top of combination of Oracle ADF and Oracle Jet.  An organization practicing ADF may think on incorporating Oracle Jet for existing projects to refresh look&feel and make it modern and responsive and to implement new features in a new way. It may think on ...

Read More »

Custom Logs in Apache Spark

Have you ever felt the frustration of Spark job that runs for hours and it fails due to infra issue. You know about this failure very late and waste couple of hours on it and it hurts more when Spark UI logs are also not available for postmortem. You are not alone! In this post i will go over how ...

Read More »

A first look at Redis Streams and how to use them with Java

Redis Streams have made it into Redis’ unstable branch since the beginning of this year, and the first clients start with the adoption of Redis Streams APIs. That makes it an excellent time to take a look what Redis Streams provide and how you can use them from a client perspective. Disclaimer: Redis Streams are available as a first draft ...

Read More »

Apache Derby Database Users and Permissions

Abstract Apache Derby is awesome! Especially in a Microservices environment where the data for services (may) shrink and not require a heartier RDBMS. Derby is awesome because it’s so easy to use, especially when it come to users and permissions – you don’t need any! But, it may be the case you want to create an application-level user with limited ...

Read More »

TestContainers and Spring Boot

spring-interview-questions-answers

TestContainers is just awesome! It provides a very convenient way to start up and CLEANLY tear down docker containers in JUnit tests. This feature is very useful for integration testing of applications against real databases and any other resource for which a docker image is available. My objective is to demonstrate a sample test for a JPA based Spring Boot ...

Read More »

Secure a Spring Microservices Architecture with Spring Security 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. Every developer wants to build faster and more efficiently, to support scale. Building a microservices architecture with Spring can add resilience and elasticity to your architecture that ...

Read More »