Quantcast
Channel: Java Archives - Java Code Geeks
Browsing all 743 articles
Browse latest View live

Understanding Ramp-up Setting in JMeter

1. Introduction Apache JMeter is an open-source software designed for performance testing and load testing of applications. The load testing is completed by simulating virtual users via threads,...

View Article


5 Common Mistakes in Java Streams and How to Avoid Them

Java Streams, introduced in Java 8, revolutionized how developers work with collections and functional-style operations. However, streams can lead to subtle bugs or performance pitfalls if not used...

View Article


Store Arrays & Collections In JSON & XML In Hibernate

Hibernate is a powerful and flexible ORM (Object-Relational Mapping) framework that simplifies the interaction between Java applications and relational databases. It automates mapping Java objects to...

View Article

Introduction to Apache Commons Validator

Validation is a crucial part of application development, ensuring that user inputs meet expected formats and constraints. Apache Commons Validator is a library that simplifies this process by providing...

View Article

Reactive Programming in Java: Project Reactor vs. RxJava

Reactive programming has become a cornerstone of modern Java applications, especially in scenarios involving asynchronous data streams, high concurrency, and responsive user interfaces. Two leading...

View Article


Java Virtual Threads vs. Traditional Threads: Unlocking Performance with...

With the introduction of Virtual Threads in Java 19 under Project Loom, Java developers now have a powerful tool for handling concurrent programming more efficiently. This article dives into the...

View Article

Securely Connect to a Remote MySQL Database Over SSH in Java

In this article, the process of establishing a Java SSH remote MySQL DB connection is explored. This approach enables Java applications to securely connect to a remote MySQL database by tunneling...

View Article

A Practical Guide to Using GraalVM to Improve Java Application Performance

As Java applications grow in complexity, achieving optimal performance becomes a critical challenge. GraalVM, a high-performance runtime for Java and other JVM-based languages, offers powerful tools to...

View Article


Introduction to Apache Iceberg

In the ever-evolving world of big data, managing large-scale datasets efficiently has become a significant challenge for data engineers and analysts. Traditional table formats, such as Hive, often...

View Article


Exploring Jakarta Persistence 3.2

Jakarta Persistence (formerly JPA) is a key part of the Jakarta EE ecosystem, enabling developers to seamlessly map Java objects to relational database tables. Jakarta Persistence 3.2 introduces...

View Article

OpenAPI 2 to OpenAPI 3 Upgrade In Java

OpenAPI, formerly known as Swagger, is a widely used specification for defining APIs. Converting an OpenAPI 2.0 (Swagger 2.0) specification to OpenAPI 3.0 is essential for leveraging the new features...

View Article

Efficient JSON Parsing in Java: Jackson vs. Gson vs. JSON-B

Efficient JSON parsing is crucial for Java applications that handle data interchange. Three prominent libraries—Jackson, Gson, and JSON-B—offer robust solutions for this purpose. This article compares...

View Article

Reactive Programming with Project Reactor and Spring WebFlux

Reactive programming has transformed the way modern applications handle scalability, concurrency, and responsiveness. With its non-blocking, event-driven approach, reactive programming is a powerful...

View Article


Guide to Prometheus Java Client

Prometheus is an open-source monitoring solution designed for reliability and scalability. Let us delve into understanding the Java Prometheus client and how it can be used to expose and manage metrics...

View Article

Getting Started with the Java S3Proxy Library

S3Proxy is an open-source and highly customizable proxy server that enables developers to emulate Amazon S3 storage locally. It provides an S3-compatible API that allows us to test and develop...

View Article


Validate Objects In Yavi

Validation is a critical part of software development to ensure data integrity and correctness. Yavi (Yet Another Validator for Java) is a lightweight and powerful library for data validation in Java....

View Article

Remove Non-alphabetic Characters From String Array Example

1. Introduction Removing non-alphabetic characters from a string is useful for an application that includes text search, match, and analysis. In this example, I will show four ways to remove...

View Article


jOOQ: SQL Made More Functional in Java

When working with databases in Java, developers typically use JDBC or ORM frameworks like Hibernate to interact with SQL databases. However, these approaches often fall short when it comes to...

View Article

Handle the Blocking Method in Non-blocking Context Warning

With the rise of reactive programming, frameworks like Spring WebFlux provide non-blocking and asynchronous solutions for handling web requests. However, using blocking methods (such as database...

View Article

FastClasspathScanner: Supercharging Classpath Scanning in Java

In large Java applications, classpath scanning is an essential operation, especially for frameworks or tools that rely on reflection-based operations, such as dependency injection or plugin loading....

View Article
Browsing all 743 articles
Browse latest View live