Guide on how to set up Maven to use Spring Repositories – Release Candidates, Milestones and Snapshots – after the Spring infrastructure updates.
Search Results for: open
Spring DataIntegrityViolationException
The Spring DataIntegrityViolationException – Causes and Solutions for Hibernate and JPA: ConstraintViolationException, PropertyValueException, DataException, EntityExistsException.
Spring BeanDefinitionStoreException
Causes and Solutions for the BeanDefinitionStoreException in Spring – FileNotFoundException, NoSuchMethodError, NoClassDefFoundError and IOException.
Maven Release to Nexus
Maven Release to Nexus – defining the repository in the pom, using the nexus release plugin, and the Release Process breakdown.
Hibernate 3 with Spring
Setup Hibernate 3 with Spring – the Java and XML Configuration, integration with MySQL and usage best practices.
Spring Security with Maven
Spring Security with Maven
Maven Deploy to Nexus
Maven Deploy to Nexus – The Nexus Snapshot Repository in the pom and how to set up the Deployment Process.
Spring with Maven
Spring with Maven – focuses on the dependencies for Persistence, Web, Security and Testing.
Install Local Jar With Maven
Install local jar with Maven maven-install-plugin
Multipart Upload on S3 with jclouds
Multipart Upload on S3 with jclouds custom S3 API – breaking the Content in Parts, Uploading the Parts individually, marking the Upload as complete via the Amazon API.
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.
ETags for REST with Spring
ETags with the Spring – ShallowEtagHeaderFilter, integration testing of the REST API, and consumption scenarios with curl.
The DAO with Spring and Hibernate
The DAO Layer with Spring and Hibernate – focuses on Transaction Management, Hibernate Session management, Spring template best practices and common pitfalls.
Basic and Digest Authentication for a REST Service with Spring Security
How to Set Up and Configure both Basic and Digest Authentication for the same REST Service, using Spring Security.
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.
Integration Testing With the Maven Cargo Plugin
Set up Integration testing with the Maven Cargo and the cargo-maven2-plugin (maven-cargo-plugin).
Test a REST API with Java
How to test a REST Service with Java – integration testing using the Apache Http Client.
Avoid Brittle Tests for the Service Layer
How to avoid brittle and inflexible tests for the Service Layer of a Spring web app – mock out the interactions with the database, using JUnit, Mockito and Hamcrest.