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

Introduction to Selenium with JUnit / TestNG

I just released the Master Class of "Learn Spring Security": >> CHECK OUT THE COURSE 1. Introduction This article is a quick, practical introduction to working with Selenium and writing tests...

View Article


A Guide to OkHttp

I usually post about HTTP stuff on Twitter - you can follow me there: Follow @baeldung 1. Introduction In this article, we’ll show the basics of sending different types of HTTP requests, receiving and...

View Article


A Guide To NIO2 Asynchronous File Channel

The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview In this article, we are going to explore one of the key additional APIs of the new I/O (NIO2) in Java 7,...

View Article

Deleting Objects with Hibernate

I usually post about Persistence on Twitter - you can follow me there: Follow @baeldung 1. Overview As a full-featured ORM framework, Hibernate is responsible for lifecycle management of persistent...

View Article

Image may be NSFW.
Clik here to view.

Guide to AspectJ

1. Introduction This article is a quick and practical introduction to AspectJ.  First, we’ll show how to enable aspect-oriented programming, and then we’ll focus on the difference between...

View Article


Image may be NSFW.
Clik here to view.

Guide To Java 8 Optional

1. Overview In this article, we’re going to show the new Optional class that was introduced in Java 8. The purpose of the class is to provide a type-level solution for representing optional values...

View Article

Image may be NSFW.
Clik here to view.

Java Web Weekly, Issue 154

1. Spring and Java >> Feeding Spring Boot metrics to Elasticsearch [frankel.ch] After low level system data, the next family of metrics you want to start tracking and monitoring are JVM level...

View Article

Image may be NSFW.
Clik here to view.

Fat Jars for Thin Deployments with Spring Boot

1. Introduction One of the more heart-warming developments of recent years has been ongoing simplification of how web applications are deployed. Skipping all the boring intermediate historical steps,...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Spring Session

1. Overview Spring Session has the simple goal of free up session management from the limitations of the HTTP session stored in the server. The solution makes it easy to share session data between...

View Article


Image may be NSFW.
Clik here to view.

Java Class Structure and Initialization Interview Questions

1. Introduction Class structure and initialization are the basics that every Java programmer should be familiar with. This article provides answers to some of the interview questions on the topic that...

View Article

Image may be NSFW.
Clik here to view.

Introduction to HtmlUnit

1. Introduction In this article, we will introduce HtmlUnit, a tool that allows us to, simply put, interact with and test an HTML site programmatically, using JAVA APIs. 2. About HtmlUnit HtmlUnit is...

View Article

Image may be NSFW.
Clik here to view.

URL Encoding and Decoding in Java

1. Introduction Simply put, URL encoding translates special characters from the URL to a representation that adheres to the spec and can be correctly understood and interpreted. In this article, we’ll...

View Article

Image may be NSFW.
Clik here to view.

Join and Split Arrays and Collections in Java

1. Overview In this quick tutorial, we’ll learn how to join and to split Arrays and Collections in Java, making good use of the new stream support. 2. Join Two Arrays Let’s start by joining two Arrays...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Spring Integration

1. Introduction This article will introduce the core concepts of Spring Integration primarily through small, practical examples. Spring Integration provides a lot of powerful components that can...

View Article

Image may be NSFW.
Clik here to view.

Intro to the Spring ClassPathXmlApplicationContext

1. Overview The Spring Framework core is, simply put, an IoC container used to manage beans. There are two basic types of containers in Spring – the Bean Factory and the Application Context. The...

View Article


Image may be NSFW.
Clik here to view.

Spring Security – @PreFilter and @PostFilter

1. Overview In this article we’ll learn how to use the @PreFilter and @PostFilter annotations to secure operations in a Spring application. When used together with the authenticated principal...

View Article

Image may be NSFW.
Clik here to view.

Java Web Weekly, Issue 155

1. Spring and Java >> Latest Java 9 Schedule Appears to Be at Risk from the Outset [infoq.com] A quick but interesting analysis of the new Java 9 release schedule. >> Getting Started with...

View Article


Pattern Search with Grep in Java

1. Overview In this tutorial – we’ll learn how to search for a pattern in a given file/s – using Java and third party libraries such as Unix4J and Grep4J. 2. Background Unix has a powerful command...

View Article

Java – Combine Multiple Collections

1. Overview In this tutorial, we will illustrate how to concatenate multiple collections into one logical collection. We’ll be exploring five different approaches – two using Java 8, one using Guava,...

View Article

Image may be NSFW.
Clik here to view.

Java Logging with Nested Diagnostic Context (NDC)

1. Overview Nested Diagnostic Context (NDC) is a mechanism to help distinguish interleaved log messages from different sources. NDC does this by providing the ability to add distinctive contextual...

View Article
Browsing all 3610 articles
Browse latest View live


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