This week is definitely Spring heavy – lot of solid Spring Boot pieces that show how the framework is maturing. Some interesting JVM articles as well.
Search Results for: var
Guava – Write to File, Read from File
How to Write to File and Read from a File using the Guava IO support and utilities.
Guava – Join and Split Collections
How to use the Guava Splitter and Joiner to convert to and from collections and Strings.
The @Scheduled Annotation in Spring
How to use the @Scheduled annotation in Spring, to run tasks after a fixed delay, at a fixed rate or according to a cron expression.
Java – Generate Random String
Generate Bounded and Unbounded Random Strings using plain Java and the Apache Commons Lang library.
The Baeldung Weekly Review 35
Spring 4.1 is out this week, along with some cool predictions of the next Java Random and some pragmatic musings about testing and goal setting. A good week all in all.
The Baeldung Weekly Review 34
This week we’re looking at Spring Boot articles, some solid insights into learning and staying relevant as an engineer and of course – XKCD genius.
Login for a Spring Web App – Error Handling and Localization
How to implement a Login Page for a Spring Security app – Localization, Validation and Error handling.
Gson Deserialization Cookbook
How to deserialize Json with the Gson library – a cookbook with the most common scenarios.
Getting Started with Forms in Spring MVC
Learn how to work with forms using Spring MVC – mapping a basic entity, submit, displaying errors.
The Baeldung Weekly Review 30
Diverse week full of solid articles on Spring, Java 8, testing, BDD and risk management – a lot of interesting articles in here.
Java – Convert File to InputStream
How to open an InputStream from a Java File – using plain Java, Guava and the Apache Commons IO library.
Java InputStream to Byte Array and ByteBuffer
How to convert an InputStream to a byte[] using plain Java, Guava or Commons IO.
Project Configuration with Spring
This article discusses an simple yet flexible solution to configuration that is specific to the environment with Spring.
Spring Security – Persistent Remember Me
A secure Remember Me solution with Spring Security – using a token persisted in the database.
The Baeldung Weekly Review 19
This week we talk about language and API design nuances, Two-Factor authentication, passwords, and of course testing and TDD.
The Baeldung Weekly Review 18
This week is definitely about testing – TDD, Unit Testing and the new test support in the upcoming Spring Security 4.
Sorting with Hibernate
Sort with Hibernate 4 using HQL or the Criteria API.
Sorting with JPA
How to Sort in JPA using JQL or the Criteria API.
Hibernate Pagination
Pagination in Hibernate – using basic HQL, ScrollableResults as well as the more flexible and type-safe Criteria API.