Guava Collections Cookbook illustrating code examples and nothing else.
Search Results for: maven
The DAO with JPA and Spring
How to implement the DAO with JPA in a Spring project.
RestTemplate with Digest Authentication
How to set up Digest Authentication for the Spring RestTemplate using HttpClient 4.
Redirect to Different Pages After Login With Spring Security
Example of how to Redirect to different pages after Login with Spring Security.
Unable to Locate Spring NamespaceHandler for XML Schema Namespace
Solving the – Unable to locate Spring NamespaceHandler for XML schema namespace – for all namespaces.
Spring Security Digest Authentication
Digest Authentication with a Spring MVC project – the XML namespace configuration and several examples of consuming the application with curl.
Control the Session with Spring Security
Configure Sessions with Spring Security – set up Concurrent Sessions, enable Session Fixation Protection and prevent URLs from containing Session information.
Spring Security Basic Authentication
Set up Basic Authentication in Spring – the XML Configuration, the Error Messages, and example of consuming the secured URLs with curl.
Spring BeanDefinitionStoreException
Causes and Solutions for the BeanDefinitionStoreException in Spring – FileNotFoundException, NoSuchMethodError, NoClassDefFoundError and IOException.
Hibernate 3 with Spring
Setup Hibernate 3 with Spring – the Java and XML Configuration, integration with MySQL and usage best practices.
Spring Security Form Login
A Spring Login Example – How to Set Up a simple Login Form, a Basic Security XML Configuration and some more Advanced Configuration Techniques.
Upload on S3 With the jclouds Library
Upload on S3 with the jclouds library – the 4 generic Blob APIs.
Testing REST with multiple MIME types
Testing a REST Service with multiple Media Types/representations.
REST Pagination in Spring
Pagination in a Spring REST Service – URI structure and best practice, Page as Resource vs Page as Representation.
HATEOAS for a Spring REST Service
Implementation of HATEOAS and Discoverability for a Spring REST API.
REST API Discoverability and HATEOAS
HATEOAS and Discoverability of a REST Service – driven by tests.
Test a REST API with Java
How to test a REST Service with Java – integration testing using the Apache Http Client.