OnlyJava is your source for Blog Aggregation in the Java industry

Authentication With Remote LDAP Server in Spring WebFlux

 Mark As Read    

In my previous article, we covered authentication and authorization with remote LDAP servers in Spring Web MVC. Since base concepts are the same, some sections are unavoidably the same in these two articles. In order to start from scratch, please refer to the previous article before reading this one. In this article, we will explain the concept for...

Less Code With Spring Data Rest

 Mark As Read    

We programmers are constantly solving various problems and always looking for a way to make life easier for others. On the other hand, we make life difficult for ourselves, because sometimes our code contains a lot of boilerplate code and modules that are not needed. For better understanding, consider a normal Spring Boot project that is only respo...

5 JavaScript Concepts Every Web Developer Should Learn

 Mark As Read    

Hello Devs, if you are wondering what to learn in JavaScript to take your skills to the next level then you have come to the right place. Earlier, I have shared the best JavaScript courses, websites, and books and In this article, I will share essential JavaScript features like arrow functions, let and const keywords, restructuring, spread operator...

JxBrowser and JavaFX WebView

 Mark As Read    

Both JxBrowser and JavaFX WebView allow you to bring web technologies in your cross-platform Java desktop application to get the best of both worlds: the ubiquity of the web platform and the power of the Java platform. What's the difference between JxBrowser and JavaFX WebView? In this article we will compare these solutions in terms of their archi...

Chain of Responsibility Design Pattern in Java [Video]

 Mark As Read    

In the video below, we take a closer look at the Chain of Responsibility design pattern in Java, including an introduction and real-time examples of its implementation. Let's get started!

Introduction to React: A Javascript Library

 Mark As Read    

The process of designing user interfaces in software or digital devices with an emphasis on appearance or style is known as user interface design. It was originally developed by a software engineer at Facebook in 2011 and later utilized by Instagram in 2012. For many reasons, it is one of the most used libraries in the world. Why do people choose R...

Top 6 Java Frameworks for Microservices and Cloud-Native Development

 Mark As Read    

Hello Java Programmers, if you are thinking about Microservice and Cloud-native development in Java and exploring options like which frameworks, libraries, and technologies can help you to create next-generation Java applications then you have come to the right place. Earlier, I have shared the best Microservice courses, and Microservice design pa...

Simplify Java persistence using Quarkus and Hibernate Reactive

 Mark As Read    

This tutorial shows how you can simplify reactive Java applications that persist data using the Hibernate ORM with Panache extension in Quarkus. Business applications preserve valuable business data in persistence stores such as relational databases. The application's presentation layer usually showcases the data for multiple uses, such as inventor...

Intercepting Filter Design Pattern in Java

 Mark As Read    

In the video below, we take a closer look at Intercepting Filter Design Pattern in Java. This tutorial contains an introduction, class diagram, implementation, and key points. Let's get started!

The Ultimate Guide on DB-Generated IDs in JPA Entities

 Mark As Read    

According to the JPA specification, Entity is a Java class that meets the following requirements: Annotated with @Entity annotation Has no-args constructor Is not final Has an ID field (or fields) annotated with @Id As you can see, ID is required. Why is that?

Microservices Annotator Plugin

 Mark As Read    

Writing microservices has never been easy and does not become easier with growing codebases. All the complexity strives from tons of interactions between the moving parts of your applications. And then we had this year's holidays and I had enough free time to think about it. Many complex measures can be used to make the code of microservices more r...

ServiceStarter Tutorial: Controlling Services

 Mark As Read    

This article is a tutorial for a new utility ServiceStarter. The purpose of ServiceStarter is to control the lifecycle of independent services, ensuring that services start and stop in the correct order and predictably degrade if a required service fails at runtime. This tutorial is based upon a notional order processing system connected to an exch...

Java: How Object Reuse Can Reduce Latency and Improve Performance

 Mark As Read    

While the use of objects in object-oriented languages such as Java provides an excellent way of abstracting away complexity, frequent object creation can come with downsides in terms of increased memory pressure and garbage collection which will have an adverse effect on applications latency and performance. Carefully reusing objects provide a way...

Reactor Design Pattern in Java

 Mark As Read    

In the video below, we take a closer look at the reactor design pattern in Java, with an introduction and an example of implementation. Let's get started!

How to Consume REST Web Service (GET/POST) in Java 11 or Above

 Mark As Read    

RESTful web services are the de-facto way of integrating first- and third-party services in web and mobile applications. When programming in Java, there are a plethora of options on how to consume REST APIs, however many of them are either out of fashion or too complicated. At my company, we provide developers Java SDK to build on top of our open p...

Domain Model Design Pattern in Java - An Introduction and Examples

 Mark As Read    

In the video below, we take a closer look at Domain Model Design Pattern in Java including an introduction and examples. Let's get started!

How To Detect and Secure Your Java App From Log4j Vulnerabilities

 Mark As Read    

Apache Log4j is the popular open source logging library for Java developers that was recently caught up in a massive security-related breach. Due to its popularity, a large number of organizations wer...

