Learn multiple ways to mock a HttpServletRequest object when unit testing Servlet code in Java.
Also find me here:
Baeldung Author
Palaniappan Arunachalam
I am a full-stack Java/JEE developer with 15+ years of experience. Seasoned in technologies like Grails & Groovy, Spring and Hibernate with rich exposure to various domains. Currently, building resilient applications using IBM Cloud.
Here's what I've written (so far):
Baeldung on Java
- All
- Testing (2)
- Java (2)
- Spring (1)
- Security (1)
- Maven (1)
- Logging (1)
- Java Web (1)
- Java Map (1)
- Java List (1)
- Jakarta EE (1)
- Groovy (1)
- DevOps (1)
List vs. ArrayList in Java
Filed under Java List
When using collections in Java it’s conventional to use the interface types for our variables and fields, rather than the concrete types. We look at the difference between these two approaches.
How to Invert a Map in Java
Filed under Java Map
Learn different options to invert a Map in Java.
Baeldung on Ops
- All
- DevOps Concepts (1)
Trunk-Based Development
Filed under DevOps Concepts
Learn about the trunk-based development approach and understand how it differs from the feature branch development model.