Common Hamcrest matchers helpful when working with Collections and arrays.
I’m a software engineer with a passion for REST, TDD and clean code, Web Security and Data Mining. Baeldung is about all of these and more.
Here's what I've written (so far):
Exception Handling for a REST API – illustrate the new Spring 3.2 recommended approach as well as earlier solutions .
Guava Ordering Cookbook illustrating code examples and nothing else.
Guava Collections Cookbook illustrating code examples and nothing else.
Tutorial for how to work with properties files and property values in Spring.
How to implement the DAO with JPA in a Spring project.
Hibernate Mapping Exception – Unknown Entity – causes and solutions.
How to unshorten URLs in Java – to set up and use HttpClient to expand URLs and detect redirect loops.
Example of how to configure the HttpClient with SSL.
How to set up Digest Authentication for the Spring RestTemplate using HttpClient 4.
Set up a HttpSessionListener to track the number of active sessions in a web application.
Cookie Remember Me example with Spring Security.
Versioning a REST API – version identifier in the URI or version media types?
Configure Session Timeout in the web.xml of a Java Servlet web application, and globally for a Tomcat or Jetty Server.
How to set up timeout for an HttpClient – connection and socket timeouts, and a mechanism for hard timeout of ongoing http connections.
How to get the currently logged in user with Spring Security.
Example of how to Redirect to different pages after Login with Spring Security.
Solving the – Unable to locate Spring NamespaceHandler for XML schema namespace – for all namespaces.
Digest Authentication with a Spring MVC project – the XML namespace configuration and several examples of consuming the application with curl.
No bean named ‘springSecurityFilterChain’ is defined – the Problem, the causes and the solutions.