Philip Riecks Profile Banner
Philip Riecks Profile
Philip Riecks

@rieckpil

5,239
Followers
655
Following
845
Media
4,502
Statuses

Testing Spring Boot Applications Can Be Joyful - Let Me Show You How 🍃

Erlangen, Gemany
Joined December 2017
Don't wanna be here? Send us removal request.
@rieckpil
Philip Riecks
1 year
@PicturesFoIder Must be trash, definitely.
25
16
7K
@rieckpil
Philip Riecks
3 years
The good old Maven vs. Gradle debate 🆚 What would have been your answer? I personally don't see Maven as "essentially deprecated"
Tweet media one
36
17
140
@rieckpil
Philip Riecks
3 years
Great time to be a Java developer 🥳 The post shows jobs with the highest pay and the least competition on the job market in Germany. I'm wondering what the difference between "Senior Softwareentwickler Java" and "Senior Java-Developer" is 😂 Source:
Tweet media one
13
19
119
@rieckpil
Philip Riecks
4 years
1.000 lines of CloudFormation YAML with just 15 lines of Java code? Say hello to the AWS CDK (Cloud Development Kit) using @java 👋 With the Level 3 Constructs (patterns) you can create an entire AWS architecture with almost no effort 👇
Tweet media one
5
25
118
@rieckpil
Philip Riecks
2 years
Mockito is a powerful tool 🚀 To avoid misusing this essential Java testing tool, keep these "golden Mockito rules" in mind 🏆 • Do not mock types you don't own ❌ • Don't mock value objects 💡 • Don't mock everything 🆚 • Show some love with your tests 🧪
6
15
115
@rieckpil
Philip Riecks
7 months
Somewhere hidden in the Spring Boot 3.2 release notes: Awaitlity is now part of the Spring Boot Starter Test 💡 You no longer need to manually include it as the "Testing Swiss-Army Knife" includes it 🧰
Tweet media one
2
15
114
@rieckpil
Philip Riecks
5 years
Recently I've moved the build pipelines from Travis CI to @github Actions for two of my public GitHub repositories within less than one hour. I've summarized the most common tasks for building and deploying @java projects using @ASFMavenProject here: »
Tweet media one
0
39
105
@rieckpil
Philip Riecks
5 years
Today I'm launching a new YouTube series: Jakarta EE Quickstart Guides. The goal is to provide easy-to-understand tutorials for common @JakartaEE tasks for both newcomers and experienced developers. » Get information: The first videos are available 🥳
Tweet media one
2
55
94
@rieckpil
Philip Riecks
4 years
What are your favorite talks about testing? My top 3 👇 • Structure and Interpretation of Test Cases () by @KevlinHenney • Effective Unit Testing () by @elharo • Write awesome tests () by @molsjeroen
6
23
94
@rieckpil
Philip Riecks
9 months
Long time no tweet 😅 I am actively seeking new freelance opportunities (remote) in January/February 2024. I specialize in Java, Spring Boot, testing, AWS, and DevOps/automation. I would greatly appreciate your support. RTs are really welcomed 🙏🏻 DM's are open 📨
2
48
93
@rieckpil
Philip Riecks
2 years
I've combined my collection of pitfalls, tips & tricks, and workarounds for developing (and testing) Java applications on an Apple M1 🍏 This includes tips for working with @testcontainers , creating images with @Docker , etc.
5
31
91
@rieckpil
Philip Riecks
1 year
Declutter your life & help others 🥳 We're running a raffle to win physical tech books on Java, architecture, persistence, and clean code that have helped me advance as an engineer 🚀 Guidelines, rules and participate 👇🏻
93
8
90
@rieckpil
Philip Riecks
5 years
Great news for all @MicroProfileIO and @JakartaEE enthusiasts. I've just released my Getting Started With Eclipse MicroProfile Course Bundle (E-Book + Video Course). Grab the first edition for FREE: and learn everything you need to know about MicroProfile
Tweet media one
3
37
83
@rieckpil
Philip Riecks
1 year
What are your favorite talks about testing? My top 3 👇 • Structure and Interpretation of Test Cases () by @KevlinHenney • Effective Unit Testing () by @elharo • Write awesome tests () by @molsjeroen
4
12
80
@rieckpil
Philip Riecks
2 years
I've just uploaded the slides of my yesterday's talk the @spring_io : This was my FIRST talk at a conference and I'm super grateful that more than 150 attendees showed up on a Friday afternoon at 5pm 🥹 To many more talks 🚀
7
8
79
@rieckpil
Philip Riecks
4 years
I just finished the book "97 Things Every Java Programmer Should Know". t’s a collection of short articles by different authors. Some topics overlap (e.g. Java 8 streams), but in general, it’s a diverse mix of content about the Java ecosystem. Here are my top 3 learnings 👇
3
14
73
@rieckpil
Philip Riecks
4 years
Over the past months, I've used several strategies to configure and initialize Docker containers using @testcontainers . I've combined them in one of my recent blog posts with running examples 👇
0
19
75
@rieckpil
Philip Riecks
4 years
I don't know about you, but I find it satisfying to watch the automated end-to-end tests for my projects 😅 It also brings confidence if you can ensure your happy-paths are working as expected 🧐 Powered by @testcontainers , @selenide , @_localstack , @springboot , @junitteam
7
16
75
@rieckpil
Philip Riecks
2 years
The list of available Java HTTP clients is almost endless: ...OkHttp, JDK 11 Client, Jersey Client, Apache HttpClient, etc. Which one should you pick🤯? Spring provides a solid solution for interchanging data with other services: the Spring WebFlux WebClient 🚤
18
9
72
@rieckpil
Philip Riecks
4 years
"Today I'll do what others won't, so tomorrow I can do what others can't" - quote of one of the few posters that hang on my wall
@UniverCurious
Universal Curiosity
4 years
Think about it.
Tweet media one
696
33K
162K
3
21
70
@rieckpil
Philip Riecks
2 years
Kudos to @JosePaumard for this great hands-on tutorial about Loom and Structured Concurrency I sometimes feel I can't keep up with all the innovation happening in the Java ecosystem 😅 .. fortunately I've subscribed to the Java YouTube channel 🤓
2
25
71
@rieckpil
Philip Riecks
1 year
Great news for all existing Java Testing Toolbox readers 🧰 I've started the work to publish the remaining 10 Java testing tools and libraries that every developer must know (!= use). Sneak peek of what's coming: Awaitility, JfrUnit, Pact, Selenium ...
1
16
71
@rieckpil
Philip Riecks
1 year
I‘m running a small raffle for all those that couldn’t make it to the @spring_io 🍃 Stickers, the official conference bag, the lanyard and pins 🥳 To participate make sure you meet the following requirements: 1. Follower of @rieckpil 🙋‍♂️ 2. Like this post 👍🏻 3. Comment which
Tweet media one
47
9
69
@rieckpil
Philip Riecks
4 years
Developer’s nightmare: Never leave the car again 😯
Tweet media one
3
10
68
@rieckpil
Philip Riecks
4 years
Latest achievement: Reduce the build times of a large project from 25 minutes to 5 minutes. All of this was possible due to the neat context caching feature of @springframework . Introduction to this mechanism, pitfalls I encountered, and tips & tricks:
4
22
69
@rieckpil
Philip Riecks
2 years
My highlight of the #devoxx so far 🏆 Running into @errcraft while catching some final fresh air before giving my talk. Shaking hands with the father of Java ✅ … while realizing I’m as old as his invention 😅
Tweet media one
2
3
67
@rieckpil
Philip Riecks
5 years
I've recently read the excellent book: SQL Performance Explained from @MarkusWinand and written a review about this must-read book for developers who want to understand SQL performance (once and for all):
0
14
60
@rieckpil
Philip Riecks
2 years
My bulletproof approach for fixing bugs for unknown codebases with little test coverage: 1. Write tests to cover the existing implementation 2. Write a test to reproduce the bug 3. Start fixing and refactoring efforts 4. Re-run all tests 5. Integrate the changes with confidence
4
14
59
@rieckpil
Philip Riecks
4 years
Due to the increasing interest in server-side rendered applications, here's a blog post on how fast & easy you can develop nice-looking applications with JSF and @primefaces powered by @Payara_Fish Live demo: Blog post:
1
24
60
@rieckpil
Philip Riecks
2 years
I was first hesitant to open my inbox on my birthday to avoid any work today, but there couldn't be any better present than this 🎁 The @SpringOne conference accepted my talk, and I'll be speaking in San Francisco🇺🇸 this December🎙 Now it's time to celebrate 🥳
Tweet media one
15
1
60
@rieckpil
Philip Riecks
3 years
Did you ever dream to create your AWS infrastructure with Java to avoid maintaining endless JSON/YAML templates? That's now possible with the AWS CDK (Cloud Development Kit)🚀 For an introduction to the AWS CDK using Java & Maven, start here
3
16
58
@rieckpil
Philip Riecks
4 years
All good things come to an end ✅ I've just edited the final Thank you lesson for the Testing Spring Boot Applications Masterclass. In total that's now 125 video lessons to make the most of JUnit 5, Mockito, Testcontainers, Selenium, WireMock, etc. »
Tweet media one
2
11
57
@rieckpil
Philip Riecks
3 years
@javarevisited @bsideup JUnit, Testcontainers, Mockito, Selenide and Wiremock 👌🏻 PS: I‘m currently writing a book about the Java Testing Ecosystem that aims to cover all Java testing tools and libraries
1
7
56
@rieckpil
Philip Riecks
5 years
New to @Java_EE / @JakartaEE and overwhelmed with managing the application server (data sources, configs, logs)? Check out my blog post and get a cheat sheet including all major application servers ( @Payara_Fish , @OpenLibertyIO , @WildFlyAS , @ApacheTomEE ):
Tweet media one
2
25
57
@rieckpil
Philip Riecks
1 year
Looking for a place to learn more about @springboot 's excellent support? 🍃 Start with this MockMvc and AtWebMvcTest mini-series and learn how to test your AtController and AtRestController endpoints 👇🏻
0
8
56
@rieckpil
Philip Riecks
1 year
Newcomers may be tempted to use @SpringBootTest for all their tests 🧪 That's not a good idea 💡 Read this guide on when and how to use the @SpringBootTest annotation for writing integration tests for your Spring Boot application 👇🏻
1
14
55
@rieckpil
Philip Riecks
6 months
Understanding GraalVM, AOT & JIT by @MarcoBehler 🚀 Really practical guide to understand what GraalVM is, how it works and how Just-In-Time (JIT) compilation compares to Ahead-Of-Time (AOT) compilation).
0
16
53
@rieckpil
Philip Riecks
4 years
I had a first look at the new features coming with @springboot 2.3 and I can say the layered jar feature in combination with the OCI image creation works like a charm 🍃 » Read more here #java #springboot
0
26
54
@rieckpil
Philip Riecks
2 years
It's been a bit more than a year that I switched to a Mac Book Pro M1 🍏 The early days were a bit frustrating as not everything worked out-of-the-box 😅 I've collected all my workarounds/solutions for Java developers working with an M1 👇🏻
5
10
54
@rieckpil
Philip Riecks
1 year
From Zero to Production with Spring Boot on AWS ( @stratospheric42 ) 🍃 You'll learn how to build, deploy and operate a real-world application (architecture see below) within 450 pages 👇🏻 Featuring: ECS on Fargate, RDS, SES, CloudWatch, SQS, etc.
Tweet media one
0
9
53
@rieckpil
Philip Riecks
6 years
Creating a simple and nice looking CRUD table with JSF 2.3, @PrimeFaces on @payara_fish in under 30 minutes with no dependency headaches: #JavaEE @javaee_guardian
Tweet media one
0
29
51
@rieckpil
Philip Riecks
2 years
After three years of living in Berlin, I finally met the one and only ⁦ @maciejwalkowiak ⁩ 🍃 #AWSSummit
Tweet media one
3
3
52
@rieckpil
Philip Riecks
1 year
Tweet media one
0
0
48
@rieckpil
Philip Riecks
1 year
A poster every dev team should print and put on their desks/walls 💻 I regularly go over the 10 timeless commandments of egoless programming. It also aligns nicely with @RyanHoliday 's book "Ego Is The Enemy" 📖 What helped me personally the most was "2. You are not your code."
Tweet media one
0
14
49
@rieckpil
Philip Riecks
5 years
The new @MicroProfileIO version 3.0 was released last week. I summarized what changed and provide you all important links in my latest blog post:
Tweet media one
2
26
49
@rieckpil
Philip Riecks
4 years
While reading the release docs of Spring Boot 2.4.0 I found a small new testing-related feature of Spring Framework 5.3: Perform Requests with the WebTestClient against MockMvc 🍃 No running servlet container required for using the WebTestClient:
Tweet media one
1
13
48
@rieckpil
Philip Riecks
3 years
TIL: v2 of the setup-java GitHub Action has built-in functionality for actions/cache. No need to specify an additional step to set up the cache for Maven dependencies:
Tweet media one
3
5
48
@rieckpil
Philip Riecks
5 years
Getting started with Eclipse MicroProfile 3.0 (spec 11/12): @JakartaEE RESTful Web Services (JAX-RS). This blog covers the basics of JAX-RS 2.1to create and consume REST endpoints: Stay tuned for the last spec review
Tweet media one
0
27
49
@rieckpil
Philip Riecks
2 years
The slides and the recording for my beginner-friendly #devoxx talk "Things I Wish I Knew When I Started Testing Spring Boot Applications" 🍃 are now available 🥳 Slides: Recording: It was an excellent time in Antwerp 🥳
2
7
48
@rieckpil
Philip Riecks
3 years
What are the must-have attributes of your test suite? My top three are 👇🏻 1. Run in _airplane mode_ aka. no interaction (e.g. HTTP) to the outside world 🛫 2. No manual environment variable/tooling setup required - I just want to run mvn verify 🛠 3. Deterministic & fast 🚤
6
5
48
@rieckpil
Philip Riecks
5 years
Today I've launched the first video of my upcoming "Getting Started with Eclipse MicroProfile 3.0" YouTube series about the @MicroProfileIO Config 1.3 specification. Give it a try (related blog post: )
2
21
47
@rieckpil
Philip Riecks
2 years
I've recently read: Software Engineering at Google - Lessons Learned from Programming Over Time: Lessons Learned from Programming Over Time. 📚 With 583 pages, it's quite a long book. The book is split into 25 chapters that individual Google employees contributed.
2
6
48
@rieckpil
Philip Riecks
5 years
I'm really honored to be selected as one of the IBM Developer @IBMChampions for 2020. Stay tuned for further @JakartaEE and @MicroProfileIO using IBM technologies like @OpenLibertyIO . Thanks so far for the great onboarding @notesgirl #IBMChampion
5
5
47
@rieckpil
Philip Riecks
1 year
> I've considered moving away from Java many times. However, no other framework has the power and flexibility that Spring provides. It's mind blowing sometimes. > What would Java for the web be without Spring? Happy birthday to Spring 🎉🏆
3
5
44
@rieckpil
Philip Riecks
5 years
Create nice-looking applications with JSF, @primefaces 7.0 and @OmniFaces with ease: Test it here: (running on @Payara_Fish ) #Java #JavaEE #JakartaEE
Tweet media one
0
23
45
@rieckpil
Philip Riecks
4 years
Next comes a nice hidden-gem of Maven I wasn't aware of from @BrianVerm . Maven (also Gradle) offers a feature to detect if there are dependency updates available. Working with multiple projects, I usually find myself on to check if there are updates.
Tweet media one
5
15
46
@rieckpil
Philip Riecks
1 year
Using @moderneinc 's OpenRewrite to quickly bump my Lambdas to make use of Java 17 😍 Go to your Spring Boot 2.7.X project and run: mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE \
Tweet media one
@MarkSailes3
Mark Sailes
1 year
🥳Java 17 is now available on #AWSLambda and it has support for #SnapStart . New language features include records (JEP 395), sealed classes (JEP 409) and multiline strings (JEP 378). Read about the changes in our release blog
Tweet media one
6
90
281
1
3
44
@rieckpil
Philip Riecks
7 months
My top Five Spring Boot Testing Best Practices 🍃 → Don't Reinvent the Whell → Fundamentals to Learn → Best Practices
2
6
44
@rieckpil
Philip Riecks
1 year
Master Unit & Integration Testing in #SpringBoot 🍃 🌟 Get started with essential libraries, learn about sliced contexts, and explore tools like WireMock, Testcontainers, and Selenide 🛠️ Dive in & improve your testing skills 🔗 #JUnit #Mockito #Java
1
10
44
@rieckpil
Philip Riecks
6 years
Read about bootstrapping a JSF 2.3 application in seconds ( @primefaces and @Omnifaces included) with my new Maven archetype: @jsf_spec #JavaEE #JSF
Tweet media one
2
25
44
@rieckpil
Philip Riecks
3 years
I'm currently porting a side-project (Spring Boot & Java) to AWS Beanstalk using AWS CDK and GitHub Actions 🍃 It's one of the simplest ways to get a Java app running in AWS as it's "just handing over the .jar". Blog series incoming once I'm happy with the outcome🚀
3
2
43
@rieckpil
Philip Riecks
1 year
Thanks for joining my talk „Things I Wish I Knew When I Started Testing Spring Boot Applications“ 🚀 Here are the slides Enjoy the rest of @spring_io 🍃🇪🇸🍻 #testing #springio23 #springboot
Tweet media one
Tweet media two
Tweet media three
Tweet media four
1
7
43
@rieckpil
Philip Riecks
2 years
Wim ( @wimdeblauwe ) is now showing how you can use Thymeleaf with htmx to write modern frontends with a full focus on simplicity & productivity 🚀 #devoxx
Tweet media one
2
10
43
@rieckpil
Philip Riecks
5 years
Last week I had the change to read and review the new book from @arjan_tijms and @JanBeernink : Pro CDI 2 in Java EE 8. If you plan to improve your @cdispec knowledge or want in-depth insights, I can totally recommend it. Read more here:
Tweet media one
3
20
43
@rieckpil
Philip Riecks
2 years
I'm currently searching for a new freelance project starting in October🔎 Anything development/consulting-related for Java/Kotlin, Spring Boot, AWS, and Testing would be a perfect fit. My availability is 32h/week - DMs are open 📨 I really appreciate any retweet for reach 🙏🏻
1
44
40
@rieckpil
Philip Riecks
6 years
Securing a JSF 2.3 application with the new Java EE 8 Security API ( @jsr375 ) and a simple @PrimeFaces login form deployed on @payara_fish : #JavaEE #JSF #JavaEESecurity
1
23
43
@rieckpil
Philip Riecks
5 years
I've recently passed the @CloudNativeFdn CKAD (Certified Kubernetes Application Developer) exam and want to share my review of this program (exam & online training) with you: In addition, you'll get my top 5 tips for passing this certification
Tweet media one
2
4
43
@rieckpil
Philip Riecks
3 years
Amazing talk by @VictorRentea about IntelliJ IDEA shortcuts and tricks at @JChampionsConf : Invest this one hour - the productivity payoff will be huge 🚀 ALT + ENTER is the answer to (almost) everything 😂
2
6
41
@rieckpil
Philip Riecks
6 years
Simple Java EE 8 JAX-RS user-based rate-limiting with JSR-375 ( @Soteria_RI ) on @Payara_Fish with an embedded @h2database for persistence. Thanks to @AdamBien for the hint with the ContainerRequestFilter: #JavaEE
1
26
42
@rieckpil
Philip Riecks
5 years
With the release of @JakartaEE 8 yesterday, you can now bootstrap your first Jakarta EE project. If you use Maven or Gradle and want to start using the future of cloud-native Java, have a look at this reference: using @WildFlyAS and @java 11
Tweet media one
1
22
42
@rieckpil
Philip Riecks
2 years
Maven is my default Java application build tool 🧰 For an introduction to how "testing works with Maven" (Surefire & Failsafe Plugin), skim through the following article 👇🏻
1
8
42
@rieckpil
Philip Riecks
1 year
Let's admit the truth. Testing is often an overlooked aspect of software development and an afterthought in most teams 🧪 In this article, I'm sharing my most common testing Spring Boot testing best practices👇🏻 #springboot #testing #java
1
9
39
@rieckpil
Philip Riecks
2 years
Wohooo 🥳 I'm super excited that my talk "How fixing a broken window cut down our build time by 50%" got accepted for the upcoming @spring_io in Barcelona. This will be my first talk at a public conference and it will be about ... ... testing with Spring 🧪 See you all in 🇪🇸
Tweet media one
2
2
41
@rieckpil
Philip Riecks
2 years
Did you ever feel overwhelmed testing your Spring Boot application? I've worked with different companies and teams & I've seen the same Spring Boot testing pitfalls over & over 🙄 I've summarized the most common pitfalls here 👇🏻
2
10
39
@rieckpil
Philip Riecks
4 years
Five-part @JakartaEE 8 CRUD API Tutorial: » Test-Driven Development approach with JUnit 5 and MicroShedTesting » Including @MicroProfileIO » Using Flyway and an embedded Derby DB » Following REST API best-practices » Deploying to @OpenLibertyIO
0
16
39
@rieckpil
Philip Riecks
1 year
It's been a bit more than two years that I switched to a Mac Book Pro M1 🍏 The early days were a bit frustrating as not everything worked out-of-the-box 😅 I've collected all my workarounds/solutions for Java developers working with an M1 👇🏻
1
6
39
@rieckpil
Philip Riecks
1 year
Finally summer in Berlin 🤪
Tweet media one
3
0
38
@rieckpil
Philip Riecks
2 years
We're currently preparing a bigger revision of the @stratospheric42 ebook to now use Spring Boot 3.0 and Spring Cloud AWS 3.0. It's a joy to migrate and use the various new features and improvements of Spring Cloud AWS. Kudos to @maciejwalkowiak and the team 🙌🏻
1
1
37
@rieckpil
Philip Riecks
4 years
A new version of my @Java_EE & @JakartaEE Maven Archetypes got released 🎉 - Utilizing @OpenLibertyIO UBI images - Build script improvement by @tgotwig - Dependency updates: MicroProfile 3.3, etc. » Bootstrap your next Jakarta EE project in seconds 🚀
Tweet media one
0
17
38
@rieckpil
Philip Riecks
5 years
With JSON-B I'm covering the first Java EE (now Jakarta EE) spec which is also included in MicroProfile ( @MicroProfileIO ). This spec is used to convert JSON message to Java objects and vice-versa. Get a first impression of its annotations and classes here:
Tweet media one
0
18
38
@rieckpil
Philip Riecks
2 years
I just finished adding subtitles to 120+ video lessons of the Testing Spring Boot Applications Masterclass 🤯 While this was a lot of effort, I'm happy that the course is now more inclusive 🚀 Definitely a lessons learned - better have it from day one
Tweet media one
0
2
36
@rieckpil
Philip Riecks
1 year
@VfLBochum1848eV @AsaTaku29 Wer ist Hansi Flick?
0
2
33
@rieckpil
Philip Riecks
7 months
🚀 Shave off ⏳ on your #SpringBoot build times! Learn how context caching in Spring Test can turn a 25-minute build into a breezy 5-minute task. Get the best out of your tests without the wait! 🌱💡 🔗 Dive in for faster feedback loops: #Java #DevTips
0
7
37
@rieckpil
Philip Riecks
5 years
As now all major application servers (except TomEE) are Jakarta EE 8 compatible, I've created a full-stack example to use @JakartaEE with @MicroProfileIO alongside a @reactjs frontend using best-practices and running on @OpenLibertyIO : #JakartaEE #Java
Tweet media one
1
19
37
@rieckpil
Philip Riecks
7 months
Enjoying some final drinks & burgers with my Berlin friends ⁦ @amrutprabhu42 ⁩ and ⁦ @maciejwalkowiak ⁩ before I leave Berlin 🍻
Tweet media one
6
4
35
@rieckpil
Philip Riecks
1 year
From publish to first page on Google in less than 12 hours 🤓 SEO mastery 🤪
Tweet media one
1
3
35
@rieckpil
Philip Riecks
2 years
Now it‘s time to learn more about the library @testcontainers everyone is so excited about 😅 @shelajev is rocking the stage 🚀 #devoxx
Tweet media one
1
5
36
@rieckpil
Philip Riecks
1 year
If you're new to testing with Spring Boot, I recommend to start with the basics & fundamentals 🧰 Take a look at one of my recent talks: "Things I Wish I Knew When I Started Testing Spring Boot Applications"
0
7
35
@rieckpil
Philip Riecks
2 years
I'm literally overwhelmed by the positive feedback for my talk four weeks ago at the @spring_io ☺️ Thanks to everyone for supporting me and my work 🚀 The recording is available on YouTube:
Tweet media one
3
2
35