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

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 252

Here we go… 1. Spring and Java >> 5 Things Beginners Need to Know Before Using JPA / Hibernate / EclipseLink [thoughts-on-java.org] A good primer for developers who are thinking about...

View Article


Image may be NSFW.
Clik here to view.

Reading a CSV File into an Array

1. Overview Simply put, a CSV (Comma Separated Values) file contains organized information separated by a comma delimiter. In this tutorial, we’ll look into different ways to read a CSV file into an...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Scala

1. Introduction In this tutorial, we are going to look at Scala – one of the primary languages that run on the Java Virtual Machine. We’ll begin with the core language features such as values,...

View Article

Image may be NSFW.
Clik here to view.

Initializing Arrays in Kotlin

1. Overview In this quick tutorial, we’ll look at how we can initialize an array in Kotlin. 2. arrayOf Library Method Kotlin has a built-in arrayOf method which converts the provided enumerated values...

View Article

Image may be NSFW.
Clik here to view.

Get a Value by Key in a JSONArray

1. Overview JSON is a light-weight and language independent data-interchange format used for most client-server communications. JSONObject and JSONArray are the two common classes usually available in...

View Article


Image may be NSFW.
Clik here to view.

Mapping of Data Objects in Kotlin

1. Intro When working with a legacy code base, using an external library or integrating against a framework, we regularly have use cases where we want to map between different objects or data...

View Article

Image may be NSFW.
Clik here to view.

Dependency Injection for Kotlin with Injekt

1. Introduction Dependency Injection is a software development pattern where we separate object creation from the objects that are being created. We can use this to keep our main application code as...

View Article

Image may be NSFW.
Clik here to view.

Microservices with Oracle Helidon

1. Overview Helidon is the new Java microservice framework that has been open sourced recently by Oracle. It was used internally in Oracle projects under the name J4C (Java for Cloud). In this...

View Article


Image may be NSFW.
Clik here to view.

Guide to Sorting in Kotlin

1. Overview Kotlin builds on top of the Java Collection framework using extension methods. This dramatically improves usability and readability without the need of third-party dependencies such as...

View Article


Image may be NSFW.
Clik here to view.

Arrays in Java: A Reference Guide

1. Introduction In this tutorial, we’ll deep dive into a core concept in the Java language – arrays. We’ll first see what’s an array, then how to use them; overall, we’ll cover how to: Get started...

View Article

Image may be NSFW.
Clik here to view.

Lombok Builder with Custom Setter

1. Introduction Project Lombok is a popular Java library to help reduce the amount of boilerplate code a developer needs to write. In this tutorial, we’ll take a look at how Lombok’s @Builder...

View Article

Image may be NSFW.
Clik here to view.

Merging java.util.Properties Objects

1. Introduction In this short tutorial, we’ll focus on how to merge two or more Java Properties objects into one. We’ll explore three solutions, firstly starting with an example using iteration. Next,...

View Article

Image may be NSFW.
Clik here to view.

Using indexOf to Find All Occurrences of a Word in a String

1. Overview The chore of searching for a pattern of characters, or a word, in a larger text string is done in various fields. In bioinformatics, for example, we may need to find a DNA snippet in a...

View Article


Image may be NSFW.
Clik here to view.

Spring Boot CRUD Application with Thymeleaf

1. Overview The implementation of DAO layers that provide CRUD functionality on JPA entities can be a repetitive, time-consuming task that we want to avoid in most cases. Luckily, Spring Boot makes it...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 253

Here we go… 1. Spring and Java >> HTTP cache with Spring examples [dolszewski.com] A good write-up on optimizing applications via the HTTP response cache mechanism available for Spring...

View Article


Image may be NSFW.
Clik here to view.

A Guide to EnumMap

1. Overview EnumMap is a Map implementation that exclusively takes Enum as its keys. In this tutorial, we’ll discuss its properties, common use cases and when we should use it. 2. Project Setup...

View Article

Image may be NSFW.
Clik here to view.

Hibernate Field Naming with Spring Boot

1. Introduction In this brief tutorial, we’ll see how to use the Hibernate naming strategies in a Spring Boot application. 2. Maven Dependencies If we begin with a Maven-based Spring Boot application,...

View Article


Image may be NSFW.
Clik here to view.

Understanding Memory Leaks in Java

1. Introduction One of the core benefits of Java is the automated memory management with the help of the built-in Garbage Collector (or GC for short). The GC implicitly takes care of allocating and...

View Article

Image may be NSFW.
Clik here to view.

Rate Limiting in Spring Cloud Netflix Zuul

1. Introduction Spring Cloud Netflix Zuul is an open source gateway that wraps Netflix Zuul. It adds some specific features for Spring Boot applications. Unfortunately, rate limiting is not provided...

View Article

Image may be NSFW.
Clik here to view.

Convert Between java.time.Instant and java.sql.Timestamp

1. Overview Both java.time.Instant and java.sql.Timestamp classes represent a point on the timeline in UTC. In other words, they represent the number of nanoseconds since the Java epoch. In this quick...

View Article
Browsing all 4535 articles
Browse latest View live


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