The DAO Layer with Spring and Hibernate – focuses on Transaction Management, Hibernate Session management, Spring template best practices and common pitfalls.
Also find me here:
Baeldung Author
Eugen Paraschiv
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):
Baeldung on Java
- All
- Weekly Review (152)
- Spring (33)
- Spring Security (29)
- REST (23)
- Java IO (22)
- HTTP Client-Side (20)
- Jackson (17)
- Data (17)
- Java Collections (12)
- Java (9)
- Testing (8)
- Spring MVC (7)
- Maven (7)
- Spring Persistence (6)
- Persistence (6)
- Java List (6)
- JPA (6)
- Java String (5)
- Spring Web (4)
- Spring Boot (4)
- Spring Data (3)
- JSON (3)
- Security (2)
- Meta (2)
- Java Map (2)
- Java Array (2)
- Cloud (2)
- News (1)
- Java Numbers (1)
- Java Concurrency (1)
- IDE (1)
- Core Java (1)
- Artificial Intelligence (1)
- Architecture (1)
Basic and Digest Authentication for a REST Service with Spring Security
Filed under REST, 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.