Learn about best practices for unit testing in Java.
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
- Programming (14)
- Java (13)
- Persistence (5)
- Java Concurrency (3)
- JVM (3)
- Testing (2)
- Spring Security (2)
- NoSQL (2)
- Java Collections (2)
- DevOps (2)
- Web Services (1)
- Spring Data (1)
- Spring (1)
- Security (1)
- REST (1)
- IDE (1)
- Architecture (1)
Compare two architectural styles for web APIs
Primarily a testing tool for Kubernetes, kind is also handy for local development and CI
Explore a few Java libraries that allow us to capture images by accessing the webcam
Learn about JVM parameters InitialRAMPercentage, MinRAMPercentage, and MaxRAMPercentage for setting the RAM percentages that the JVM will use for the heap
Explore a few ways to map the PostgreSQL array with Hibernate
Learn about JVM storage for the static methods and members
Learn about Java NIO’s DatagramChannel class that allows the creation of a datagram channel to send/receive UDP packets
Explore Java Streams and Collections and discuss various scenarios that suit their respective uses as return values
Explore Spring Security SAML with Okta as an identity provider
Learn about a few bad practices associated with synchronization and the better approaches for each use case
Learn the differences between binary semaphores and reentrant locks and see which one is best suited in common situations
Learn some features offered by Redis and MongoDB and see when to use Redis or MongoDB by comparing them against each other
A quick and practical guide to distributed performance testing with JMeter.
Explore the advantages and disadvantages of performing calculations in the database and application code
Understand the difference between the DAO and Repository patterns with a Java example.
Explore async-profiler along with various profiling techniques it offers
Explore a few ways to compare version strings in Java through various libraries
Explore ways to view the bytecode of a class file in Java
Learn how to integration Auth0 with Spring Security
Explore Spring Security with Okta along with a minimalistic setup of the Okta developer account
Learn about the similarities and differences between Memcached and Redis.
Learn how to configure a Jetty server-side application with HTTP/2 Push support.
In this tutorial, we’ll explore Tesseract, an optical character recognition (OCR) engine, with a few examples of image-to-text processing.
Learn about Takes – an immutable and object-oriented web framework for Java
Learn about the jcabi-aspects Java library, a collection of handy annotations that modify the behavior of Java application using aspect-oriented programming
Learn how to use the Open Liberty framework to create and consume a RESTful web service
Learn about a few ways to achieve asynchronous programming in Java
Learn about the Ninja web framework and the basic features that it provides using a simple web application
Learn about the Apache Tapestry web framework and create a simple web application using the basic features that it provides
Learn how to use Spring Data Geode for the configuration and development of an Apache Geode Java client application
Learn about the Groovy categories metaprogramming feature that can enable additional features on classes
Learn how to work with Web Services in Groovy.
A quick and practical overview of Java Debug Interface.
Explore the concept of runtime and compile-time metaprogramming in Groovy
Learn about lossy conversion in Java and some handy conversion techniques to avoid this error
Ratpack is a set of lightweight Java libraries for building scalable non-blocking HTTP applications. We explore building a Ratpack service in Groovy.
Learn how to handle dynamic text using Groovy template engines
Learn about the def keyword in Groovy
Learn various techniques for making shallow and deep copies of Java’s HashMap
Explore the concept of closures in Groovy, a key feature of this dynamic and powerful JVM language.
Learn how to create traits in Groovy and explore some of their useful features.
Learn various ways to read text and binary files in Groovy
Learn how to convert between a Java float value and a byte array
Baeldung on Kotlin
- Testing (1)
- Kotlin-Java Interop (1)
- Kotlin Web (1)
- Kotlin (1)
Explore a few unit and integration testing techniques for the Spring Boot app with Kotlin.
Learn a few typical interview questions categorized into beginner and advanced levels
Learn several key differences between Java and Kotlin, the two most popular languages for the JVM.