Implement a full registration with Spring Security and Spring MVC.
Search Results for: object
Gson Serialization Cookbook
Learn how to serialize entities using the Gson library.
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.
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.
Java – Create a File
How to create a File in Java using JDK 6, JDK 7 with NIO or Commons IO.
The Baeldung Weekly Review 24
This has been quite a diverse week – we saw some Spring work on caching and Spring Data and some great testing articles dealing with fixtures and design.
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.
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.
Multipart Upload with Apache HttpClient
How to upload an entity using multipart upload with the HttpClient.
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.
The Baeldung Weekly Review 13
This week is all about systems in production – starting with a couple of great articles about making sense of log files, real-time analytics and a pragmatic view on reporting.
Basic Authentication with the RestTemplate
How to do Basic Authentication with the Spring RestTemplate.
Apache HttpClient Basic Authentication
Do Basic Authentication with the HttpClient 4 – simple usecase, preemptive auth and how to manually set the Authorization header.
Getting Started with Custom Deserialization in Jackson
Use Jackson to map custom JSON to any java entity graph with full control over the deserialization process.
Jackson – Custom Serializer
Control your JSON output with Jackson 2 by using a Custom Serializer.
Http Message Converters with the Spring Framework
How to configure HttpMessageConverters for a REST API with Spring, and how to use these converters with the RestTemplate.
Jackson Unmarshalling JSON with Unknown Properties
How to unmarshall a JSON that contains Unknown Properties using Jackson.
Java 8 – Powerful Comparison with Lambdas
Elegant Sort in Java 8 – Lambda Expressions go right past syntactic sugar and bring powerful functional semantics into Java.