Hands-On Code Examples for Tutorials on rieckpil.de
If you find an issue or bug within the provided code examples, feel free to open an issue, and I will take a look.
- Testing Java Applications Cheat Sheet
- Java EE & Jakarta EE Application Server Cheat Sheet (Sources)
- Spring Web MVC Cheat Sheet (Sources)
- Test Thymeleaf Controller Endpoints with Spring Boot and MockMvc (Sources)
- Spring Boot Testing: MockMvc vs. WebTestClient vs. TestRestTemplate (Sources)
- Amazon SQS Listener Testing with @SqsTest (Spring Cloud AWS) (Sources)
- Spring Boot Test Spring Web MVC HandlerInterceptor (Sources)
- LaunchDarkly Java Testing and Local Development Hints (Sources)
- What the Heck Is the SpringExtension Used For? (Sources)
- Maven Setup For Testing Java Applications (Sources)
- Creating Deep Stubs With Mockito to Chain Method Stubbing (Sources)
- Spring Boot Unit and Integration Testing Overview (Sources)
- Initialization Strategies With Testcontainers For Integration Tests (Sources)
- Record Spring Events When Testing Spring Boot Applications (Sources)
- Testing Spring Boot Applications With REST Assured (Sources)
- How to Test Java HTTP Client Usages (e.g OkHttp, Apache HttpClient) (Sources)
- Spring Boot Test Slices Overview and Usage (Sources)
- Guide to Testing Spring Boot applications with MockMvc (Sources)
- MongoDB Testcontainers Setup for @DataMongoTest (Sources)
- Mocking Statics Methods with Mockito (Kotlin & Java) (Sources)
- Mock Java Constructors And Their Object Creation With Mockito (Sources)
- Write Concise Web Tests With Selenide for Java Projects (Sources)
- Test Your Spring MVC Controller with the WebTestClient and MockMvc (Sources)
- Test Your Spring Boot JPA Persistence Layer With @DataJpaTest (Sources)
- Override Spring Boot Configuration Properties For Tests (Sources)
- Use GreenMail For Spring Mail (JavaMailSender) JUnit 5 Integration Tests (Sources)
- Write Spring Boot integration tests with Testcontainers (JUnit 4 and 5) (Sources)
- Reuse containers with Testcontainers for fast integration tests (Sources)
- Test Spring WebClient with MockWebServer from OkHttp (Sources)
- Test Spring applications using AWS with Testcontainers and LocalStack (Sources)
- Write integration tests for your Spring WebSocket endpoints (Sources)
- Improve build times with Context Caching from Spring Test (Sources)
- Testing Spring Boot Applications with Kotlin and Testcontainers (Sources)
- Write JPA integration tests with Java EE (Sources)
- Simple load-testing with Apache Benchmark (Sources)
- Java Benchmarking with JMH (Java Microbenchmark Harness) (Sources)
- Consumer-Driven Contracts with Spring Cloud Contract (Sources)
- Jakarta EE integration tests with MicroShed Testing (Sources)
- Spring Boot Integration Tests with WireMock and JUnit 5 (Sources)
- Spring WebTestClient for efficient testing of your REST API (Sources)
- Spring Boot Functional Tests with Selenium and Testcontainers (Sources)
- Testing your Spring RestTemplate with @RestClientTest (Sources)
- Five JUnit 5 features you might not know yet (Sources)
- Testing your JSON serialization with @JsonTest (Sources)
- Lock @Scheduled Tasks With ShedLock And Spring Boot (Sources)
- Best Practices Flyway and Hibernate with Spring Boot (Sources)
- Up- and download files with React and Spring Boot (Sources)
- Expose git information with Spring Boot’s Actuator (Sources)
- Lazy Loading of JPA attributes with Hibernate (Sources)
- Send E-Mails with SendGrid and Spring Boot (Sources)
- Dynamic SQL Querying & Pagination with Querydsl and Spring Data JPA (Sources)
- Remote Debug Spring Boot applications (IntelliJ IDEA + Eclipse) (Sources)
- Use Spring’s WebClient for RESTful communication (Sources)
- Generate random data in Java using Java Faker (Sources)
- Feature Toggles for Spring Boot applications with Togglz (Sources)
- Spring WebClient OAuth2 Integration for Spring WebFlux (Sources)
- Spring WebClient OAuth2 Integration for Spring Web (Servlet) (Sources)
- Expose Metrics of Spring WebClient using Spring Boot Actuator (Sources)
- Spring WebClient exchange vs. retireve a comparison (Sources)
- Customize Spring WebClient with WebClientCustomizer (Sources)
- AWS Lambda with Kotlin and Spring Cloud Function (Sources)
- OIDC Logout With AWS Cognito and Spring Security (Sources)
- Java AWS Lambda Container Image Support (Complete Guide) (Sources)
- Resolving Spring Boot properties using the AWS Parameter Store (SSM) (Sources)
- Java AWS Lambda with Serverless and Maven - Thumbnail Generator (Sources)
- Java AWS Lambda with Spring Cloud Function (Sources)
- Thymeleaf OAuth2 Login with Spring Security and AWS Cognito (Sources)
- Create Spring Boot applications with Maven and Kotlin (Sources)
- Write Java EE applications with Kotlin (Sources)
- Writing JavaScript code with Kotlin using Gradle (Sources)
- Avoid repeating attributes in JPA entities (Sources)
- Deploy a Spring Boot Uber-Jar application within Open Liberty (Sources)
- Simple CRUD table with JSF and PrimeFaces (Sources)
- Simple JSF 2.3 Login with Java EE 8 Security API (Sources)
- Simple JMS application with the embedded messaging engine in Open Liberty (Sources)
- JAX-RS user-based API rate-limiting with JSR-375 (Sources)
- Generate documents from Word templates with Docx4j on Wildfly 14 (Sources)
- MicroProfile JWT Authentication with Keycloak and React (Sources)
- Generate PDFs (Apache PDFBox) including Charts (XChart) with Java EE (Sources)
- Up- and downloading files with Java EE and Web Components (Sources)
- RESTEasy (WildFly) file up- and downloading (Sources)
- Messaging with JMS using Payara with embedded OpenMQ broker (Sources)
- Nice-looking JSF 2.3 apps with PrimeFaces 7.0 (Sources)
- Send emails with Java EE using Payara (Sources)
- Deploy Java EE applications to Kubernetes (Sources)
- MicroProfile Rest Client for RESTful communication (Sources)
- Intercept method calls using CDI interceptors (Sources)
- Bootstrap your first Jakarta EE 8 application (Sources)
- Jakarta EE and MicroProfile applications with React and PostgreSQL (Sources)
- Create real-time applications with Jakarta EE WebSocket (Sources)
- Jakarta EE & React file up- and download using Java 11 and TypeScript (Sources)
- Automatic Java Code Migration with OpenRewrite (Mockito Example) (Sources)
- Simple database documentation with SchemaSpy (Sources)
- Preview PDF files with React (Sources)
- Writing PostgreSQL functions with Java using PL/Java (Sources)
- Deploy a React application to Kuberntes (Sources)
- Create your own Maven Archetype in 5 simple steps (Sources)
- GitHub Actions for Java - automate your Maven workflows (Sources)
- JavaServer Faces. An introduction to JSF 2.3 (Sources)
- GraalVM - an introduction to the next level JVM (Sources)
- MicroProfile Config (Sources)
- MicroProfile Fault Tolerance (Sources)
- MicroProfile Metrics (Sources)
- MicroProfile JWT Auth (Sources)
- MicroProfile Rest Client (Sources)
- MicroProfile OpenAPI (Sources)
- MicroProfile OpenTracing (Sources)
- MicroProfile Health (Sources)
- Contexts and Dependency Injection (CDI) (Sources)
- Jakarta RESTful Web Services (JAX-RS) (Sources)
- JSON Binding (JSON-B) (Sources)
- JSON Processing (JSON-P) (Sources)
- What’s new in Spring Boot 2.1 (Sources)
- What's new in Spring Boot 2.2 (Sources)
- What's new in Spring Boot 2.3 (Sources)
- What's new in MicroProfile 3.1 (Sources)
- Improved Java/Jakarta EE productivity with Adam Bien’s WAD (Watch and Deploy) (Sources)
- 5 Java 9 Features you might not know yet (Sources)
- Top 3 Maven Plugins to ensure Quality and Security for your project (Sources)
- Joyful Open Liberty Developer Experience with Liberty Maven Plugin (Sources)