GroovyBlogs.org 808 days ago

How To Detect and Secure Your Java App From Log4j Vulnerabilities

 Mark As Read    

Apache Log4j is the popular open source logging library for Java developers that was recently caught up in a massive security-related breach. Due to its popularity, a large number of organizations were affected by the breach. For the latest news, refer to the official website about specific issues and patches. Here is an additional article that exp...

A Tentative Comparison of Fault Tolerance Libraries on the JVM

 Mark As Read    

If you're implementing microservices or not, the chances are that you're calling HTTP endpoints. With HTTP calls, a lot of things can go wrong. Experienced developers plan for this and design beyond just the happy path. In general, fault tolerance encompasses the following features: Retry Timeout Circuit Breaker Fallback Rate Limiter to avoid...

Using GraphQL Java With Spring

 Mark As Read    

GraphQL Java is one of the most popular GraphQL server-side implementations for Java that Ive found (with over 5k stars at the time of writing). If youre planning to expose a GraphQL API from a Java or JVM application, then this is an excellent library to start using. This blog post will cover how to use GraphQL Java within a Spring application tha...

Java 17 for the Impatient

 Mark As Read    

I have been working on Java 8 for a long time and, now, Java 17 has been released, so let's have a quick look at this article which focuses on the latest Java 17 LTS features. There are lots of features and improvements that have been introduced, however, in this article, we will focus on a limited set:

The Quickest Way to Create an Android QR Code Scanner

 Mark As Read    

A QR code scanner application primarily consists of two parts: camera preview and QR code scanning. There are many Android QR code scanner apps downloadable in the Google Play Store. However, it is more interesting to create a QR code scanner by yourself than to use an existing one. This article aims to reveal the quickest way to create an Android ...

Business Delegate Design Pattern in Java

 Mark As Read    

In the video below, we take a closer look at the Business Delegate Design Pattern in Java. This tutorial includes an introduction, a real-time example, implementation, and key points. Let's get started!

Signs and Portents for 2022

 Mark As Read    

In this post, Head of Learning at Instil Software, Garth Gilmour, will make predictions for the tech industry in 2022. Introduction Back in ye olden days (circa 2015), I first wrote a December article that made unreliable and vainglorious predictions about the future. What started as a yearly custom soon became an annual tradition. You might like t...

Protect Your Invariants!

 Mark As Read    

How do you handle constraints and validation inside your application? Most developers put this logic somewhere close to their application's boundary. Actually, this prevents them from having a rich domain model that could ensure consistency. Developers tend to get confused when they need to find a good place for their business logic. I suspect that...

Composite Design Pattern in Java

 Mark As Read    

In the video below, we take a closer look at the Composite Design Pattern in Java. This tutorial includes an introduction, class diagram, example, and key points. Let's get started!

Is Spring Boot Still State of the Art?

 Mark As Read    

In the following blog post, I want to take a closer look at the question of whether the application framework Spring Boot is still relevant in modern Java-based application development. I will take a critical look at its architectural concept and compare it against the Jakarta EE framework. I am aware of how provocative the question is and that it ...

Debugging RAM - Part 1: Java Garbage Collection - Java Heap Deep Dive

 Mark As Read    

There are many excellent articles on Java Garbage Collection, Java Memory usage, and generally Java heap. Unfortunately, they are all over the place. They mix architecture, concepts, and problem solving as separate pieces. A lot of the material is out of date or doesn't include pragmatic information for solving problems with the garbage collector. ...

Lazy Load Design Pattern in Java: An Introduction and Implementation

 Mark As Read    

In the video below, we take a closer look at Lazy Load Design Pattern in Java with an introduction and implementation. Let's get started!

JConf Peru 2021 Conference Report

 Mark As Read    

JConf Peru 2021 took place November 27th. This was the third time the event was held and due to the pandemic, the 2021 event was virtual and free. I am very proud to have participated as an invited speaker the JConf series is an admirable effort by the Spanish speaking Java community to hold world-class events. My friend and Peru JUG leader Jose D...

Distributing a Java Command-Line Application

 Mark As Read    

As a professional Java developer, I am comfortable with writing code in Java. Also, when I decided to write a command-line application, I asked myself if Java would be a good option in 2021 or if I should look more into alternative stacks like Rust. So lets take a closer look at the challenges one has to face to implement a command-line application...

Unit of Work Design Pattern: Introduction, and Implementation

 Mark As Read    

In the video tutorial below, we take a closer look at the Unit of Work Design Pattern in Java. This tutorial contains an introduction and implementation. Let's get started!

Filter or Criteria Design Pattern in Java: An Introduction, Example, and Key points

 Mark As Read    

In the video below, we take a closer look at Filter or Criteria Design Pattern in Java with an introduction, example, and key points. Let's get started!

Extracting Data From Very Large XML Files With X-definition

 Mark As Read    

