Quantcast
Channel: Baeldung
Browsing all 4596 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Difference Between getText() and getAttribute() in Selenium WebDriver

1. Introduction In this article, we’ll look at ways to get the value of attributes of web elements on a web page using Selenium WebDriver with Java. We’ll also explore the differences between getText()...

View Article


Image may be NSFW.
Clik here to view.

How to Consume REST API in Quarkus

1. Introduction Microservices architecture has transformed how we design and build applications by breaking down monolithic systems into smaller, loosely coupled services. These services communicate...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 557

1. Spring and Java >> Structured logging in Spring Boot 3.4 [spring.io] Well-defined, often machine-readable logging formats in Spring Boot 3.4: supporting common structured formats as well as...

View Article

Image may be NSFW.
Clik here to view.

Migrate From Java EE to Jakarta EE

1. Overview In this tutorial, we’ll understand why Jakarta EE became the successor to Java EE and learn how to migrate to it. 2. The Genesis of Jakarta EE Java EE (Java Platform, Enterprise Edition) is...

View Article

Image may be NSFW.
Clik here to view.

AccessFlag for Modifiers in Java Reflection

1. Overview Reflection in Java is a powerful feature that allows us to manipulate different members, such as classes, interfaces, fields, and methods. Moreover, using reflection, we can instantiate...

View Article


Image may be NSFW.
Clik here to view.

How to Find the Odd and Even Numbers in an Array?

1. Overview In Java programming, one frequently encountered task is distinguishing between odd and even numbers within an array. Mastering this technique can enhance the ability to handle data...

View Article

Image may be NSFW.
Clik here to view.

Guide to @DynamicInsert in Spring Data JPA

1. Overview The @DynamicInsert annotation in Spring Data JPA optimizes insert operations by including only non-null fields in SQL statements. This process speeds up the resulting query, reducing...

View Article

Image may be NSFW.
Clik here to view.

Execute Synchronous Requests Using WebClient

1. Introduction In this tutorial, we’ll learn how to execute synchronous requests using the WebClient. While reactive programming continues to become more widespread, we’ll examine scenarios in which...

View Article


Image may be NSFW.
Clik here to view.

Deploying a Java App on Heroku

1. Overview In this tutorial, we’ll look at ways to deploy a simple Spring Boot Java app to the cloud using Heroku, a platform that simplifies app deployment, management, and scaling by handling...

View Article


Image may be NSFW.
Clik here to view.

Check if Two 2d Arrays Are Equal in Java

1. Introduction In this tutorial, we’ll explore how to check if two 2d arrays are equal in Java. First, we’re going to go over the problem and explore it to better understand it. This way, we’ll also...

View Article

Image may be NSFW.
Clik here to view.

Using @ClientBasicAuth in Quarkus REST Client

1. Overview Quarkus is a Java-based framework for building Jakarta EE and MicroProfile-based applications, mostly around REST services. To make accessing these easier, Quarkus provides a REST client...

View Article

Image may be NSFW.
Clik here to view.

Difference Between CAST and TREAT in JPA

1. Introduction In JPA, CAST and TREAT are two distinct keywords used to manipulate data types and entity relationships. In this tutorial, we’ll explore the differences between CAST and TREAT and look...

View Article

Image may be NSFW.
Clik here to view.

Checking if an Element Exists With Selenium Webdriver

1. Overview In this tutorial, we’ll learn how to check if an element exists using Selenium WebDriver. For most checks, it’s better to use explicit waits to ensure that elements are present or visible...

View Article


Image may be NSFW.
Clik here to view.

Using findValue() to Get the Value for a Nested Key in Jackson

1. Overview Working with JSON in Java often requires accessing nested keys. Jackson, a popular JSON processing library, provides a convenient way to achieve this using the findValue() method. In this...

View Article

Image may be NSFW.
Clik here to view.

Rapid Web Application Development With Spring Boot and Jmix

1. Introduction In this tutorial, we’ll learn how to use the Jmix Studio and Jmix Framework for IntelliJ IDEA. We’ll build a full-stack MVP for a Spring Boot application that tracks employee expenses....

View Article


Image may be NSFW.
Clik here to view.

Understanding switchIfEmpty() in Spring Reactive

1. Overview In this article, we’ll focus on understanding the switchIfEmpty() operator in Spring Reactive and its behavior with and without the defer() operator. We’ll explore how these operators...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 558

1. Spring and Java >> How to profile a performance issue using Spring Boot profiling tools [foojay.io] Key scenarios where Spring Boot profiling tools are essential, and also an overview of...

View Article


Image may be NSFW.
Clik here to view.

Map Iterable to Object Containing Iterable With Mapstruct

1. Introduction In this tutorial, we’ll explore an interesting Java problem: mapping an Iterable to an object containing an Iterable using MapStruct. MapStruct is a Java library that simplifies the...

View Article

Image may be NSFW.
Clik here to view.

Add RGB Values Into setColor() in Java

1. Overview Manipulating colors is fundamental to graphical programming, especially when designing user interfaces or graphical applications. The setColor() method, provided by Java’s Graphics class,...

View Article

Image may be NSFW.
Clik here to view.

Guide to Micronaut Environments

1. Overview In Micronaut, similar to other Java frameworks, the Environment interface is an abstraction related to profiles. Profiles are a concept that we can think of as containers, that hold...

View Article
Browsing all 4596 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>