Guava Collections Cookbook illustrating code examples and nothing else.
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):
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.
Causes and Solutions for the NoSuchBeanDefinitionException in Spring – “No qualifying bean of type”, “No Bean Named”, Proxied Beans, etc.
Configure Sessions with Spring Security – set up Concurrent Sessions, enable Session Fixation Protection and prevent URLs from containing Session information.
How to Set Up a Custom Authentication Provider with Spring Security and the namespace configuration.