I've spent ten years on the unglamorous parts of fintech and biotech software. Now I'm connecting them to LLMs.
Published elsewhere
On Baeldung
Practical tutorials for the Java and Spring community. Each link opens the article on Baeldung.
- 01 How to Delay a Stubbed Method Response With Mockito Three ways to slow down a stub: Thread.sleep, answersWithDelay, and Awaitility for async tests.
- 02 How to Autowire a Spring Bean in a Servlet Filter Why @Autowired fails in a filter, and four fixes up to DelegatingFilterProxy.
- 03 How to Parse XML to HashMap in Java XStream, Jackson, JAXB, Underscore-java and plain DOM with XPath, compared.
- 04 How to Mock Constructors for Unit Testing using Mockito mockConstruction() from Mockito 3.4, and when dependency injection is the better answer.
- 05 How to Deep Copy an ArrayList in Java Five ways to get truly independent copies, from Cloneable to copy constructors to Jackson.
Archive
Writing, 2018 to 2023
Older posts from the WordPress years, mostly Spring. Links haven't changed.
2023
2020
- Serverless: AWS Lambda and Spring Cloud Function with the Twitter API
- How to Enable HTTPS (SSL/TLS) in a Java Spring Boot Application
- REST vs GraphQL: API Development with Spring Boot
- Payment Integration: React and Spring Boot with the Stripe API
- Web Scraping using JSoup: Getting Weekly Top Songs Project
- Reactive Programming in Spring: Introduction
- XML Parser in Java
2019 & 2018
hello@shahulbasha.com
Hiring for backend or AI engineering, or want to talk shop about Spring, Kafka or MCP servers? Email is the fastest way to reach me.