X-definition is an open-source Java API that can be used to extract data from XML files regardless of their size. It will not compel the Java Virtual Machine to complain that it is out of heap memory, nor does it even require that your Java code step through the parts of your XML in the order of their occurrence until the location of the data you n...

Log4J Does What?

 Mark As Read    

You have probably heard of Log4Shell, the security vulnerability that has earned itself a NIST rank of 10: Source In this post, I will show a really basic example of how this vulnerability actually works. I will walk you through some simple usage of the Log4J library and then show how user inputs into this library can cause truly unexpect...

Context Object Design Pattern in Java: Introduction and Key Points

 Mark As Read    

In the video below, we take a closer look at the context object design pattern in Java with an introduction and key points to help your learning journey. Let's get started!

2021 - A Year in Review

 Mark As Read    

I didn't expect to travel much in 2021, mostly because of my promise to myself to take a year off. When I got fully-vaxxed in April, I expected things to return to normal and we'd all be traveling to conferences again by early fall. I'm happy to announce that I'm #FullyVaccinated. Had 2nd @pfizer shot on Apr 14. I feel lucky &#x...

Raible Designs 816 days ago

Iterator Design Pattern: Introduction, Example, and Key Points

 Mark As Read    

In the video below, we take a closer look at Iterator Design Pattern in Java. This tutorial includes an introduction, example, and key points. Let's get started!

Remote Debugging on the Last Day of - Day 10: Building DDTJ

 Mark As Read    

Read the previous parts here: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8 Day 9 Yesterday the DDT PoC started working, today is the last day of my two-week hack fest on DDTJ Here's where we stand.

The First Annual Recap From JPA Buddy

 Mark As Read    

2021 is almost over. This year JPA Buddy met its first user and grew up into one of the most rated plugins in the IntelliJ IDEA marketplace. In this article, we decided to share a short story behind JPA Buddy, its achievements in 2021, and plans for 2022. History Let us start with a few words about the history behind JPA Buddy. The idea of JPA Budd...

Java: Object Pool Design Pattern

 Mark As Read    

In this video tutorial, we take a closer look at Object Pool Design Pattern in Java. This tutorial includes an introduction, example, and key points. Let's get started!

First Mocked Unit Test Generated by DDTJ - Day 9: Building DDTJ

 Mark As Read    

Read the previous parts here: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8 Yesterday I ran into some snags, but I'm glad to report that this is all behind me. We finally have the first DDT-generated test in history!

The three strands of Information Technology

 Mark As Read    

How are IT departments structured? I've seen a variety of ways to do this. It depends on the individual business, but over the years I've come up with a way to think about this.When thinking about Information Technology (IT), it naturally splits into 3 separate strands:IT for the businessThis is the provision of facilities for HR, Finance, Sales, a...

Prototype Design pattern in Java: An Introduction, Class Diagram, Example, and Key points

 Mark As Read    

In the video below, we take a closer look at the Prototype Design pattern in Java including an introduction, class diagram, example, and key points. Let's get started!

Front Controller Design Pattern in Java: An Introduction, Example, and Key points

 Mark As Read    

In the video below, we take a closer look at Front Controller Design Pattern in Java - Introduction, Example, and Key Points. Let's get started!

Singleton Design Pattern: Introduction, Example, and Key Points

 Mark As Read    

In the video below, we take a closer look at the Singleton Design Pattern in Java. This tutorial will include an introduction, example, and key points to the Singleton Design Pattern. Let's get started!

Java: Creating Terabyte Sized Queues with Low-Latency

 Mark As Read    

Queues are often fundamental components in software design patterns. But, what if there are millions of messages received every second and multi-process consumer need to be able to read the complete ledger of all messages? Java can only hold so much information before the heap becomes a limiting factor with high-impacting garbage collections as a r...

Build Issues, Code Generation and Depth vs. Breadth-First - Day 8: Building DDTJ

 Mark As Read    

Read the previous parts here: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Yesterday I was making substantial progress, so naturally, I spent most of today with my figurative wheels spinning in the mud.

AWS Spring Boot Tutorial, Part 3: CodeDeploy, Blue/Green Deployment

 Mark As Read    

In this video tutorial, I will demonstrate the blue/green deployment of the Spring Boot REST API. I will show you the following steps in the demonstration: Create an IAM role Create an Application Load Balancer Create Security Group For ECS cluster Create an ECS cluster Create Task Definition Create ECS Service Create CodeDeploy Tha...

Observer Design Pattern in Java: Introduction, Example, and Key Points

 Mark As Read    

In the video below, we take a closer look at the Observer Design Pattern in Java. The tutorial will provide an introduction, example, and key points. Let's get started!

Java
Welcome!
OnlyJava aggregates blogs for the Java industry.
Custom Feeds
Add any RSS feed to the information you read daily.
Blocked Feeds
Block feeds to remove blogs you’re not interested in.
Account Settings
Customize the site by adding or removing feeds.

About Us

OnlyJava is your source for all your Java news.

Have a Suggestion for Us?
Know of a Java blog that we're missing? Let us know!

Share OnlyJava.com