This article discusses an simple yet flexible solution to configuration that is specific to the environment with Spring.
Search Results for: maven
Removing All Duplicates From a List in Java
How to remove all duplicate elements from a List – first with plan Java, then Guava and finally with Java 8 lambdas.
Removing All Nulls From a List in Java
How to remove all nulls from a List using plain Java, Guava, the Commons Collections framework or the new Java 8 lambda support.
Convert a Map to an Array, List or Set in Java
How to convert the values of a Map to an array, List or Set using plain Java.
Converting Between a List and a Set in Java
How to Convert between a List and a Set using plain Java, Guava or Apache Commons Collections.
Converting Between an Array and a Set in Java
How to Convert between an Array and a Set Using Plain Java, Guava or Apache Commons Collections.
Converting Between an Array and a List in Java
How to Convert between an Array and a List Using plain Java, Guava or Apache Commons Collections.
Introduction to Spring Data JPA
Introduction to Spring Data JPA with Spring 4 – the Spring config, the DAO, manual and generated queries and transaction management.
Sorting with JPA
How to Sort in JPA using JQL or the Criteria API.
The Baeldung Weekly Review 15
The highlights of this week are some great Java 8 usage of lambdas and concurrency improvements, a few helpful Spring posts and a handful of fantastic articles in the “Musings” section.
The Baeldung Weekly Review 14
This week was packed full of Java 8 articles, a few testing gems and some well researched analyses of production issues.
JPA Pagination
Pagination in JPA – how to use JQL and the Criteria API to do pagination correctly.
The Baeldung Weekly Review 9
The 9h weekly review starts with the usual Spring releases and great webminars, API architecture and testing resources.
Basic Authentication with the RestTemplate
How to do Basic Authentication with the Spring RestTemplate.
The Baeldung Weekly Review 6
Another great set of articles out in the 2nd week of February – covering the whole spectrum – Security, Performance testing, patterns and a few other subjects.
Apache HttpClient Basic Authentication
Do Basic Authentication with the HttpClient 4 – simple usecase, preemptive auth and how to manually set the Authorization header.
The Baeldung Weekly Review 4
Some great Spring, Security and REST articles from the 4th week of 2014.
Jackson – Custom Serializer
Control your JSON output with Jackson 2 by using a Custom Serializer.
Most Popular Articles of 2013
A quick list of the most popular articles from 2013, by number of views.
How to Read a Large File Efficiently with Java
Learn how to process lines in a large file efficiently with Java – no need to store everything in memory.