Learn about best practices for unit testing in Java.
Also find me here:
Baeldung Author
Anshul Bansal
I am a full-stack JEE developer with 8 years of experience. Seasoned in technologies like Grails & Groovy, Spring, and Hibernate with various domains. You can discover my technical content here at Baeldung or on https://dev.to/smartyansh.
Here's what I've written (so far):
Baeldung on Java
- All
- Java (9)
- Groovy (9)
- Persistence (5)
- JVM (4)
- Testing (3)
- NoSQL (3)
- Java Concurrency (3)
- Spring Security (2)
- REST (2)
- Data (2)
- Cloud (2)
- Web Services (1)
- Spring Data (1)
- Spring (1)
- Security (1)
- Java Streams (1)
- Java Map (1)
- Java IO (1)
- Java Collections (1)
- Java Array (1)
- JPA (1)
- IDE (1)
- DevOps (1)
- Core Java (1)
- Artificial Intelligence (1)
- Architecture (1)
REST vs. gRPC
Filed under REST
Compare two architectural styles for web APIs
Capturing Image From Webcam in Java
Filed under Java
Explore a few Java libraries that allow us to capture images by accessing the webcam
JVM Parameters InitialRAMPercentage, MinRAMPercentage, and MaxRAMPercentage
Filed under JVM
Learn about JVM parameters InitialRAMPercentage, MinRAMPercentage, and MaxRAMPercentage for setting the RAM percentages that the JVM will use for the heap
Mapping PostgreSQL Array With Hibernate
Filed under Persistence
Explore a few ways to map the PostgreSQL array with Hibernate
JVM Storage for Static Members
Filed under JVM
Learn about JVM storage for the static methods and members
Java NIO DatagramChannel
Filed under Java IO
Learn about Java NIO’s DatagramChannel class that allows the creation of a datagram channel to send/receive UDP packets
Returning Stream vs. Collection
Filed under Java Collections, Java Streams
Explore Java Streams and Collections and discuss various scenarios that suit their respective uses as return values
A Guide to SAML with Spring Security
Filed under Spring Security
Explore Spring Security SAML with Okta as an identity provider
Baeldung on Kotlin
- All
- Testing (1)
- Spring (1)
- Kotlin-Java Interop (1)
- Kotlin (1)
Guide to Spring Boot Testing with Kotlin
Explore a few unit and integration testing techniques for the Spring Boot app with Kotlin.
Kotlin Interview Questions
Filed under Kotlin
Learn a few typical interview questions categorized into beginner and advanced levels
Java vs. Kotlin
Filed under Kotlin-Java Interop
Learn several key differences between Java and Kotlin, the two most popular languages for the JVM.
Baeldung on Ops
- All
- Kubernetes (1)
Kubernetes with kind
Filed under Kubernetes
Primarily a testing tool for Kubernetes, kind is also handy for local development and CI