A quick and practical guide to customizing the logback.xml location.
Also find me here:
Baeldung Editor
Grzegorz Piwowarek
A passionate software developer, active community member, conference speaker(DevoxxBE, DevoxxMA, JEEConf, JDD, BuildStuffLT, DevDays, VoxxedDays), metal musician, professional yo-yo player and a former Mensa member who cares about quality, craftsmanship, clean code and getting things done.
Here's what I've reviewed (so far):
Baeldung on Java
- All
- Java (70)
- Spring (54)
- Java String (42)
- Spring Boot (40)
- Core Java (39)
- Testing (37)
- Persistence (31)
- Java IO (27)
- Java Collections (25)
- DevOps (20)
- Security (19)
- Architecture (19)
- Reactive (18)
- REST (18)
- Data (18)
- Algorithms (18)
- Spring MVC (17)
- Java Map (17)
- Java Concurrency (17)
- Spring Security (14)
- NoSQL (13)
- Spring Data (12)
- Spring Web (10)
- Maven (10)
- Jakarta EE (10)
- Java Streams (9)
- Networking (8)
- Java Dates (8)
- Java Array (7)
- JVM (7)
- IDE (7)
- Guava (7)
- JSON (6)
- JPA (6)
- HTTP Client-Side (6)
- Java Numbers (5)
- Gradle (5)
- Spring Cloud (4)
- Logging (4)
- Jackson (4)
- Docker (4)
- XML (3)
- Spring Persistence (3)
- Clojure (3)
- Artificial Intelligence (3)
- Web Services (2)
- Cloud (2)
- Java Web (1)
- Groovy (1)
Polymorphism with Gson
Filed under JSON
A quick and practical guide to handling polymorphic structures with Gson.
SkipList Implementation in Java
Filed under Algorithms
A quick and practical guide to implementing SkipList in Java.
Inter-Process Communication Methods in Java
Filed under Java IO, Networking
A quick and practical guide to inter-process communication in Java.
MongoDB Atlas Search Using the Java Driver and Spring Data
Filed under Spring Data
A quick and practical guide to MongoDB Atlas search with Spring Data.
Implement Connect 4 Game with Java
Filed under Algorithms
A quick and practical guide to implementing Connect 4 Game with Java.
A Guide to RestClient in Spring Boot
Filed under REST, Spring Boot
A quick and practical guide to Spring Boot RestClient.
How to Set Up Environment Variables in IntelliJ IDEA
Filed under IDE
A quick and practical guide to setting up environment variables with Intellij IDEA.
Split Java String Into Key-Value Pairs
Filed under Java String
A quick and practical guide to splitting Java String into key-value pairs.
Convert a String with Unicode Encoding to a String of Letters
Filed under Java String
A quick and practical guide to converting a String with Unicode encoding to a String of letters.
Convert HashMap.toString() to HashMap in Java
Filed under Java Map
A quick and practical guide to converting HashMap.toString() to HashMap in Java.
Spring Boot Application on Liberica Runtime Container
Filed under Docker, Spring Boot
A quick and practical guide to dockerizing a Spring Boot application on on Liberica Runtime Container.
Overview of Mockito MockedConstruction
Filed under Testing
A quick and practical guide to Mockito’s MockedConstruction.
How to Permanently Enable Line Numbers in IntelliJ IDEA?
Filed under IDE
A quick and practical guide on enabling line numbers in IntelliJ IDEA.
CATALINA_OPTS vs. JAVA_OPTS in Apache Tomcat
Filed under DevOps
A quick and practical comparison between CATALINA_OPTS and JAVA_OPTS in Apache Tomcat.
Creating Stream of Regex Matches
Filed under Java Streams
A quick and practical guide to creating a stream of regex matches.
Invoke Spring @Cacheable from Another Method of Same Bean
Filed under Spring Boot
A quick and practical guide to invoking @Cacheable methods from other methods of the same bean in Spring.
Replacing Single Quote with \’ in Java String
Filed under Java String
A quick and practical guide to replacing single quote with \’ in Java strings.
What Is a TLAB or Thread-Local Allocation Buffer in Java?
Filed under JVM
A quick and practical guide to TLAB in Java.
Understanding XSLT Processing in Java
Filed under XML
A quick and practical guide to XSLT processing in Java.
Get a Random Element From a Set in Java
Filed under Java Collections
A quick and practical guide to getting a random Set element in Java.
Convert Epoch Time to LocalDate and LocalDateTime
Filed under Java Dates
A quick and practical guide to converting epoch time to LocalDate and LocalDateTime in Java.
Sorting Java Map in Descending Order
Filed under Java Map
A quick and practical guide to sorting Java Map in descending order.
Creating a Magic Square in Java
Filed under Algorithms
A quick and practical guide to creating a magic square in Java.
Convert List to Long[] Array in Java
Filed under Java Array
A quick and practical guide to converting List to Long[] Array in Java.
HashMap with Multiple Values for the Same Key
Filed under Java Map
A quick and practical guide to HashMap with multiple values per key.
Why There Is No Sorted List in Java?
Filed under Java Collections
A quick but comprehensive explanation of why there’s no SortedList in Java.
Introduction to Avaje Inject
Filed under Java
A quick and practical guide to Avaje Inject.
Parameterized Logging With SLF4J
Filed under Logging
A quick and practical guide to parameterized logging with SLF4J.
Converting String or String Array to Map in Java
Filed under Java String
A quick and practical guide to converting String or String Array to Map in Java.
Scroll API in Spring Data JPA
Filed under Spring Data
A quick and practical guide to Scroll API in Spring Data JPA.
Pagination in Spring Webflux and Spring Data Reactive
Filed under Spring Data
A quick and practical guide to pagination in Spring Webflux and Spring Data Reactive.
Escape HTML Symbols in Java
Filed under Java String
A quick and practical guide to escaping HTML symbols in Java.
Property-Based Testing with jqwik
Filed under Testing
A quick and practical guide to property-based testing with jqwik.
Check if a String Has All Unique Characters in Java
Filed under Java String
A quick and practical guide to checking if a String has all unique characters in Java.
Converting JsonNode Object to Map
A quick and practical guide to converting JsonNode to Map in Java.
Difference between Gson @Expose and @SerializedName
Filed under JSON
A quick and practical comparison between Gson @Expose and @SerializedName
Difference Between Map.clear() and Instantiating a New Map
Filed under Java Map
A quick and practical comparison between Map.clear() and creating a new Map.
Introduction to JeroMQ
Filed under Data
A quick and practical guide to JeroMQ, a pure Java implementation of ZeroMQ.
Convert One Enum to Another Enum in Java
Filed under Java
A quick and practical guide to convert one enum to another.
How to Deep Copy an ArrayList in Java
Filed under Java Collections
A quick and practical guide to deep-copying an ArrayList in Java.
Accessing Session Attributes in Thymeleaf
Filed under Spring MVC
A quick and practical guide to accessing session attributes in Thymeleaf.
Introduction to Selenide
Filed under Testing
A quick and practical guide to Selenide.
Check if a String Contains Non-Alphanumeric Characters
Filed under Java String
A quick and practical guide to checking if a String contains non-alphanumeric characters.
How to Read Zip Files Entries With Java
Filed under Java IO
A quick and practical guide to reading zip files in Java.
MongoDB – Field Level Encryption
Filed under NoSQL
A practical guide to field-level encryption with MongoDB.
Cognitive Complexity and Its Effect on the Code
Filed under Architecture
A quick and practical guide to cognitive complexity.
Add a Checked Attribute to Input Conditionally in Thymeleaf
Filed under Spring MVC
A quick and practical guide to conditionally adding a checked attribute to input in Thymeleaf.
Fix “Command Line is Too Long” in IntelliJ
Filed under IDE
A quick and practical guide to solving the “Command Line is Too Long” issue in IntelliJ IDEA.
The Difference Between findById and getById in Spring Data
Filed under Spring Data
A quick and practical comparison of findById and getById methods in Spring Data.
Configuring Gradle Tasks in Spring Boot 3
Filed under Gradle, Spring Boot
A quick and practical guide to configuring Gradle tasks in Spring Boot 3.
Securing Spring Boot API With API Key and Secret
Filed under Spring Boot, Spring Security
A quick and practical guide to securing Spring Boot APIs with API keys and secrets.
Spring Boot Actuator Without Spring Boot
Filed under Spring Boot
A quick and practical guide to Spring Actuator, but without Spring Boot.
Encoding Special Characters in XML
Filed under XML
A quick and practical guide to encoding special characters in XML.
Converting a cURL Into Postman and Vice Versa
Filed under Testing
A quick and practical guide to converting curl requests into Postman.
Self-Injection With Spring
Filed under Spring
A quick and practical guide to self-injection in Spring.
Introduction to Spring Modulith
Filed under Architecture, Spring Boot
A quick and practical guide to Spring Modulith.
Custom Protocol Mapper with Keycloak
Filed under Security
A quick and practical guide to using custom protocol mappers with Keycloak.
URL Query Manipulation in Java
Filed under Java, Networking
A quick and practical guide to URL manipulation in Java.
Cancel an Ongoing Flux in Spring WebFlux
Filed under Reactive, Spring Web
A quick and practical guide to cancelling Flux in Spring Webflux.
Get All Cached Keys with Caffeine Cache in Spring Boot
Filed under Spring Boot
A quick and practical guide to getting all cached keys in the Caffeine Cache when used with Spring’s Cache.
Possible Root Causes for High CPU Usage in Java
Filed under Core Java
A quick and practical guide to potential causes of high CPU usage.
Resilience4j Events Endpoints
Filed under Networking, Spring Boot
A quick and practical guide to Resilience4j events and endpoints for listing them in SpringBoot applications.
Use Mapper in Another Mapper with Mapstruct and Java
Filed under Java
A quick and practical guide to constructing complex nested mappers with MapStruct.
Remove Entity with Many-to-Many Relationship in JPA
Filed under JPA
A quick and practical guide to removing entity with many-to-many relationships in JPA.
Find the N Most Frequent Elements in a Java Array
Filed under Java Array
A quick and practical guide to finding n most frequent elements in a Java array.
Add Field to an Existing MongoDB Bson Filter in Java
Filed under NoSQL
A quick and practical guide to adding a field to an existing MongoDB bson filter.
TRUNCATE TABLE in Spring Data JPA
Filed under Spring Data
A quick and practical guide to truncating table in Spring Data JPA.
Get the Desktop Path in Java
Filed under Java
A quick and practical guide to getting desktop path in Java.
Debugging Spring Method Annotations Using Lightrun
Filed under Spring
A practical guide to debugging Spring method annotations using Lightrun.
Exclude a Dependency in a Maven Plugin
Filed under Maven
A quick and practical guide to excluding a transitive dependency from a Maven plugin.
VarArgs vs Array Input Parameters in Java
Filed under Core Java
A quick and practical comparison between varargs and arrays as input parameters.
Getting Started With RethinkDB
Filed under NoSQL
A quick and practical guide to RethinkDB.
Difference Between Class.forName() and Class.forName().newInstance()
Filed under JVM
A quick and practical comparison between Class.forName() and Class.forName().newInstance()
Callback Functions in Java
Filed under Core Java
A quick and practical guide to callback functions in Java.
Spring Boot Logback and Log4j2 Extensions
Filed under Logging, Spring Boot
A quick and practical guide to Spring Boot and its logging extensions.
Lambda Expression vs. Anonymous Inner Class
Filed under Core Java
A quick and practical comparison between lambda expressions and anonymous inner classes.
Comparing Two JAR Files in Java
Filed under Java
A quick and practical guide to comparing JAR files.
Common Exceptions of Crypto APIs in Java
Filed under Security
A quick and practical guide to some common exceptions that can occur while working with encryption in Java.
Observability With Spring Boot 3
Filed under Spring Boot
A quick and practical guide to observability with Spring Boot 3.
Getting a Value in JSONObject
Filed under JSON
A quick and practical guide to getting a value from JSONObject.
Reading and Writing With a ConcurrentHashMap
Filed under Java Map
A quick and practical guide to reading and writing from a hash table data structure in a thread-safe way using the ConcurrentHashMap class.
Java Program to Print Pascal’s Triangle
Filed under Algorithms
A quick and practical guide to implementing Pascal’s Triangle in Java.
Reversing a Stack in Java
Filed under Java Collections
A quick and practical guide to reversing a Stack in Java.
Set the Date Format Using Apache POI
Filed under Java IO
A quick and practical guide to configuring date format with Apache Poi.
Guide to Java PriorityQueue
Filed under Java Collections
A quick and practical guide to Java’s PriorityQueue.
Strong, Weak, Soft, and Phantom References in Java
Filed under Core Java
A quick and practical overview of all reference types in Java.
BuildScripts Blocks in Gradle
Filed under Gradle
A quick and practical guide to BuildScripts Blocks in Gradle.
Retry with Delay in RxJava
Filed under Reactive
A quick and practical guide to retrying with delay in RxJava.
Kafka’s Shift from ZooKeeper to Kraft
Filed under Architecture
A comprehensive explanation of Kafka’s Shift from ZooKeeper to Kraft.
Generate Unique ObjectId in MongoDB
Filed under NoSQL
A quick and practical guide to generating unique ObjectId in MongoDB.
Convert String to Instant
Filed under Java Dates, Java String
Learn how to convert String to Instant with Java.
Mocking Java InputStream Object
A quick and practical guide to mocking InputStream objects in Java.
Port Scanning With Java
Filed under Java, Networking
A quick and practical guide to port scanning in Java.
Writing a List of Strings Into a Text File
Filed under Java Collections
A quick and practical guide to writing a List of Strings into a text file.
Getting a URL Attribute Value in Thymeleaf
Filed under Spring
A quick and practical guide to getting a URL attribute value in Thymeleaf.
What Is the null Type in Java?
Filed under Java
A quick and practical guide to null in Java.
Generate the MD5 Checksum for a File in Java
A quick and practical guide to generating the MD5 checksum for files in Java.
Building IoT Applications Using Fauna and Spring
Filed under Spring
An introduction to building IoT applications using Fauna and Spring.
Replace Element at a Specific Index in a Java ArrayList
Filed under Java Collections
A quick and practical guide to replacing elements at a specific index in a Java ArrayList.
Dockerizing a Java Application
Filed under Docker
A quick and practical guide to dockerizing a Java application.
Upload Image With Spring Boot and Thymeleaf
Filed under Spring Web
A quick and practical guide to uploading images with Spring and Thymeleaf.
Import Swagger APIs into Postman
Filed under Spring
A quick and practical guide how to import Swagger APIs to Postman.
Implementing a Map with Multiple Keys in Java
Filed under Java Map
A practical guide to using multiple keys in a map.
Why Maven Doesn’t Find JUnit Tests to Run
Filed under Maven
A practical guide to solving Maven test running issues.
Using @NotNull on a Method Parameter
Filed under Spring Boot
A guide to using @NotNull on method parameters.
Custom HTTP Header With the Java HttpClient
Filed under HTTP Client-Side, Networking
A quick and practical guide to adding custom headers to HTTP requests with Java’s HttpClient.
Apache ActiveMQ vs. Kafka
Filed under Architecture
A comparison between Apache ActiveMQ and Kafka.
JPA and Hibernate – Criteria vs. JPQL vs. HQL Query
Filed under JPA
A comparison between Criteria Query, JPQL, and HQL Query.
Finding All Beans with a Custom Annotation
Filed under Spring
A quick and practical guide to finding all custom-annotated beans in Spring.
Get the ASCII Value of a Character in Java
Filed under Java
A quick and practical guide to getting ASCII value of a char in Java.
Error Handling in GraphQL With Spring Boot
Filed under Spring
A practical guide to GraphQL error handling with Spring Boot.
Java Scanner.skip Method with Examples
Filed under Java IO
A quick and practical guide to Java Scanner’s skip() method.
Implements vs. Extends in Java
Filed under Core Java
A quick and practical comparison between the implements and extends keywords in Java.
Distinct Queries in HQL
Filed under Persistence
A quick and practical guide to distinct queries in HQL.
Hide a Request Field in Swagger API
Filed under REST
A quick and practical guide to hiding a request field in Swagger UI.
Compile All Java Classes in Directory Structure with javac
Filed under Java
A quick and practical overview of how to compile all classes inside a directory using javac.
Convert long to int Type in Java
Filed under Java Numbers
A quick and practical guide to long to int conversion in Java.
Guide to ByteBuffer
Filed under Java IO
A quick and practical guide to ByteBuffers.
Building a Web App Using Fauna and Spring for Your First Web Agency Client
Filed under Persistence, Spring
A comprehensive example of a web app with FaunaDB.
Create a Simple “Rock-Paper-Scissors” Game in Java
Filed under Algorithms
A quick example of the Rock-Paper-Scissors implementation in Java.
Producer-Consumer Problem With Example in Java
Filed under Algorithms, Java Concurrency
A quick and practical guide to Producer-Consumer problem in Java.
Convert Between Byte Array and UUID in Java
Filed under Java
A quick and practical conversion guide between byte arrays and UUID.
Computing an X509 Certificate’s Thumbprint in Java
Filed under Security
A quick and practical guide to computing an X509 certificate’s thumbprint in Java.
Generating a Secure AES Key in Java
Filed under Security
A quick and practical guide to generating a secure AES key in Java.
Hidden Classes in Java 15
Filed under Core Java
A quick and practical guide to Java 15’s Hidden Classes.
Introduction to FaunaDB with Spring
An introduction to FaunaDB and how to integrate it into a Spring application.
SequenceInputStream Class in Java
Filed under Java IO
A quick and practical guide to Java SequenceInputStream class.
Multiple Line Code Example in Javadoc Comment
Filed under Java
A quick and practical tutorial to embedding code samples in JavaDoc comments.
Replication Strategies and Partitioning in Cassandra
Filed under NoSQL
A quick and practical overview of replication strategies in Cassandra.
Use Dot “.” as the Decimal Separator in Java
Filed under Java Numbers
A quick and practical guide to using dot as decimal separator in Java.
Simulate touch Command in Java
Filed under Java IO
A quick and practical guide to mimicking “touch” behavior in Java.
Remote Monitoring with VisualVM and JMX
Filed under DevOps
A practical guide to remote monitoring of Java applications with VisualVM.
Custom Validation with Swagger Codegen
Filed under REST
A quick and practical guide to applying custom validation to Swagger Codegen.
Convert a ByteBuffer to String in Java
Filed under Java String
A quick and practical guide to ByteBuffer -> String conversion in Java.
Set Background Color of a Cell with Apache POI
Filed under Java IO
Learn how to change the cell background color in Excel using Apache POI.
Constructors in Java Abstract Classes
Filed under Core Java
A quick and practical guide to using constructors in abstract classes.
CSRF With Stateless REST API
Filed under REST, Spring Boot
A quick investigation if stateless REST API can be vulnerable to CSRF attacks.
Request Routing and Snitches in Cassandra
Filed under NoSQL
Learn about the job of a snitch and how Cassandra uses it to efficiently route requests.
Remove Beginning and Ending Double Quotes from a String
Filed under Java String
Learn different approaches for removing the beginning and ending double quotes from a String in Java.
Convert an Object to a Byte Array in Java
Filed under Java Array
A quick and practical guide to converting objects into byte arrays in Java.
Format Swagger Text Descriptions
Filed under REST
A quick and practical guide to formatting Swagger descriptions.
Remove an Entry from a Java HashMap
Filed under Java Map
Learn different ways to remove an entry from a Java HashMap.
Spring Boot vs Quarkus
Filed under Spring
A practical comparison between Spring Boot and Quarkus, with a focus on performance.
Using a Custom Class as a Key in a Java HashMap
Filed under Java Map
Learn how to use custom classes as keys in Maps in Java.
Get the Last Word of a String
Filed under Java String
A quick and practical overview of getting the last word of a String in Java.
Convert Long to String in Java
Filed under Java Numbers
A quick and practical overview of converting Long to String in Java.
Get a Submap From a HashMap in Java
Filed under Java Map
A quick and practical guide to deriving a submap from a HashMap in Java.
Streaming with gRPC in Java
Filed under Java
A quick and practical guide to gRPC streaming in Java.
Get All Running JVM Threads
Filed under JVM
A quick and practical guide to listing all JVM threads.
Different Log4j2 Configurations per Spring Profile
Filed under Spring
A quick and practical guide to configuring different Log4j2 configs per Spring profile.
Guide to mapMulti in Stream API
Filed under Java Streams
A quick and practical guide to the new Stream.mapMulti method in Java.
Compare the Content of Two Files in Java
Filed under Java IO
A quick and practical guide to comparing the contents of two files in Java.
Introduction to ksqlDB
Filed under Data
Explore the fundamental concepts of ksqlDB with a sample application.
Hosting a Maven Repository on GitHub
Filed under Maven
A quick and practical guide to hosting Maven repositories on GitHub.
Bitmasking in Java with Bitwise Operators
Filed under Java
A quick and practical guide to low-level bitmasking using bitwise operators.
How to Create Password-Protected Zip Files and Unzip Them in Java
A quick and practical guide to working with password-protected ZIP files in Java.
Trusting a Self-Signed Certificate in OkHttp
Filed under Security
Learn how to configure an OkHttpClient to trust self-signed certificates
Calling a SOAP Web Service from the Command Line
Filed under Web Services
A quick and practical guide to calling SOAP WebServices from the command line.
Architecture of a Geospatial Application with Java
Filed under Architecture
A comprehensive introduction to geospatial applications in Java.
How to Implement LRU Cache in Java
Filed under Algorithms
A guide to implementing an LRU cache in Java.
Valid @SuppressWarnings Warning Names
Filed under Java
A quick and practical guide to @SuprressWarnings and its parameters.
Creating a Self-Signed Certificate With OpenSSL
Filed under Security
A quick and practical guide to creating self-signed certificates with OpenSSL.
Static Classes Versus the Singleton Pattern in Java
Filed under Java
Understanding how static classes and the Singleton design pattern compare in Java
Additional Source Directories in Maven
Filed under Maven
Learn how to configure additional source directories in Maven.
Send Large Messages With Kafka
Filed under Data
A quick and practical explanation of how to send large messages with Kafka.
Generating Alphanumeric UUID String in Java
Filed under Java String
A practical comparison of various UUID generation methods in Java.
Collection.toArray(new T[0]) or .toArray(new T[size])
Filed under Java Array
A quick and practical comparison of various toArray methods and which one to use.
Java DocLint
Filed under Java
Learn how to use Java DocLint to analyze your Javadoc.
Wire Tap Enterprise Integration Pattern
Filed under Architecture
A guide to the
Wire Tap Enterprise Integration Pattern (EIP)
Iterate Over a Set in Java
Filed under Java Collections
Learn look at how to iterate over the elements of a Set in Java.
Observability in Distributed Systems
Filed under Architecture, DevOps
A comprehensive dive into observability in distributed systems.
Spring Validation in the Service Layer
Filed under Spring
A quick and practical introduction to service layer validation in Spring.
Project Reactor: map() vs flatMap()
Filed under Reactive
Understand the map() and flatMap() methods from Project Reactor.
Secret Key and String Conversion in Java
Filed under Security
A quick and practical introduction to secret key and string conversion in Java.
Common Shortcuts in IntelliJ IDEA
Filed under IDE
A quick and practical guide to Intellij IDEA shortcuts.
Java Class File Naming Conventions
Filed under Core Java
Understand autogenerated class naming conventions in Java.
How to Check if a Database Table Exists with JDBC
Filed under Persistence
Have a look at how we can check if a table exists in the database using JDBC and pure SQL.
How Many Threads Can a Java VM Support?
Filed under JVM
A quick and practical overview of how many threads can JVM create.
Optimizing HashMap’s Performance
Filed under Java Map
A quick and practical introduction to HashMap performance optimization.
IoT Data Pipeline with MQTT, NiFi, and InfluxDB
Filed under Architecture
A quick and practical overview of an IoT Data Pipeline with MQTT, NiFi, and InfluxDB.
Distributed Performance Testing with Gatling
Filed under Testing
A quick and practical introduction to distributed performance testing with Gatling.
Overview of Mockito MockSettings
Filed under Testing
A quick and practical overview of Mockito MockSettings.
Introduction to JVM Intrinsics
Filed under JVM
A quick and practical overview of intrinsics and how they work in Java.
Using a Byte Array as Map Key in Java
Filed under Java Map
Learn how to use a byte array as a key in a Java HashMap.
Running Spring Boot with PostgreSQL in Docker Compose
Filed under Docker, Persistence, Spring Boot
A quick and practical guide to running Spring Boot with PostgreSQL in Docker Compose.
Security Context Basics: User, Subject and Principal
Filed under Security
A quick overview of basic terms associated with the security context.
Performance Difference Between save() and saveAll() in Spring Data
Filed under Persistence, Spring Data
A quick and practical performance comparison between save() and saveAll() in Spring Data.
Functional Programming in Java
Filed under Core Java
A comprehensive overview of Functional Programming in Java.
Distributed Performance Testing with JMeter
Filed under Testing
A quick and practical guide to distributed performance testing with JMeter.
Object States in Hibernate’s Session
Filed under Persistence
A quick and practical guide to Hibernate’s Session object states.
Find the Kth Smallest Element in Two Sorted Arrays in Java
Filed under Algorithms
A quick and practical guide to finding the k-th smallest element in two sorted arrays.
Introduction to Spring Data JDBC
Filed under Spring Data
A quick and practical guide to Spring Data JDBC.
Introduction to Transactions in Java and Spring
Filed under Architecture, Java
A quick and practical guide to transactions in Java and Spring.
Interface Segregation Principle in Java
Filed under Java
A quick and practical guide to the Interface Segregation Principle in Java.
Reactive Systems in Java
Filed under Architecture, Reactive
A quick and practical overview of reactive systems in Java.
Class.isInstance vs Class.isAssignableFrom and instanceof
Filed under Core Java
A quick and practical overview of Class.isInstance and Class.isAssignableFrom methods.
Implementing a 2048 Solver in Java
Filed under Algorithms, Java
A quick and entertaining implementation guide for 2048 solver in Java.
Spring RestTemplate Request/Response Logging
A quick and practical guide to RestTemplate logging.
Event-Driven Data with Apache Druid
Filed under Data
A comprehensive guide to Apache Druid.
Introduction to Exchanger in Java
Filed under Java Concurrency
A quick and practical guide to the Exchanger class in Java.
@PropertySource with YAML Files in Spring Boot
Filed under Spring Boot
A quick and practical guide to handling YAML files with @PropertySource in Spring Boot.
Finding an Object’s Class in Java
Filed under Java
A quick and practical guide to finding an object’s class in Java.
Introduction to Lock-Free Data Structures with Java Examples
Filed under Algorithms, Java
A quick and practical guide to lock-free data structures in Java.
Transactional Annotations: Spring vs. JTA
Filed under Persistence, Spring
A quick and practical comparison of various @Transactional annotations.
Building a Java Application With Gradle
Filed under Gradle
A quick and practical guide to building Java applications in Gradle.
Single Responsibility Principle in Java
Filed under Java
A quick and practical guide to the Single Responsibility Principle in Java
Disable Security for a Profile in Spring Boot
Filed under Spring Security
A quick and practical guide to disabling Spring Security for a specific profile in Spring Boot.
Using ThymeLeaf and FreeMarker Emails Templates with Spring
Filed under Spring
A quick and practical guide to using ThymeLeaf and FreeMarker emails templates with Spring.
A Guide to Atomikos
Filed under Persistence
A comprehensive guide to Atomikos.
Hibernate Error “No Persistence Provider for EntityManager”
Filed under Persistence
A quick explanation and solution for the “No Persistence Provider for EntityManager” error.
Recommended Package Structure of a Spring Boot Project
Filed under Spring Boot
A quick and practical overview of a recommended package structure for Spring Boot projects.
Introduction to Mockito’s AdditionalAnswers
Filed under Testing
A quick and practical guide to Mockito’s AdditionalAnswers.
BSON to JSON Document Conversion in Java
Filed under NoSQL
A quick and practical guide to BSON to JSON conversion in Java.
Spring Configuration Bootstrap vs Application Properties
Filed under Spring Boot, Spring Cloud
A quick overview of context hierarchies in Spring Cloud.
Introduction to Guava Throwables
Filed under Guava
A quick and practical introduction to Guava Throwables.
How to Determine Day of Week by Passing Specific Date in Java?
Filed under Java Dates
A quick and practical guide to determining the day of the week in Java.
Testing Multi-Threaded Code in Java
Filed under Java Concurrency
A comprehensive guide to testing multithreaded code in Java.
Difference Between Thread and Virtual Thread in Java
Filed under Java Concurrency
A quick and practical comparison between Threads and Virtual Threads in Java.
Design Principles and Patterns for Highly Concurrent Applications
Filed under Architecture, Java Concurrency
A quick and practical overview of design principles for highly concurrent applications!
Getting Started with CRaSH
Filed under JVM
A quick and practical guide to CRaSH.
Add Build Properties to a Spring Boot Application
Filed under Spring Boot
A quick and practical introduction of using build properties in a Spring Boot application.
How to Create a Slack Plugin in Java
A quick and practical overview of how to create a Slack plugin in Java.
Java Preview Features
Filed under Core Java
A quick and practical overview of Java preview features.
Java Do-While Loop
Filed under Core Java
A quick and practical guide to Java while loops
Java While Loop
Filed under Core Java
A quick and practical guide to Java while loops
Java For Loop
Filed under Core Java
A quick and practical guide to Java for loops
Branch Prediction in Java
Filed under Algorithms
A quick and practical overview of branch prediction in Java.
Quick Guide to the Java Stack
Filed under Java Collections
A quick and practical guide to common operations of the java.util.Stack.
Various Logging Levels in Hibernate
Filed under Logging, Persistence
A quick and practical overview of various logging levels in Hibernate.
Object-Oriented-Programming Concepts in Java
Filed under Core Java
A quick and practical overview of OOP concepts in Java.
Clean Coding in Java
Filed under Architecture, Java
An overview of clean coding practices in Java.
Hibernate @NotNull vs @Column(nullable = false)
Filed under Persistence
A quick and practical overview of @NotNull and @Column(nullable = false) in Java.
Overflow and Underflow in Java
Filed under Java
A quick and practical overview of overflow and underflow in Java.
Implementing A* Pathfinding in Java
Filed under Algorithms
A quick and practical overview of A* Pathfinding Algorithm in Java.
Practical Application of Test Pyramid in Spring-based Microservice
Filed under Architecture, Spring
A quick and practical overview of the optimal testing pyramid.
The Spring TestExecutionListener
A quick and practical overview of Spring’s TestExecutionListener.
Configuring Skip Logic in Spring Batch
Filed under Spring
A quick and practical overview of configuring skip logic in Spring Batch.
Intro to the Java SecurityManager
Filed under Security
A quick and practical overview of Java SecurityManager.
A Guide to Java HashMap
Filed under Java Map
A quick and practical overview of Java HashMap.
Threading Models in Java
Filed under Java Concurrency
A quick and practical overview of threading models in Java.
How to Change the Java Version in an IntelliJ Project
Filed under IDE
A quick and practical overview of how to change the Java version in an IntelliJ project.
Grouping Jakarta (Javax) Validation Constraints
Filed under Jakarta EE
A quick and practical overview of grouping Javax validation constraints.
Bucket Sort in Java
Filed under Algorithms, Java
A quick and practical overview of Bucket Sort algorithm in Java.
Twelve-Factor Methodology in a Spring Boot Microservice
Filed under Architecture, REST, Spring Boot
A quick and practical overview of twelve-factor approach when developing Spring Boot microservices.
Implementing a Simple Blockchain in Java
Filed under Java
A simple reference implementation of a simple blockchain in Java.
Machine Learning with Spark MLlib
Filed under Artificial Intelligence
A quick and practical introduction to Machine Learning with Spark MLlib.
An Intro to the Java Debug Interface (JDI)
Filed under Java
A quick and practical overview of Java Debug Interface.
Isomorphic Application with React and Nashorn
Filed under Spring Web
Learn how to use the Nashorn engine along with React to create an isomorphic app.
A Guide to Java GSS API
Filed under Security
A quick and practical overview of Java GSS Api.
Javax BigDecimal Validation
Filed under Java Numbers
A quick and practical overview of BigDecimal validation using Javax.
An Introduction to Java SASL
A quick and practical overview of Java SASL – Simple Authentication and Security Layer.
Sorting Strings by Contained Numbers in Java
Filed under Java String
A quick and practical tutorial to sorting Strings by contained numbers in Java.
The Basics of Java Security
Filed under Security
A quick and practical overview of Java security basics.
R2DBC – Reactive Relational Database Connectivity
Filed under Persistence, Reactive, Spring
A quick and practical overview of R2DBC – reactive database connectivity.
Creating the Java Builder for a Class in IntelliJ
Filed under IDE
A quick and practical introduction to creating Java class builders with Intellij IDEA.
Spring Request Parameters with Thymeleaf
Filed under Spring Web
Learn how to use request parameters with Spring and Thymeleaf.
Using a Spring Boot Application as a Dependency
Filed under Spring Boot
A quick and practical example of using Spring Boot application as a dependency.
Embedded Redis Server with Spring Boot Test
Filed under Spring Boot, Testing
A quick and practical overview of using embedded Redis with Spring Boot.
Introduction to Morphia – Java ODM for MongoDB
Filed under NoSQL
A quick and practical overview of Morphia – a Java ODM for MongoDB.
Quick Guide to EasyRandom in Java
Filed under Testing
A quick and practical overview of EasyRandom in Java.
Why Choose Spring as Your Java Framework?
Filed under Spring
A quick and practical overview of the main value proposition of Spring framework.
The Difference Between Collection.stream().forEach() and Collection.forEach()
Filed under Java Collections
A quick and practical overview of the difference between Collection.stream().forEach() and Collection.forEach().
Guide to @EnableConfigurationProperties
Filed under Spring
A quick and practical overview of @EnableConfigurationProperties in Spring.
Overview of JPA/Hibernate Cascade Types
Filed under JPA
A quick and practical overview of JPA/Hibernate Cascade Types.
Converting JSON to CSV in Java
A quick and practical overview of converting JSON to CSV in Java.
Will an Error Be Caught by Catch Block in Java?
Filed under Java
A quick and practical introduction to Java Errors.
Persisting Enums in JPA
Filed under JPA
A quick and practical guide to persisting enums in JPA.
Guide to FastUtil
Filed under Java Collections
A quick and practical overview of FastUtil.
Writing Clojure Webapps with Ring
Filed under Clojure
A practical and not-so-quick introducing to Clojure Ring.
Introduction to SPNEGO/Kerberos Authentication in Spring
Filed under Spring Security
A quick and practical overview of Spring Security and Kerberos integration.
Spring Data JPA Projections
Filed under Spring
A quick and practical overview of Spring Data JPA Projections.
Introduction to Flowable
Filed under Spring Boot
A quick and practical overview of Flowable with Spring Boot.
Spring Security Kerberos Integration With MiniKdc
A quick and practical overview of Spring Security integration with Kerberos.
REST vs WebSockets
Filed under REST
A comprehensive overview of differences between HTTP REST APIs and WebSockets.
Spring Cloud Data Flow With Apache Spark
Filed under Spring Cloud
A quick and practical introduction to Spring Cloud Data Flow with Apache Spark.
Reversing a Binary Tree in Java
Filed under Java
A quick and practical guide to reversing a binary tree in Java.
Introduction to Project Amber
Filed under Core Java
A quick and practical overview of Project Amber for Java.
Introduction to Tensorflow for Java
Filed under Java
A quick and practical overview of Tensorflow for Java
Making a JSON POST Request With HttpURLConnection
Filed under HTTP Client-Side
A quick and practical introduction to issuing POST requests using HttpURLConnection.
Introduction to Leiningen for Clojure
Filed under Clojure
A quick and practical overview of Leiningen for Clojure.
Ahead of Time Compilation (AoT)
Filed under JVM
A quick and practical overview of the concept of Ahead of Time Compilation.
Preventing Username Enumeration Attacks with Spring Security
Filed under Spring Security
A quick and practical overview of securing our Spring applications against enumeration attacks.
Method References in Java
Filed under Core Java
A quick and practical overview of method references in Java.
A Solid Guide to SOLID Principles
Filed under Architecture
A quick and practical introduction to SOLID with examples.
Introduction to Clojure
Filed under Clojure
A comprehensive introduction to Clojure programming language.
Finding Leap Years in Java
Filed under Java Dates
A quick and practical guide to finding leap years in Java.
Summing Numbers with Java Streams
Filed under Java Streams
A quick and practical guide to summing numbers with Java Stream API.
Spring Boot Ehcache Example
Filed under Spring Boot
A quick and practical guide to using Spring with Ehcache.
Building a Data Pipeline with Kafka, Spark Streaming and Cassandra
A quick overview of a streaming pipeline build with Kafka, Spark, and Cassandra.
How to Write to a CSV File in Java
Filed under Java IO
A quick and practical guide to writing to CSV in Java.
Intro to Derive4J
Filed under Java
A quick and practical overview of Derive4j.
Guide to the Java Queue Interface
Filed under Java Collections
A quick tour around Java Queue interface and its implementations.
Spring Boot Interview Questions
Filed under Spring Boot
A practical overview of most popular Spring Boot interview questions (with answers).
Permutations of an Array in Java
Filed under Java Array
A quick and practical guide to generating array permutations in Java.
Java @SafeVarargs Annotation
Filed under Core Java
Learn about the @SafeVarargs annotation in Java
Java @SuppressWarnings Annotation
Filed under Core Java
Learn how to use the @SuppressWarnings annotation
Java @Override Annotation
Filed under Core Java
Have a look at how to use the @Override annotation in Java
BufferedReader vs Console vs Scanner in Java
Filed under Java IO
A quick and practical comparison of BufferedReader, Console, and Scanner in Java.
Java EE 7 Batch Processing
Filed under Jakarta EE
A quick and practical introduction to batch processing in Java EE7.
Java Interview Questions
Filed under Java
Learn the answers to common Java interview questions
The Difference Between JPA, Hibernate and EclipseLink
Filed under JPA
A quick comparison between JPA, Hibernate and EclipseLink.
Spring Null-Safety Annotations
Filed under Spring
A quick and practical guide to null-safety annotations in Spring.
A Guide to Spring Session Reactive Support: WebSession
Filed under Spring Web
A quick and practical introduction to Spring Session reactive support.
Logging to Graylog with Spring Boot
Filed under DevOps, Spring Boot
See how to save logs to Graylog from a Spring Boot application.
What Is a Spring Bean?
Filed under Spring
A quick and practical explanation of what a Spring Bean is.
Guide to AWS Aurora RDS with Java
A quick and practical guide to AWS Aurora RDS with Java.
Guide to java.lang.Process API
Filed under Java
A quick and practical guide to Java Process API.
An Introduction to Apache Commons Lang 3
Filed under Java Array, Java String
A quick and practical overview of the Apache Commons Lang 3 library.
Brief Introduction to Java Thread.yield()
Filed under Core Java
A quick and practical over of Thread.yield() method.
A Guide to OptaPlanner
Filed under Algorithms, Java
An introduction to the OptaPlanner library with a basic example of optimizing resource planning
Java Primitives Versus Objects
Filed under Core Java
A quick and practical comparison of objects and primitives in Java.
Remove All Occurrences of a Specific Value from a List
Filed under Java Collections
In this tutorial, we’ll see multiple solutions to efficiently removing all occurrences of a value, describing the pros and cons.
Spring Webflux and CORS
Filed under Spring Web
A quick and practical guide to working with CORS and Spring Webflux.
Spring REST and HAL Browser
Discover how to explore REST APIs using a HAL browser.
Monitoring Disk Usage and Other Metrics in Java
Filed under DevOps
A quick and practical guide to monitoring key metrics in Java.
How to Get the Size of an Object in Java
Filed under Core Java
A quick and practical guide to getting object’s size in Java.
Performance of Java Mapping Frameworks
Filed under Data
Compare the performance of the most popular Java mapping frameworks.
Visitor Design Pattern in Java
Filed under Java
A quick and practical overview of the Visitor design pattern in Java.
New Features in Java 10
Filed under Core Java
A quick and practical overview of the new functionality in Java 10.
Java 10 Performance Improvements
Filed under Core Java
A quick overview of JDK 10 performance improvements.
Java 10 LocalVariable Type-Inference
Filed under Core Java
A quick and practical guide to Java 10 Local Variable Type Inference.
Introduction to AutoFactory
Filed under Java
A quick and practical introduction to Autofactory.
Java Streams vs Vavr Streams
Filed under Java Streams
A comprehensive overview of two different Stream implementations.
A Quick Example of Spring Websockets’ @SendToUser Annotation
Filed under Spring
A quick and practical guide to Spring 5’s @SendToUser annotation.
How to Store Duplicate Keys in a Map in Java?
A quick and practical guide to handling duplicate keys by using multimaps in Java.
How to Define a Spring Boot Filter?
Filed under Spring Boot
A quick and practical guide on defining a custom Spring Boot filter.
Introduction to SSL in Java
Filed under Security
A quick and practical introduction to SSL in Java.
A Guide to Apache Ignite
Filed under Persistence
A quick and practical guide to Apache Ignite.
Obtaining Auto-generated Keys in Spring JDBC
Filed under Spring Persistence
A quick and practical guide to getting autogenerated keys when working with Spring JDBC.
A Guide to the JSTL Library
Filed under Jakarta EE
A comprehensive overview of the JSTL tag library.
Filtering Observables in RxJava
Filed under Reactive
A practical reference for filtering Observables in RxJava.
Introduction to EasyMock
Filed under Testing
A quick and practical guide to EasyMock – another mocking library for Java.
Creating and Deploying Smart Contracts with Solidity
See how to create a Smart Contract and interact with it using Java.
Introduction to RxRelay for RxJava
Filed under Reactive
A quick and practical introduction to RxRelay.
Spring Data with Spring Security
Filed under Spring Data, Spring Security
See how to integrate Spring Data with Spring Security.
Multipart Uploads in Amazon S3 with Java
Filed under DevOps
See how to handle multipart uploads in Amazon S3 with AWS Java SDK.
A Guide to Unirest
Filed under HTTP Client-Side
Discover Unirest – a lightweight HTTP client library.
Maven Dependency Scopes
Filed under Maven
A quick and practical guide to dependency scopes in Maven.
Assertions in JUnit 4 and JUnit 5
Filed under Testing
A look at assertions in both JUnit 4 and 5.
Injecting Prototype Beans into a Singleton Instance in Spring
Filed under Spring
Learn how to inject prototype beans into a singleton-scoped bean instance.
Using Hamcrest Number Matchers
Filed under Testing
A quick and practical guide to Hamcrest Number matchers.
RxJava Maybe
Filed under Reactive
A quick and practical introduction to Maybe in RxJava.
ASCII Art in Java
Filed under Java
A quick example of generating simple ASCII arts in Java.
How to Detect the OS Using Java
Filed under Java
Learn how to detect the OS from Java.
Spring Boot Security Auto-Configuration
Filed under Spring Boot, Spring Security
A quick and practical guide to Spring Boot’s default Spring Security configuration.
WebSockets with AsyncHttpClient
Filed under Jakarta EE
Let’s see how to handle WebSockets using AsyncHttpClient.
A Maze Solver in Java
Filed under Algorithms
See how to implement a basic maze solver in Java.
Introduction to ActiveWeb
Discover Activeweb – a full stack web framework from JavaLite.
Flyweight Pattern in Java
Filed under Java
A quick and practical introduction to the principles of Flyweight Design Pattern.
Asynchronous HTTP with async-http-client in Java
Filed under HTTP Client-Side
A quick and practical guide to AsyncHttpClient in Java.
Programmatic Transactions in the Spring TestContext Framework
Filed under Spring Persistence, Testing
A quick and practical guide to transaction management in Spring TestContext.
How to Manually Authenticate User with Spring Security
Filed under Spring Security
Learn how to programmatically set the authenticated user in Spring Security and Spring MVC.
Extra Login Fields with Spring Security
Filed under Spring Security
A quick and practical guide to adding additional login fields.
An Introduction to Kong
Filed under DevOps
A quick and practical introduction to Kong.
An Example of Load Balancing with Zuul and Eureka
Filed under DevOps, Spring Cloud
See how load-balancing with Netflix Zuul looks like.
Creating and Configuring Jetty 9 Server in Java
Filed under DevOps, Jakarta EE
A quick and practical example of setting up a Jetty server in Java.
The Trie Data Structure in Java
Filed under Java
An introduction to the Trie data structure in Java.
A Guide to Iterator in Java
Filed under Java Collections
A quick and practical guide to the Iterator class in Java.
A Docker Guide for Java
Filed under Docker
A quick and practical guide to Docker Client for Java.
Introduction to VRaptor in Java
Filed under REST
A quick and practical guide to the VRaptor MVC framework for Java.
Java 8 StringJoiner
Filed under Java String
A quick and practical guide to the StringJoiner in Java.
Bootstrapping Hibernate with Spring
Filed under Spring Persistence
A quick and practical guide to integrating Hibernate 5 with Spring.
Spring Data Java 8 Support
Filed under Spring Data
A quick and practical guide to Java 8 support in Spring Data.
Hibernate Interceptors
Filed under Persistence
A quick and practical guide to creating Hibernate interceptors.
Fail-Safe Iterator vs Fail-Fast Iterator
Filed under Java Collections
A quick and practical comparison between fail-safe and fail-fast iterators in Java.
Efficient Word Frequency Calculator in Java
Filed under Algorithms
Explore various ways of counting words in Java and see how they perform.
A Guide to Transactions Across Microservices
Filed under Architecture, Java
A comprehensive guide to transactions in distributed environments.
Spring and Apache FileUpload
Filed under Spring MVC
A quick and practical guide to using Apache FileUpload with Spring.
Introduction to Hibernate Spatial
Filed under Persistence
A quick and practical introduction to Hibernate Spatial
What’s New in Spring Boot 2?
Filed under Spring Boot
A quick and practical overview of Spring Boot 2 new features.
A Guide to HashSet in Java
Filed under Java Collections
A quick but comprehensive introduction to HashSet in Java.
Spring Cloud Connectors and Heroku
Filed under DevOps, Spring Cloud
See how to set up a Spring Boot application on Heroku using Spring Cloud Connectors.
Introduction to Spring Security ACL
Filed under Spring Security
A quick and practical introduction to Spring Security ACL.
A Guide to Java Loops
Filed under Core Java
A quick and practical guide to Java loops.
Writing Custom Gradle Plugins
Filed under Gradle
A quick and practical example of writing a custom Gradle plugin.
Nested Classes in Java
Filed under Core Java
A quick and to-the-point introduction to nested classes in Java.
Introduction to the JDBC RowSet Interface in Java
Filed under Java, Persistence
A quick and practical introduction to RowSet interfaces in Java.
Introduction to the Java ArrayDeque
Filed under Java Collections
A quick and practical introduction to ArrayDeque in Java.
Introduction to OSGi
Filed under Architecture
A quick and practical introduction to OSGi – a Java-based component system.
Java – Append Data to a File
Filed under Java IO
A quick and practical guide to appending data to files.
Spring Security 5 for Reactive Applications
Filed under Reactive, Spring Security, Spring Web
A quick and practical example of Spring Security 5 framework’s features for securing reactive applications.
Generating Prime Numbers in Java
Filed under Java Numbers
See various ways of generating prime numbers in Java.
Java String.valueOf()
Filed under Java String
A quick example and explanation of the valueOf API of the standard String class in Java.
Java String.trim()
Filed under Java String
A quick example and explanation of the trim API of the standard String class in Java.
Java String.toUpperCase()
Filed under Java String
A quick example and explanation of the toUpperCase API of the standard String class in Java.
Java String.toLowerCase()
Filed under Java String
A quick example and explanation of the toLowerCase() API of the standard String class in Java.
Java String.substring()
Filed under Java String
A quick example and explanation of the substring() API of the standard String class in Java.
Java String.subSequence()
Filed under Java String
A quick example and explanation of the subSequence() API of the standard String class in Java.
Java String.startsWith()
Filed under Java String
A quick example and explanation of the startsWith() API of the standard String class in Java.
Java String.split()
Filed under Java String
A quick example and explanation of the split() API of the standard String class in Java.
Java String.replaceAll()
Filed under Java String
A quick example and explanation of the replaceAll() API of the standard String class in Java.
Java String.replace()
Filed under Java String
A quick example and explanation of the replace() API of the standard String class in Java.
Java String.regionMatches()
Filed under Java String
A quick example and explanation of the regionMatches() API of the standard String class in Java.
Java String.lastIndexOf()
Filed under Java String
A quick example and explanation of the lastIndexOf() API of the standard String class in Java.
Java String.isEmpty()
Filed under Java String
A quick example and explanation of the isEmpty API of the standard String class in Java.
Java String.intern()
Filed under Java String
A quick example and explanation of the intern API of the standard String class in Java.
Java String.indexOf()
Filed under Java String
A quick example and explanation of the indexOf API of the standard String class in Java.
Java String.getBytes()
Filed under Java String
A quick example and explanation of the getBytes API of the standard String class in Java.
Java String.format()
Filed under Java String
A quick example and explanation of the format API of the standard String class in Java.
Java String.endsWith()
Filed under Java String
A quick example and explanation of the endsWith API of the standard String class in Java.
Java String.copyValueOf()
Filed under Java String
A quick example and explanation of the copyValueOf API of the standard String class in Java.
Java String.contains()
Filed under Java String
A quick example and explanation of the contains API of the standard String class in Java.
Java String.concat()
Filed under Java String
A quick example and explanation of the concat API of the standard String class in Java.
Java String.codePointCount()
Filed under Java String
A quick example and explanation of the codePointCount API of the standard String class in Java.
Java String.String()
Filed under Java String
A quick example and explanation of constructors of the standard String class in Java.
XML-Based Injection in Spring
Filed under Spring
Learn how to perform an XML-based injection with Spring.
Introduction to Spring AOP
Filed under Spring
Discover the core Spring AOP along with its basic terminology.
Hibernate – Mapping Date and Time
Filed under Java Dates, JPA
Discover how to map Date/Time properly using Hibernate.
Making Tomcat UTF-8-Ready
Filed under DevOps
Discover how to make Tomcat UTF-8-Ready.
Java String.charAt()
Filed under Java String
A quick example and explanation of the charAt API of the standard String class in Java.
Java String.codePointAt()
Filed under Java String
A quick example and explanation of the codePointAt API of the standard String class in Java.
Daemon Threads in Java
Filed under Java Concurrency
Discover daemon threads in Java.
Mocking Void Methods with Mockito
Filed under Testing
See how to mock methods that return void using Mockito.
Introduction to Apache Spark
Filed under DevOps
Discover Apache Spark – the open-source cluster-computing framework.
Introduction to BouncyCastle with Java
Filed under Security
Discover BouncyCastle – a Java library complementing the default Java Cryptographic Extension (JCE).
Initializing Arrays in Java
Filed under Java Array
Discover different ways of initializing arrays in Java.
Ant vs Maven vs Gradle
See a comparison of three most popular build tools for Java projects.
Comparing Spring AOP and AspectJ
Filed under Spring
See advantages and disadvantages of Spring AOP and AspectJ.
Introduction to ORMLite
Filed under Persistence
A quick and practical introduction to ORMLite in Java.
Introduction To Docx4J
Filed under Data
See how to create docx documents using docx4j in Java.
A Guide to Deeplearning4j
Filed under Artificial Intelligence
See how to create a simple neural network using deeplearning4j library in Java.
Introduction to Atomix
Introduction to Atomix – an embeddable library helping in achieving fault-tolerance and consistency for distributed resources.
Custom JUnit 4 Test Runners
Filed under Testing
Learn how to implement custom JUnit4 test runners.
Validating Container Elements with Jakarta Bean Validation 3.0
Filed under Jakarta EE
See how to use a new Bean Validation 2.0 feature – container elements validation.
Introduction to Animal Sniffer Maven Plugin
A quick and practical introduction to the Animal Sniffer Maven plugin
Schedulers in RxJava
Filed under Reactive
Discover different types of RxJava schedulers.
Introduction to rxjava-jdbc
Filed under Persistence
Discover how to leverage the power of RxJava in the JDBC context.
Introduction to Jukito
Filed under Testing
Discover how to test multiple implementations using the same set of test cases with Jukito.
Guide to LinkRest
Filed under REST
Discover LinkRest – an open-source framework for building data-driven REST web services
Observable Utility Operators in RxJava
Filed under Reactive
Learn how to use various RxJava utility operators.
“Stream has already been operated upon or closed” Exception in Java
Filed under Java Streams
Discover how to solve the “Stream has already been operated upon or closed” exception in Java.
RxJava and Error Handling
Filed under Reactive
See how to deal with errors using RxJava.
Introduction to Retrofit
Filed under HTTP Client-Side
Discover Retrofit – a type-safe HTTP client for Android and Java.
Introduction to RxJava
Filed under Reactive
Discover RxJava – a library for composing asynchronous and event-based programs.
Example of Vertx and RxJava Integration
Filed under Reactive
A quick and practical example of RxJava and Vertx integration.
Guide to JDeferred
Filed under Java
A quick and practical guide to the JDeferred library.
Spring Yarg Integration
Filed under Spring
A quick and practical example of Spring integration with Yarg.
Introduction to javax.measure
Filed under Java
A quick and very practical intro to the new Java measurement APIs.
Singletons in Java
Filed under Core Java
See how to implement the Singleton Design Pattern in plain Java.
Runnable vs. Callable in Java
Filed under Java Concurrency
Learn the difference between Runnable and Callable interfaces in Java.
String Search Algorithms for Large Texts with Java
Filed under Java String
Discover different full-text search algorithms implemented using plain Java.
Spring 5 Functional Bean Registration
Filed under Spring
See how to register beans using the functional approach in Spring 5.
Introduction to Reladomo
Filed under Persistence
Learn how to use Reladomo – the ORM tool from Goldman Sachs.
Getting Started with GraphQL and Spring Boot
Filed under Spring Boot, Web Services
Discover GraphQL – a query language for APIs.
Ratpack with Hystrix
Filed under Reactive
See how to integrate Ratpack with Hystrix.
Log4j 2 and Lambda Expressions
Filed under Logging
Learn how to use lazy logging with lambda expressions in Log4j 2.
Introduction to Lambda Behave
Filed under Testing
A quick and practical guide to Lambda Behave – a new Java-based testing framework.
Introduction to JBoss Undertow
Filed under DevOps
Discover Undertow – an extremely lightweight and high-performance web server from JBoss.
Spring Boot Dependency Management with a Custom Parent
Filed under Maven, Spring Boot
See how to leverage Spring Boot’s Parent dependency management even when a custom parent is already defined.
Difference Between URL and URI
Filed under Networking
Discover the differences between URI and URL Java classes.
Introduction to Eclipse Collections
Filed under Java Collections
Discover the new collections framework from Eclipse.
Introduction to Bootique
Filed under Architecture, REST
See the overview of Bootique – a lightweight framework for building next-generation scalable micro-services.
Implementing Custom Operators in RxJava
Filed under Reactive
Learn how to implement your own RxJava operators.
Introduction to Hoverfly in Java
Filed under Testing
A quick and practical example of using Hoverfly in Java.
Introduction to Spring’s StreamUtils
Filed under Spring
Discover Spring’s StreamUtils class.
Introduction To Kryo
Filed under Data
A quick and practical introduction to Kryo – efficient serialization/deserialization framework for Java.
Introduction to Jooby
Filed under Java Web
A quick and practical introduction to Jooby – a scalable and fast web framework.
Generating a Book with Asciidoctor
Filed under Java
See how to use AsciiDoctor to generate a book.
Ratpack Integration with Spring Boot
Filed under Spring Boot
A quick and practical introduction to Ratpack Spring Boot integration.
Cucumber Java 8 Support
Filed under Testing
Discover Java8-related features of Cucumber.
Overview of the java.util.concurrent
Filed under Java Concurrency
Discover the content of the java.util.concurrent package.
Introduction to Chronicle Queue
Filed under Data
A quick and practical guide to using Chronicle Queue.
Introduction to Vavr’s Either
Filed under Java
A quick and practical example of using Either from Vavr in Java.
Spring Remoting with RMI
Filed under Spring
A quick and practical example of Java RMI with Spring.
TemporalAdjuster in Java
Filed under Java Dates
A quick and practical example of using TemporalAdjusters from java.time.
Zipping Collections in Java
Filed under Java Collections
See how to zip collections in Java using plain Java and external tools.
Quick Guide to the Guava RateLimiter
Filed under Guava
A quick and practical introduction to the Guava RateLimiter.
What Is the serialVersionUID?
Filed under Core Java
A quick and practical example of using serialVersionUID in Java.
Semaphores in Java
Filed under Java Concurrency
Learn how to use Semaphores in Java.
Spring 5 WebClient
Filed under HTTP Client-Side, Spring Web
Discover Spring 5’s WebClient – a new reactive RestTemplate alternative.
Apache Commons BeanUtils
Filed under Data
Learn how to use Apache Commons BeanUtils for common bean operations.
Introduction to Apache Commons Text
Filed under Java String
Learn how to use Apache Commons Text for common String operations.
Introduction to Netflix Servo
Filed under DevOps
See Netflix Servo in action – a metrics tool for Java applications.
The HttpMediaTypeNotAcceptableException in Spring MVC
Filed under Spring MVC
Learn how to deal with the HttpMediaTypeNotAcceptableException in Spring.
Introduction to Asciidoctor in Java
Filed under Java IO
Learn how to generate documents using AsciiDoctor.
CyclicBarrier in Java
Filed under Java Concurrency
Learn how to use CyclicBarrier in Java.
Testing with Selenium/WebDriver and the Page Object Pattern
Filed under Testing
Learn how to test a site using Selenium / WebDriver.
How to Get All Dates Between Two Dates?
Filed under Java Dates
Learn how to get all dates between two dates using Java 7, Java 8, and Java 9.
Serenity BDD and Screenplay
Filed under Testing
A quick and practical example of Serenity BDD Framework with Screenplay.
Changing Annotation Parameters at Runtime
Filed under Core Java
Learn how to change annotation parameters in runtime using reflection in Java.
Java 9 Reactive Streams
Quick and practical introduction to Reactive Streams in Java 9.
Java 9 Optional API Additions
Filed under Core Java
Quick and practical examples of new methods in Optional API in Java.
The Dining Philosophers Problem in Java
Filed under Algorithms, Java Concurrency
Discover the Dining Philosophers Problem and a solution in Java.
How to Get the Last Element of a Stream in Java?
Filed under Java Streams
Have a look at ways to get the last element of a Stream in Java.
Guide to UUID in Java
Filed under Core Java
A quick and practical introduction to UUID in Java.
Spring Remoting with JMS and ActiveMQ
Filed under Spring
A quick and practical example of remoting with Spring and JMS.
Serenity BDD with Spring and JBehave
A quick and practical example of Serenity with Spring and JBehave.
Period and Duration in Java
Filed under Java Dates
Learn what is the difference between Duration and Period classes in Java.
Introduction to JDBC
Filed under Java, Persistence
A quick and practical introduction to JDBC in Java.
Spring Boot and Togglz Aspect
Filed under Spring Boot
A quick and practical example of using Togglz with Spring Boot.
Java Annotations Interview Questions (+ Answers)
Filed under Java
A set of popular Java annotations interview questions and, of course, answers.
Introduction to Serenity BDD
Filed under Testing
A quick and practical introduction to SerenityBDD and its integrations.
Guide to @ConfigurationProperties in Spring Boot
Filed under Spring Boot
A quick and practical guide to @ConfigurationProperties annotation in Spring Boot.
Creating a Custom Starter with Spring Boot
Filed under Spring Boot
A quick and practical guide to creating custom Spring Boot starters.
Java Exceptions Interview Questions (+ Answers)
Filed under Java
A set of Java exceptions-related interview questions.
Java Flow Control Interview Questions (+ Answers)
Filed under Java
A set of Java flow control related interview questions to help you prepare.
Testing a REST API with JBehave
Filed under Testing
A quick and practical guide to REST testing with JBehave
JasperReports with Spring
Filed under Spring
A quick and practical guide to setting up JasperReports with Spring.
Implementing a Custom Spring AOP Annotation
Filed under Spring
A quick example of a custom Spring AOP annotation
A CLI with Spring Shell
Filed under Spring
A quick and practical example of building a simple CLI with Spring Shell.
New in Guava 21 common.util.concurrent
Filed under Guava
A quick reference guide for changes that appeared in common.util.concurrent package.
Introduction to the Functional Web Framework in Spring 5
Filed under Spring Web
A quick and practical guide to the new Functional Web Framework in Spring 5
Converting Strings to Enums in Java
Filed under Java String
A quick and practical guide to converting strings to enums in Java.
Validating Input with Finite Automata in Java
Filed under Algorithms, Java
A quick and practical example of validating input using Finite Automata in Java.
Java Generics Interview Questions (+Answers)
Filed under Java
Popular generics-related Java interview questions and of course answers.
Intro to Apache Kafka with Spring
Filed under Spring
A quick and practical guide to using Apache Kafka with Spring.
Download an Image or a File with Spring MVC
Filed under Spring MVC
A quick and practical guide to returning an image in a Spring REST endpoint.
Introduction to Testing with Spock and Groovy
A quick and practical guide to testing with Spock and Groovy.
New Stream, Comparator and Collector in Guava 21
Filed under Guava
Quick and practical guide to tools in the common.collect package in Guava 21.
Overview of Spring Boot Dev Tools
Filed under Spring Boot
A quick and practical overview of the Spring Boot Devtools.
A Guide to Redis with Redisson
Filed under NoSQL
A quick and practical guide to using Redisson for accessing Redis from a Java application.
Java 9 CompletableFuture API Improvements
Filed under Java Concurrency
Quick and practical guide to new methods in CompletableFuture API.
@Immutable in Hibernate
Filed under Persistence
A quick and practical guide to @Immutable annotation in Hibernate
Concurrent Test Execution in Spring 5
An quick example of concurrent test execution in Spring 5.
Spring Security – Redirect to the Previous URL After Login
Filed under Spring Security
A short example of redirection after login in Spring Security
Introduction to RabbitMQ
Filed under Data
A quick and practical guide to RabbitMQ.
Finding Max/Min of a List or Collection
Filed under Java Collections
A quick and practical guide to getting maximum/minimum element from a list or a collection.
The @ServletComponentScan Annotation in Spring Boot
Filed under Spring Boot, Spring MVC
A quick and practical guide to the new ServletComponentScan annotation.
Java 8 and Infinite Streams
Filed under Java Streams
A short and practical guide to working with infinite streams in Java 8.
Constructor Injection in Spring with Lombok
Filed under Spring
A quick and practical example of constructor injection with Lombok in Spring
A Guide to ConcurrentMap
Filed under Java Concurrency, Java Map
A quick and practical guide to ConcurrentMap in Java.
Guide to Try in Vavr
Filed under Java
A quick and practical guide to Vavr’s Try
Java Convenience Factory Methods for Collections
Filed under Java Collections
A quick and practical guide to creating collections and maps using Java 9 factory methods.
Memory Management in Java Interview Questions (+Answers)
Filed under Java
A set of popular Memory Management-related interview questions and of course answers.
Spring Data MongoDB: Projections and Aggregations
Filed under NoSQL, Spring Data
A quick and practical guide to Projections and Aggregations in Spring Data MongoDB
Java 8 Interview Questions(+ Answers)
Filed under Java
A set of popular Java8-related interview questions and of course answers.
A Guide to TreeMap in Java
Filed under Java Map
A quick and practical guide to TreeMap in Java.
A Guide to LinkedHashMap in Java
Filed under Java Map
A quick and practical guide to LinkedHashMap in Java
Exceptions in Java 8 Lambda Expressions
Filed under Java
A quick and practical guide to dealing with Lambda Expressions and exceptions
Overview of AI Libraries in Java
Filed under Artificial Intelligence
A short overview of Artificial Intelligence libraries in Java.
Guide to Pattern Matching in Vavr
Filed under Java
A quick and practical guide for using Pattern Matching features in Vavr
Creating PDF Files in Java
Filed under Java IO
A quick and practical guide to creating PDF files in Java.
A Guide to the Spring Task Scheduler
Filed under Spring
A quick and practical guide to scheduling in Spring with Task Scheduler
Introduction to Apache Tomcat
Filed under DevOps
A short and practical guide to installing and configuring Apache Tomcat.
Dijkstra Shortest Path Algorithm in Java
Filed under Algorithms
An explanation and implementation of the Dijkstra Algorithm in Java
Introduction to Vavr
Filed under Java
A quick and practical guide to the Vavr library.
Guide to @JsonFormat in Jackson
A quick and practical guide to the @JsonFormat annotation in Jackson.
Integration Patterns With Apache Camel
Filed under Architecture, Data
A quick and practical guide to systems integration patterns with Apache Camel
Introduction to HtmlUnit
A quick and practical guide to HtmlUnit
Java Class Structure and Initialization Interview Questions
Filed under Java
A set of common interview exercises from class structure and initialization in Java
Guide To Java 8 Optional
Filed under Core Java
Quick and practical guide to Optional in Java 8
A Guide To NIO2 Asynchronous File Channel
Filed under Java IO
A quick and practical guide to Java NIO2 Asynchronous FileChannel API
A Guide to NIO2 Asynchronous Socket Channel
Filed under Java IO
A quick and practical guide to Java NIO2 Asynchronous Socket Channel API
A Guide To NIO2 FileVisitor
Filed under Java IO
A quick and practical guide to Java NIO2 FileVisitor
A Guide To NIO2 File Attribute APIs
Filed under Java IO
A quick and practical guide to NIO2 FileAttribute in Java
A Guide to WatchService in Java NIO2
Filed under Java IO
A quick and practical guide to Java NIO2 WatchService
Guide to Java NIO2 Asynchronous Channel APIs
Filed under Java IO
A quick and practical guide to NIO2 Asynchronous Channel APIs in Java.
Guide to UriComponentsBuilder in Spring
Filed under Spring
A quick and practical guide to using UriComponentsBuilder in Spring
Intro to Code Quality Rules with FindBugs and PMD
Filed under DevOps
A quick and practical guide to static analysis’ code quality rules
Java Concurrency Interview Questions (+ Answers)
Filed under Java Concurrency
A set of popular concurrency-related Java interview questions and of course answers.
Java Type System Interview Questions
Filed under Java
A set of Java type system related interview questions
SHA-256 and SHA3-256 Hashing in Java
Filed under Security
A quick and practical guide to SHA-256 hashing in Java
Introduction To Apache Camel
Filed under Data, Spring Boot
A quick and practical guide to Apache Camel
PDF Conversions in Java
Filed under Java IO
A quick and practical guide to PDF conversions in Java
Java 9 Stream API Improvements
Filed under Java Streams
A quick and practical guide to Java 9 Stream API additions
Guide to the Java 8 forEach
Filed under Core Java
A quick and practical guide to Java 8 forEach
A Guide to HTTP Cookies in Java
Filed under Jakarta EE
A quick and practical guide to HTTP Cookies in Java
A Guide to the Java URL
Filed under Core Java
A quick and practical guide to a URL in Java
Java Collections Interview Questions
Filed under Java Collections
A set of practical Collections-related Java interview questions
Introduction to the Java NIO2 File API
Filed under Java IO
A quick and practical guide to Java NIO2 File API
Working with Network Interfaces in Java
Filed under Networking
Learn how to interact with network interfaces programmatically from Java.
Java NIO2 Path API
Filed under Java IO
A quick and practical guide to the Path API in Java
DynamoDB in a Spring Boot Application Using Spring Data
Filed under NoSQL, Spring Boot, Spring Data
A step by step tutorial on integrating DynamoDB in Spring Boot application using Spring Data DynamoDB.
A Guide to UDP In Java
Filed under Networking
A quick and practical guide to UDP in Java
Introduction To Ehcache
Filed under Persistence
A quick and practical guide to Ehcache with a Java application
How to Create an Executable JAR with Maven
Filed under Maven
A quick and practical guide to creating executable JARs with Maven
A Guide to the Java LinkedList
Filed under Java Collections
A quick and practical guide to LinkedList in Java.
Quick Guide to MapStruct
Filed under Java
A quick and practical guide to using MapStruct
Introduction to WebJars
Filed under Spring MVC
A quick and practical guide to using WebJars with Spring.
Introduction to the Java NIO Selector
Filed under Java IO
A quick and practical guide to NIO Selector in Java.
Thymeleaf: Custom Layout Dialect
Filed under Spring MVC
A quick and practical guide to Custom Layout Dialects in Thymeleaf with Spring
REST API with Play Framework in Java
Filed under REST
A quick and practical guide to building REST APIs with Play in Java
Introduction to the Wicket Framework
Filed under Jakarta EE
A quick and practical guide to the Wicket Framework
Routing in Play Applications in Java
Filed under Jakarta EE, REST
A quick and practical guide to routing in Play applications in Java
Spring and Thymeleaf 3: Expressions
Filed under Spring MVC
A quick and practical guide to using Thymeleaf’s Expression Utility Objects with Spring MVC
Introduction to Play in Java
Filed under Jakarta EE
A quick and practical introduction to Play Framework with Java.
A Guide To Java Regular Expressions API
Filed under Java
A practical guide to Regular Expressions API in Java.
FileNotFoundException in Java
Filed under Java IO
A quick and practical guide to FileNotFoundException in Java.
Java – Get Random Item/Element From a List
Filed under Java Collections
A quick and practical guide to picking a random item/items from a List in Java.
Introduction to Java Config for Spring Security
Filed under Spring Security
A quick and practical guide to Java Config for Spring Security
Spring MVC + Thymeleaf 3.0: New Features
Filed under Spring MVC
A quick and practical guide to using Thymeleaf 3’s new features with Spring
Generate equals() and hashCode() with Eclipse
Filed under IDE
A quick and practical guide to generating equals() and hashcode() with the Eclipse IDE
Java Annotation Processing and Creating a Builder
Filed under Java
A quick and practical guide to annotation processing in Java, showing you how to create a builder from a POJO.
Spring Boot Application as a Service
Filed under Spring Boot
Quick and practical guide to running a Spring Boot applications as a service
Guide to Spring Data REST Validators
Filed under REST, Spring Data
Quick and practical guide to Spring Data REST Validators
CSRF Protection with Spring MVC and Thymeleaf
Filed under Spring MVC, Spring Security
Quick and practical guide to preventing CSRF attacks with Spring Security, Spring MVC and Thymeleaf.
Using a Custom Spring MVC’s Handler Interceptor to Manage Sessions
Filed under Spring MVC
Quick and practical guide to session management with Spring MVC’s HandlerInterceptor.
Filtering a Stream of Optionals in Java
Filed under Java Streams
A quick and practical guide to filtering Streams of Optionals in Java 8 and Java 9
Guide to the Java ArrayList
Filed under Java Collections
Quick and practical guide to ArrayList in Java
Deploying Web Applications in Jetty
Filed under DevOps
Quick and practical guide to deploying applications in Jetty
Guide to Java Reflection
Filed under Core Java
A simple and practical guide to Java Reflection API
web.xml vs Initializer with Spring
Filed under Spring
A quick and practical guide to XML and Java config in Spring.
Injecting Git Information Into Spring
Quick and practical guide to retrieving and injecting Git information using Spring and Maven
Functional Interfaces in Java 8
Filed under Core Java
Quick and practical guide to Functional Interfaces present in Java 8.
Changing Spring Model Parameters with Handler Interceptor
Filed under Spring MVC
Quick and practical guide to changing Spring model parameters with a HandlerInterceptor.
WebAppConfiguration in Spring Tests
Quick and practical guide to using @WebAppConfiguration annotation in Spring tests
Eager/Lazy Loading in Hibernate
Filed under Persistence, Spring
Quick and practical introduction to different data loading approaches – lazy and eager – in Hibernate.
Guide To CompletableFuture
Filed under Java Concurrency
Quick and practical guide to Java 8’s CompletableFuture.
Introduction to Spring MVC HandlerInterceptor
Filed under Spring MVC
Quick and practical guide to Spring MVC’s HandlerInterceptor.
Jackson vs Gson
Quick and practical guide to serialization with Jackson and Gson.
JPA Criteria Queries
Filed under Persistence
Quick and practical guide to using Criteria Queries mechanism in Hibernate
Guide to Spring NonTransientDataAccessException
Filed under Spring
Guide to the most common types of Spring’s NonTransientDataAccessException.
Introduction to Thread Pools in Java
Filed under Guava, Java Concurrency
Quick and practical guide to different ThreadPool implementations in Java and Guava.
JMockit Advanced Usage
Filed under Testing
A quick and practical guide to advanced JMockit utilities.
Quick Guide to Spring Controllers
Filed under REST, Spring MVC
A quick and practical guide to Spring Controllers – both for typical MVC apps and for REST APIs.
Introduction to Spring with Akka
A quick and practical guide to using Akka with Spring
Quick Guide to Spring MVC with Velocity
Filed under Spring MVC
A quick and practical guide to using Spring MVC with Velocity.
Intro to Spring Security Expressions
Filed under Spring Security
Simple and practical guide to Spring Security Expressions.
Quick Guide to @RestClientTest in Spring Boot
Filed under Spring Boot, Spring Web, Testing
A quick and practical guide to the @RestClientTest annotation in Spring Boot
A Guide to JMockit Expectations
Filed under Testing
Quick and practical guide to JMockit’s expectations.
What’s New in Spring 4.3?
Filed under Spring
A quick and practical guide to the new and cool additional of the Spring 4.3 release.
Hibernate: save, persist, update, merge, saveOrUpdate
Filed under Persistence
A quick and practical guide to Hibernate write methods: save, persist, update, merge, saveOrUpdate.
Intro to Querydsl
Filed under Persistence
A simple and practical guide to Querydsl.
JMockit 101
Filed under Testing
A simple and practical guide to testing and mocking with JMockit.
XML Libraries Support in Java
Filed under XML
A quick and practical guide to XML Java tools
Migrating to the New Java 8 Date Time API
Filed under Java Dates
A quick and practical guide on transitioning to Java 8’s new DateTime API.
Spring REST API with Protocol Buffers
A quick and practical introduction to using Protocol Buffers with Spring REST APIs.
Mockito vs EasyMock vs JMockit
Filed under Testing
A quick and practical guide to understanding and comparing Java mocking libraries.
Spring Boot Support for jOOQ
Filed under Spring Boot, Spring Persistence
A quick guide to Spring Boot support for jOOQ
REST API Testing with Cucumber
A quick on on REST API testing with Cucumber.
Introduction to Java 8 Streams
Filed under Java Streams
A quick and practical introduction to Java 8 Streams.
Working with Tree Model Nodes in Jackson
Learn how to create, find and manipulate JsonNode objects in Jackson 2.
A Guide to CSRF Protection in Spring Security
Filed under Spring Security
Learn how CSRF attacks work on a practical Spring application, and then how to enable protection against these kinds of attacks with Spring Security.
Introduction to Using Thymeleaf in Spring
Filed under Spring MVC
Thymeleaf is a templating language with excellent integration with Spring. This article provides an introduction to using Thymeleaf in a Spring MVC application.
Use Liquibase to Safely Evolve a Database Schema
Filed under Persistence
How to use Liquibase to safely and maturely evolve the database schema of your Java app.
Prevent Brute Force Authentication Attempts with Spring Security
Filed under Spring Security
Block users by IP after a number of failed authentication attempts – a simple mechanism implemented with Spring Security.
Transactions with Spring and JPA
Filed under JPA, Spring Persistence
How to best set up Transactions in Spring – the configuration, Transaction Propagation and which layer should have Transactional Semantics.
Getting Started with Mockito @Mock, @Spy, @Captor and @InjectMocks
Filed under Testing
How to use annotations in Mockito – @Mock, @Spy, @Captor and @InjectMocks and the MockitoJUnitRunner to enable them.
Build a REST API with Spring and Java Config
Building a REST Service with Spring and Java based Configuration, HTTP response codes, REST payloads and marshalling, testing.
Baeldung on Linux
- All
- Administration (41)
- Scripting (28)
- Processes (17)
- Networking (17)
- Files (12)
- Docker (8)
- Filesystems (6)
- Security (5)
- File Searching (4)
- File Editing (4)
- Web (3)
- Installation (2)
- File Viewing (2)
- File Compression (2)
- File Permissions (1)
- File Conversion (1)
Setting Timeout Value for the SNMPwalk Command
Filed under Administration, Networking
A quick and practical guide to setting the timeout value for the SNMPwalk command.
How to Compare a Certain Column From Two Text Files in Linux
A quick and practical guide to comparing a specific column from two text files in Linux.
How to Secure an SSH Server in Linux
Filed under Administration, Security
A quick and practical guide to securing an SSH server in Linux.
How to Convert JSON to CSV in Linux
Filed under File Conversion
A quick and practical guide to converting JSON to CSV in Linux.
How to Split an MP3 File in Linux
Filed under File Editing
A quick and practical guide to splitting an mp3 file in Linux.
Creating a Binary From a Python File
A quick and practical guide to creating a binary from a Python file.
Setting the Sender Name While Using mail Command in Linux
Filed under Web
A quick and practical guide to setting sender’s name while using mail command.
How to Deactivate updatedb in Linux
Filed under Administration
A quick and practical guide to deactivating updatedb.
How to Use Timeout on Curl Request
Filed under Administration, Networking
A quick and practical guide to timeouting curl requests.
How to Track Newly Created Processes in Linux
Filed under Administration, Processes
A quick and practical guide to tracking newly-created processes in Linux.
How to Install a Specific Version of a Package Using DNF
Filed under Administration, Installation
A quick and practical guide to installing a specific version of a package using DNF.
How to Enable Diffie-Hellman Key Exchange in Linux for Secure SSH
Filed under Administration, Security
A quick and practical guide to enabling Diffie-Hellman Key exchange in Linux for secure SSH.
How to Increase Swap Space in Linux
Filed under Administration
A quick and practical guide to increasing swap space in Linux.
How to Resize VirtualBox Virtual Hard Disk
Filed under Administration
A quick and practical guide to resizing the virtual hard disk in VirtualBox.
Exclude “Permission denied” Messages in find Command Output
Filed under File Searching
A quick and practical guide to excluding “Permission Denied” messages from the find command’s output.
Increasing Screen Size/Resolution on a VirtualBox Instance
Filed under Administration
A quick and practical guide to increasing screen size and resolution on a VirtualBox instance.
Transferring a File Using NC
Filed under Networking
A quick and practical guide to transferring a file using netcat.
How to Identify Specific Python Processes From the CLI
Filed under Processes
A quick and practical guide to identifying specific Python processes from CLI.
How to Run a Process With a Specific Group
Filed under Administration, Processes
A quick and practical guide to running a process with a specific group.
Route Traffic for a Specific IP Over a Specific Network Interface
Filed under Networking
A quick and practical guide to routing traffic for a specific IP over a specific network interface.
How to Exit From Read-Only Mode in Vim
Filed under Files
A quick and practical guide to exiting read-only mode in Vim.
Starting a Docker Container on a Remote Host
Filed under Docker
A quick and practical guide to starting a Docker container on a remote host.
Automatic Docker Login in a Bash Script
A quick and practical guide to automatic Docker ogin in a Bash script.
Reading the Memory of a Running Process
Filed under Processes
A quick and practical guide to reading memory of a running process.
Understand the Total Output of ls
Filed under Administration, Files
A comprehensive guide to “total” output of ls command.
Change Keyboard Layout in the Linux Console
Filed under Administration
A quick and practical guide to changing keyboard layout in the Linux console.
How to Properly Format the Source of a Shell Script
Filed under Scripting
A quick and practical guide to formatting the source of a shell script.
Enter Non-ASCII Characters in vi Using Hex or Octal Codes
Filed under File Editing
A quick and practical guide to entering non-ASCII characters in vi.
List All Vhosts in Nginx
Filed under Networking
A quick and practical guide to listing all virtual hosts in Nginx.
Checking the Signals a Process Is Listening To
A quick and practical guide to finding the signals a Linux process is listening to.
Determining the Key Size Using OpenSSL
Filed under Administration, Security
A quick and practical guide to determining the key size using OpenSSL.
Limit Root User’s Ability to Delete a File
Filed under File Permissions
A quick and practical guide to limiting root users’ ability to delete a file.
Bridging Network Interfaces in Linux
Filed under Networking
A quick and practical guide to bridging network interfaces in Linux.
How to Convert a Shell Script Into a Binary Executable
Filed under Administration, Scripting
A quick and practical guide to converting shell scripts into binary executables.
How to Restart a Network Interface
Filed under Administration, Networking
A quick and practical guide to restarting network interface.
Listing All DNS Records in a Domain Using dig
Filed under Networking
A quick and practical guide to using dig for listing all DNS records in a domain.
Checking a Running MySQL Server’s Port
Filed under Administration, Networking, Processes
A quick and practical guide to finding MySql’s port.
How to Unmount a Formerly Chroot’d Filesystem
Filed under Administration, Filesystems
A quick and practical guide to unmounting a chroot’d filesystem.
Two Ways to Disable the Beep Sound in Linux
Filed under Administration
A quick and practical guide to disabling the beep sound in Linux.
Checking Whether Logged in via VPN
Filed under Administration, Networking
A quick and practical guide to determining whether a device is connected to a VPN.
“Permission Denied While Trying to Connect to the Docker Daemon Socket” Error
Filed under Docker
A quick and practical guide to solving permission-denied issues while connecting to Docker Daemon Socket.
How to Use a Regex Inside an if Clause in Bash
Filed under Scripting
A quick and practical guide to using a regex inside an if clause in bash.
Creating a New SSH User
Filed under Administration
A quick and practical guide to creating a new SSH user.
How to Create a Shortcut to Execute a Shell Script in Bash
Filed under Administration, Scripting
A quick and practical guide to creating a shortcut to a shell script.
Differences Between cgroups and Namespaces in Linux
Filed under Processes
A quick and practical comparison between cgroups and namespaces.
How to Do Nothing for an Indefinite Amount of Time in Shell
Filed under Scripting
A quick and practical guide to waiting for an indefinite time in terminal.
Fine-Tuning and Parameterization of FFmpeg Render Process
Filed under File Compression, Scripting
A quick and practical guide to fine-tuning and parameterization of FFmpeg render process
How to Check Services on Non-systemd Linux
Filed under Administration
A quick and practical guide to checking services on non-systemd Linuxes.
How to Access the Default Logs Directory for Package Managers in Linux
Filed under Administration
A quick and practical guide to accessing the default logs directory for package managers in Linux.
How to Kill a Process Based on the Process Arguments
Filed under Administration, Processes
A quick and practical guide to killing a process based on the process arguments.
Checking Weather from the Command Line
Filed under Administration, Scripting
A quick and practical guide to checking weather from command line.
How to Write iptables Logs to a Separate File
Filed under Administration, Networking
A quick and practical guide to logging iptables to separate file.
How to Use an Already Established SSH Channel
Filed under Networking
A quick and practical guide to reusing an already established SSH channel.
Copying Files Based on Modification Date in Linux
Filed under Files
A quick and practical guide to copying files based on their modification date.
Pass the Password to su/sudo/SSH Without Overriding the TTY
Filed under Administration
A quick and practical guide to passing the password without overriding TTY.
Understanding SSHFS
Filed under Filesystems
A quick and practical guide to SSHFS.
Use Bash With Alpine Based Docker Image
Filed under Docker
A quick and practical guide to using bash with Alpine-based Docker images.
Docker Image Storage on the Host Machine
Filed under Docker
A quick and practical guide to managing Docker image storage on the host machine.
Properly Remove IP From an Interface Using the ip Command
Filed under Networking
A quick and practical guide to properly removing IP from an interface using the ip command.
Why Should Text Files End With a Newline in Linux?
Filed under Files
A quick and practical explanation why newlines are required when working with Linux files.
Running MongoDB as a Docker Container
Filed under Docker
A quick and a practical introduction to running MongoDB as a Docker container.
Monitor Internet Bandwidth Usage on Linux
Filed under Administration, Networking
A quick and practical guide to monitoring internet bandwidth usage on Linux.
The Difference Between SO_REUSEADDR and SO_REUSEPORT
Filed under Networking
A practical comparison between SO_REUSEADDR and SO_REUSEPORT.
Running Docker Without sudo
Filed under Docker
A quick and practical guide to running Docker without sudo.
Why Looping Over find’s Output Is a Bad Practice
Filed under File Searching, Scripting
An overview of issues with iterating over the find command’s output.
IPC Performance Comparison: Anonymous Pipes, Named Pipes, Unix Sockets, and TCP Sockets
Filed under Processes
A practical comparison between various IPC methods.
How to Compile 32-bit Binary on 64-bit Linux System
Filed under Administration
A practical guide to compiling 32-bit binaries on 64-bit Linux systems.
List the Open File Descriptors in the Current Bash Session
Filed under Filesystems, Processes
Learn how to view the open file descriptors of a bash session.
Using the tail Command with Colored Output
Filed under File Viewing
A quick and practical guide to using the tail command with colored output.
Remove a CLOSE_WAIT Socket Connection
Filed under Networking
Learn what a CLOSE_WAIT state is and how to remove the socket connection.
Monitor the Thread Count of a Process on Linux
Filed under Processes
Learn how to check and monitor threads on Linux.
Managing Users and Groups in Linux
Filed under Administration
A practical guide to users and groups management in Linux.
Calculate the Total CPU Usage of a Process From /proc/pid/stat
Filed under Processes
A quick and practical guide to calculating the total CPU usage of a process.
Freeing Inode Usage
Filed under Filesystems
A quick and practical guide to freeing inode usage.
Track Child Processes Using strace
Filed under Processes
A quick and practical guide to tracking child processes with strace.
Tainted Linux Kernel
Filed under Security
A quick and practical explanation of tainted Linux kernels.
Synchronize Linux Directories in Both Directions
Filed under Files
A quick and practical guide to synchronizing directories in Linux.
cURL Command Without Using Cache
Filed under Web
A quick and practical guide to using curl without cache.
How to Create a Simple Debian Package
Filed under Installation
A quick and practical guide to creating simple Debian packages.
Merging Images in the Linux Terminal
Filed under Scripting
A quick and practical guide to merging images quickly in the Linux terminal.
Include Files in a Bash Shell Script With source Command
Filed under Scripting
A quick and practical guide to the source command.
Check if an SMTP Server Is Working From the Linux Terminal
Filed under Administration
Learn how to check if an SMTP server is running ok via the terminal.
Shell Script for Logging Into a SSH Server
Filed under Administration
A quick and practical guide to accessing and executing the commands on a remote SSH machine.
Pipe Output to Bash Function
Filed under Scripting
Learn how to redirect output to another function in Bash.
Diff a Directory for Only Files of a Specific Type
Filed under Files
A quick and practical guide to listing different specific file types between two directories.
Solving DNS Resolution Issues
Filed under Networking
A quick and practical guide to solving hostname resolution issues.
Create Linux Folder Path and File in One Command
Filed under Files
A practical guide to creating a folder and file paths in one command in Linux systems.
Displaying Request Headers With curl
Filed under Web
A quick and practical guide to displaying request headers using curl.
How to Run a Script at a Certain Time on Linux
Filed under Administration
Learn how to schedule script execution in Linux.
Adding an Extension to Files With Bash
Filed under Files
Learn how to update the extensions of multiple files in bash.
Solving the “bad ELF interpreter” Error
Filed under Administration
Understand the “bad ELF interpreter” error in Linux and how to solve it.
Get Overall CPU Usage on Linux
Filed under Administration
A quick and practical guide to monitoring CPU usage on Linux.
How to Create an Alias in Linux
Filed under Scripting
Learn how to work with aliases in Linux.
Guide to Linux Filesystems
Filed under Filesystems
An overview of various Linux filesystems.
Killing Processes by Given Partial Names in Linux
Filed under Processes
A guide to killing Linux processes using their partial names.
How To Find Only Text Files in a Directory in Linux
Filed under File Searching
A quick and practical guide to searching for text files in a particular directory.
Escape Double Quote In Grep
Filed under File Searching
A quick and practical guide to escaping a double quote in grep.
How to Create a CPU Spike in Bash
Filed under Administration, Scripting
Learn multiple ways to monitor CPU usage and create a CPU spike in bash.
How to Find Which Process Was Killed by Linux OOM Killer
Filed under Administration, Processes
A quick and practical guide to debugging Linux OOM errors.
Restart a NoSQL Database Like MongoDB
Filed under Scripting
Examine the various ways to restart a MongoDB Database.
Command Line Clipboard Access and Alternatives
Filed under Administration
A quick and practical guide on how to use clipboard from command line.
The Most Common Flags in /proc/cpuinfo with Examples
Filed under Administration
A practical overview of most common /proc/cpuinfo flags.
Check the Syntax of a Bash Script Without Running It
Filed under Scripting
Learn how to validate Bash scripts before running them.
Delete Empty Files and Directories in Linux
Filed under File Editing
A guide to deleting empty files and directories on Linux.
Zip: Avoiding Unwanted Directories
Filed under File Compression
A guide to creating archives that don’t include confusing extra directories.
Standard Exit Status Codes in Linux
Filed under Scripting
A quick and practical guide to Linux exit codes.
Evolution of Docker from Linux Containers
Filed under Docker
A comprehensive introduction to containerization and Linux containers.
Check if Directory Is Mounted in Bash
Filed under Filesystems
A quick and practical Bash guide to checking if a directory is mounted.
How to Parse a CSV File in Bash
Let’s see how we can parse values from CSV files with various Bash built-in utilities.
Kernel Stack and User Space Stack
Filed under Processes
A quick and practical explanation of Linux stack spaces.
Linux Commands – Remove All Text After X
Filed under File Editing
A quick and practical overview of trimming strings after sequence occurrences on Linux.
Linux source Command
Filed under Scripting
A quick and practical guide to Linux’s source command.
Linux ping Command
Filed under Scripting
A quick and practical guide to the Linux ping command.
Linux man Command
Filed under Administration, Scripting
A quick and practical guide to the “man” command in Linux.
Managing Processes in Linux
Filed under Processes
A quick and practical guide to managing processes in Linux.
How to Change Terminal Output Color in Linux?
Filed under Scripting
A quick and practical guide to setting terminal output color in Linux.
Using Shebang #! in Linux Scripts
Filed under Scripting
A quick and practical guide to using shebangs.
“Cut” Command in Linux
Filed under Scripting
A quick and practical example of “cut” command in Linux.
Viewing Files in Linux Using cat, more, and less
Filed under File Viewing
A quick and practical overview of viewing files in Linux using cat, more, and less.
Pipes and Redirection in Linux
Filed under Scripting
A quick and practical overview of pipes and redirection in Linux.
Concatenating Text Files into a Single File in Linux
Filed under Files
A quick and practical tutorial to concatenating files into a single file in Linux.
Generating SSH Keys in Linux
Filed under Security
A quick and practical introduction to creating SSH keys on Linux.
Baeldung on Scala
- All
- Scala Collections (15)
- Functional Programming (15)
- Scala Basics (11)
- Akka (9)
- Scala OOP (6)
- Scala Strings (5)
- Scala IO (5)
- Testing (4)
- Scala Type System (4)
- Scala Dates (4)
- Scala Core (4)
- Play Framework (4)
- Libraries (3)
- Build Tools (3)
- Apache Spark (3)
- Scala Syntax (2)
- Scala Pattern Matching (2)
- Scala Web (1)
- Scala Numbers (1)
- Scala Exceptions (1)
- Scala Concurrency (1)
Find Two’s Complement of a Number in Scala
Filed under Scala Numbers
A quick and practical guide to finding two’s complement of a number in Scala.
Building Scala Projects With Maven
Filed under Build Tools
A quick and practical guide to building Scala with Maven.
Check if Two Strings Are Isomorphic in Scala
Filed under Scala Strings
A quick and practical guide to checking whether two strings are isomorphic in Scala.
Reading CSV Files Using Akka-Streams
A quick and practical guide to reading CSV Files using Akka-Streams.
Guide to Predicate Matching in Scala 3
Filed under Scala Basics
A quick and practical guide to predicate matching in Scala 3.
PriorityQueue in Scala
Filed under Scala Collections
A quick and practical guide to PriorityQueue in Scala.
Match Expression Improvements in Scala 3
Filed under Scala Basics
A quick and practical guide to the match expression improvements in Scala 3.
Implement a Fixed-Size List in Scala
Filed under Scala Collections
A quick and practical guide to implementing a fixed-size list in Scala.
Scala Keyword Matching: A Library-First Guide
Filed under Scala Strings
A quick and practical guide to keyword matching in Scala.
Moving Averages in Scala: A Tale of Two Approaches
Filed under Scala Collections
A quick and practical guide to implementing moving averages in Scala.
ScalaTest Assertions: A Comprehensive Guide
Filed under Testing
A quick and practical guide to assertions in ScalaTest.
Error Handling in ZIO
Filed under Functional Programming
A quick and practical guide to error handling in ZIO.
Create a Random Sample of Fixed Size From a Scala List
Filed under Scala Collections
A quick and practical guide to drawing a random sample from a Scala List.
Testing ZIO Applications Using ZIO Test
Filed under Testing
A quick and practical guide to ZIO Test.
Append an Element to an Array in Scala
Filed under Scala Collections
A quick and practical guide to appending an element to an array in Scala.
Different Ways to Create ZIO Effects
Filed under Functional Programming
A quick and practical guide to creating ZIO effects.
Get Difference Between Two Dates
Filed under Scala Dates
A quick and practical guide to getting difference between two dates in Scala.
The Builder Pattern in Scala
Filed under Scala Basics
A quick and practical guide to the builder pattern in Scala.
Check if a List Is a Sublist of Another List
Filed under Scala Collections
A quick and practical guide to checking if a list is another list’s sublist.
Rotating a Scala Collection
Filed under Scala Collections
A quick and practical guide to rotating a Scala collection.
Reading Query Parameters in Akka HTTP
Filed under Akka
A quick and practical guide to reading query parameters in Akka HTTP.
Convert Byte Array to String in Scala
Filed under Scala Strings
A quick and practical guide to converting byte array to string in Scala.
Using the “with” Keyword When Creating Instances
Filed under Scala Basics
A quick and practical guide to the “with” keyword.
Get the First N Rows of a Spark Dataframe
Filed under Apache Spark
A quick and practical guide to fetching first n number of rows from a Spark DataFrame.
Find the Last Occurrence of an Element in a List
Filed under Scala Collections
A quick and practical example of how to find the last occurrence of an element in a list in Scala.
LazyList in Scala
Filed under Scala Collections
A quick and practical guide to LazyList in Scala.
Convert a String to Camel Case in Scala
Filed under Scala Strings
A quick and practical guide to converting Strings to camel case in Scala.
How to Flatten Collections in Scala
Filed under Scala Collections
A quick and practical guide to flattening Scala collections.
Introduction to Apache Log4j in Scala
Filed under Libraries
A quick and practical guide to Log4j with Scala.
Introduction to Akka gRPC
Filed under Akka
A quick and practical guide to Akka gRPC
Apply Method in Scala
Filed under Functional Programming
A quick and practical primer on the apply() method in Scala.
Server Sent Events With Alpakka
Filed under Akka
A guide to Server-Sent-Events with Alpakka.
Split List by Fixed Number of Elements
Filed under Scala Collections
A quick and practical guide to splitting a List by fixed number of elements.
A Guide to the Scala Retry Library
Filed under Libraries
A quick and practical introduction to the Scala retry library.
Introduction to SBT
Filed under Build Tools
A quick and practical introduction to SBT.
Count All Occurrences of a char Within a String in Scala
Filed under Scala Strings
Learn how to count all occurrences of a given char in a String in Scala.
Logging with Play!
Filed under Play Framework
A practical guide to logging in a Play application.
Print the Content of an Apache Spark RDD
Filed under Apache Spark
A quick and practical guide to printing RDD’s content.
Guide to Inheritance in Scala
Filed under Scala OOP
An overview of inheritance in Scala.
Deleting Directories Recursively in Scala
Filed under Scala IO
A quick and practical guide to deleting directories recursively in Scala.
Introduction to Scala Reflection API
Filed under Scala Core
A comprehensive guide to reflection in Scala.
Introduction to ScalaMock
Filed under Testing
Learn the basics of ScalaMock, a Scala native library for test mocking.
The Magnet Pattern in Scala
Filed under Functional Programming
A quick and practical guide to the Magnet pattern in Scala.
Actor Discovery in Typed Akka
Filed under Akka
Learn how actors can be discovered or found using Akka.
Guide to Scalatra
Filed under Scala Web
An introduction to the Scalatra framework.
Convert RDD to DataFrame in Spark
Filed under Apache Spark
A quick and practical guide to converting RDD to DataFrame in Spark.
Convert a String to Date in Scala
Filed under Scala Dates
A quick and practical String and Date conversion guide in Scala.
Reading Command-Line Arguments in Scala
Filed under Scala IO
A quick and practical guide to reading command-line arguments in Scala.
Generate Build Info Using sbt-buildinfo
Filed under Build Tools
A quick and practical guide to generating build info using sbt-buildinfo.
The return Keyword in Scala
Filed under Scala Syntax
A quick and practical guide to the “return” keyword in Scala.
Type Inference in Scala
Filed under Scala Type System
Learn about type inference in Scala with examples.
Break Statement in Scala
Filed under Scala Syntax
A quick and practical guide to the break statement in Scala.
Iterating Over a Scala Map
Filed under Scala Collections
A quick and practical guide to iterating over a Map in Scala.
Introduction to ScalaCheck
Filed under Testing
Learn how to use ScalaCheck for automated property-based testing of Scala programs.
Creating a List in Scala
Filed under Scala Collections
Learn different ways to create and populate Lists in Scala.
New Control and Quiet Syntax in Scala 3
Filed under Scala Basics
A quick and practical guide to Scala 3’s “quiet syntax”.
Introduction to ZIO
Filed under Functional Programming
A guide to the ZIO library for asynchronous and concurrent programming in Scala.
File Operations Using Ammonite-Ops
Filed under Scala IO
A look at Ammonite-Ops and how to use it to perform everyday file operations.
Introduction to Scala REPL
Filed under Scala Basics
A quick and practical guide to Scala REPL.
Contextual Abstractions: Given Instances and Using Clauses
Filed under Scala Core
A quick and practical guide to Given and Using in Scala.
Intersection Types in Scala 3
Filed under Scala Type System
Learn how to use intersection types in Scala 3.
Multiversal Equality in Scala 3
Filed under Scala Type System
Learn about the multiversal equality featured introduced in Scala 3.
Database Access with Play
Filed under Play Framework
Learn how to access a database with Play.
Asynchronous and Reactive Programming With Monix in Scala
Filed under Functional Programming
A quick and practical introduction to Monix.
Guide to Scala Duration and FiniteDuration
Filed under Scala Dates
A quick and practical guide to Duration and FiniteDuration in Scala.
Working With Dates and Times in Scala
Filed under Scala Dates
A quick and practical guide to working with date and time in Scala.
Introduction to Dotty and Scala 3
Filed under Scala Basics
Learn about the Dotty compiler and other features added in Scala 3.
Rich Wrappers in Scala
Filed under Scala Basics
A quick and practical introduction to rich wrappers in Scala.
Benefits of Using Vector in Scala
Filed under Scala Collections
A quick and practical overview of Vector’s benefits in Scala.
Templating in Play Framework with Scala
Filed under Play Framework
A quick and practical overview of Play templating.
@switch Annotation in Scala
Filed under Scala Pattern Matching
A quick and practical introduction to the @switch annotation in Scala.
Actor Lifecycle in Akka
Filed under Akka
An overview of the actor lifecycle in Akka.
The Tagless Final Pattern in Scala
Filed under Functional Programming
A quick and practical guide to implementing the Tagless Final pattern in Scala.
Difference Between assert and require in Scala
Filed under Scala Basics
Learn about the functionalities of assert and require and their differences in semantics and exception behavior.
Typed Mailboxes in Scala
Filed under Akka
A quick and practical overview of typed mailboxes in Akka.
Introduction to Generic Programming in Scala with shapeless
Filed under Functional Programming
A quick and practical introduction to generic programming in Scala using the shapeless library
Introduction to FS2: Functional Streams for Scala
Filed under Functional Programming, Libraries
A quick and practical guide to FS2: Functional Streams for Scala.
Private and Protected Constructors in Scala
Filed under Scala OOP
Learn how to define private and protected constructors in Scala.
Type Disjunction (Union Types) in Scala
Filed under Scala Type System
Learn how to represent Type Disjunction or Union Types in Scala.
Monads in Scala
Filed under Functional Programming
A quick and practical guide to Monads in Scala.
Implicitly in Scala
Filed under Scala Core
A quick and practical introduction to implicitly in Scala.
Difference Between Nil, Null, Nothing, Unit, and None in Scala
Filed under Scala Basics
A quick guide to Nil, Null, Nothing, Unit, and None in Scala.
How to Read Environment Variables in Scala
Filed under Scala Basics
A quick and practical guide to reading environment variables in Scala.
Converting Java Collections to Scala Collections
Filed under Scala Collections
A quick and practical guide to convenient Java/Scala collections conversions.
Try-With-Resources in Scala
Filed under Scala Exceptions
A quick and practical guide to achieving try-with-resources semantics in Scala.
Sealed Keyword in Scala
Filed under Scala OOP
A quick and practical guide to the “sealed” keyword.
Introduction to Akka Scheduler
Filed under Akka
A quick and practical guide to Akka Scheduler.
The Principles Behind Scalaz
Filed under Functional Programming
A quick and practical overview of principles behind the scalaz library.
Type Classes in Scala
Filed under Functional Programming
A quick and practical guide to Type Classes in Scala.
Companion Objects in Scala
Filed under Scala OOP
A quick and practical introduction to Companion Objects in Scala.
Polymorphism in Scala
Filed under Scala OOP
A quick and practical overview of polymorphism in Scala.
Pimp My Library Pattern in Scala
Filed under Scala Core
A quick and practical overview of the implementation of the Pimp My Library pattern in Scala.
Loops in Functional Scala
Filed under Functional Programming
A quick and practical overview of looping in Functional Programming.
Functions in Scala
Filed under Functional Programming
A quick and practical overview of various types of functions in Scala.
File IO in Scala
Filed under Scala IO
A quick and practical overview of File IO in Scala.
Futures and Promises in Scala
Filed under Scala Concurrency
A quick and practical guide to Futures and Promises in Scala.
Class Composition with Mixins
Filed under Scala OOP
A quick and practical guide to mixins in Scala.
Functions and Methods in Scala
Filed under Functional Programming
A quick and practical guide to functions/methods in Scala.
Integrating Lagom with Play Framework and Akka Actors
Filed under Akka, Play Framework
A quick and practical example of integrating Lagom with Play and Akka.
An Introduction to Scala Extractor Objects
Filed under Scala Pattern Matching
A quick and practical guide to Scala extractor objects.
Baeldung on Computer Science
- All
- Algorithms (58)
- Machine Learning (31)
- Data Structures (19)
- Math and Logic (18)
- Trees (17)
- Core Concepts (15)
- Networking (13)
- Artificial Intelligence (13)
- Deep Learning (12)
- Security (11)
- Programming (11)
- Path Finding (11)
- Graphs (11)
- Sorting (9)
- Searching (9)
- OS (7)
- Software Architecture (4)
- Graph Traversal (4)
- Data Science (2)
- Concurrency (2)
- Computer Vision (2)
- Web (1)
- Latex (1)
- Graph Theory (1)
How to Validate a Binary Search Tree?
Filed under Data Structures, Trees
A quick and practical overview of Binary Search Tree validation.
Why Does ChatGPT Not Give the Answer All at Once?
Filed under Artificial Intelligence
A quick and practical explanation of why ChatGPT doesn’t give the answer all at once.
How to Detect Spoofed Packets?
Filed under Networking, Security
A quick and practical guide to spoofed packets detection.
Finding the “Visual” Center of a Polygon
Filed under Math and Logic
Learn how to find the visual center of a polygon.
Site Reliability Engineering
Filed under Web
A quick and practical guide to Site Reliability Engineering.
What Are the Advantages of Kernel PCA Over Standard PCA?
Filed under Machine Learning
A quick and practical guide to advantages of Kernel PCA.
What Are Data Pipelines?
Filed under Software Architecture
A quick and practical guide to Data Pipelines.
How to Encode a Chess Board State Throughout a Game?
Filed under Algorithms
A quick and practical guide to representing a chess game state.
GMMs for Clustering
Filed under Machine Learning
Learn how to use Gaussian mixture models for clustering.
What is RFID and How Does It Work?
Filed under Security
A quick and practical guide to RFID.
CPU and I/O Burst Cycles
Filed under Core Concepts
A quick and practical guide to CPU and I/O burst cycles.
Avoiding Single Points of Failures in Distributed Systems
Filed under Networking
A quick and practical guide to avoiding single points of failures in distributed systems.
Prevent the Vanishing Gradient Problem with LSTM
Filed under Deep Learning
A quick and practical introduction to vanishing gradient problem prevention with LSTM.
The Power and Promise of Explainable AI
Filed under Artificial Intelligence
A quick and practical guide to Explainable AI.
Importance of Statistics in Machine Learning
Filed under Machine Learning
A quick and important guide to why it’s necessary to know statistics for machine learning.
Gaussian Mixture Models
Filed under Machine Learning
A quick and practical guide to Gaussian Mixture Models.
Differences Between Unicode Encodings
Filed under Core Concepts
A quick and practical guide to differences between unicode encodings.
Why Is ChatGPT Bad at Math?
Filed under Artificial Intelligence
A quick and practical explanation why ChatGPT is bad at math.
Introduction to Spiking Neural Networks
Filed under Machine Learning
A quick and practical guide to Spiking Neural Networks.
DHCP: Why UDP and Not TCP?
Filed under Networking
A quick and practical explanation of why DHCP uses UDP instead of TCP.
Procedural Generation of Computer Game Maps
Filed under Algorithms
A quick and practical guide to procedural map generation in games.
What Is Data Science?
Filed under Data Science
A quick and practical guide to data science.
How Does ChatGPT Work?
Filed under Artificial Intelligence
A comprehensive introduction to ChatGPT internals.
VRF vs. VLAN vs. Subnet
Filed under Networking
A quick and practical comparison between VRF, VLAN, and subnets.
How Does Timsort Work?
Filed under Sorting
A quick and practical guide to Timsort.
An Introduction to Botnets
Filed under Security
A quick and practical guide to botnets.
Understanding Text Mining
Filed under Artificial Intelligence
A quick and practical guide to text mining.
How Do QR Codes Work?
Filed under Security
A quick and practical guide to QR codes. Learn about their structure and decoding them.
Artificial Intelligence Agents Explained
Filed under Artificial Intelligence
A quick and practical guide to agents in artificial intelligence.
IP Fragmentation and Reassembly
Filed under Networking
A quick and practical guide to fragmentation and reassembly of IP packets.
Introduction to Large Language Models
Filed under Deep Learning
A quick and practical guide to Large Language Models.
In-Place Sorting With Merge Sort
Filed under Sorting
A quick and practical guide to in-place sorting with MergeSort.
Understanding the Randomized Quicksort
Filed under Sorting
A quick and practical guide to the randomized QuickSort algorithm.
File Sharing: NFS vs SMB vs CIFS
Filed under OS
A quick and practical guide to common file sharing protocols.
Constructive Algorithms for Graph Colouring
Filed under Algorithms
A quick and practical guide to graph colouring algorithms.
What Is and Why Use Temperature in Softmax?
Filed under Deep Learning, Machine Learning
A quick and practical guide to using temperature in Softmax.
Linear vs Differential Cryptanalysis
Filed under Security
A quick and practical comparison between two types of cryptanalysis.
Tetris Piece Rotation Algorithm
Filed under Algorithms
A quick and practical guide to solving Tetris.
How to Read Barcodes
Filed under Core Concepts
A quick and practical guide to reading barcodes.
Algorithm for Online Outlier Detection in Time Series
Filed under Algorithms, Machine Learning, Math and Logic
A quick and practical guide to online outlier detection in time series.
What Is Consistent Hashing?
Filed under Security
A quick and practical guide to consistent hashing.
The Rod Cutting Problem in Computing
Filed under Algorithms
Learn how to solve the rod-cutting problem.
Figuring out Subnet ID and Host ID from an IP Address
Filed under Networking
A quick and practical guide to extracting subnet ID and host ID from an IP address.
Differences Between Raster and Vector Graphics
Filed under Core Concepts
A quick and practical overview and comparison of raster and vector graphics.
Software Testing: Severity vs. Priority
Filed under Programming
A quick and practical guide to basic software testing concepts: severity and priority.
How Does a Neural Network Recognize Images?
Filed under Computer Vision
A quick and practical guide to how neural networks recognise images?
How to Create a URL Shortener
Filed under Core Concepts
A quick and practical guide to creating a URL shortener.
Introduction to XOR Linked Lists
Filed under Data Structures
A quick and practical guide to XOR Linked Lists.
Big-O Notation of Stacks, Queues, Deques, and Sets
Filed under Data Structures
A quick and practical overview of complexity analysis of a few popular data structures.
Introduction to Quantum Computing
Filed under Core Concepts
A quick and comprehensive introduction to quantum computing.
How Do Merkle Trees Work?
Filed under Trees
A quick and practical guide to Merkle trees.
How to Make Custom Page Numbering in LaTeX?
Filed under Latex
A quick and practical guide to applying custom page numbering in LaTeX.
Hashing – Separate Chaining
Filed under Algorithms, Data Structures
A quick and practical guide to separate chaining for hashing.
What Are Serialization and Deserialization in Programming?
Filed under Programming
A quick and practical introduction to serialization/deserialization.
Check if the Sum of Any Two Numbers in an Array Matches a Given Number
Filed under Algorithms
A quick and practical guide to checking if a sum of any two numbers in an array matches a given number
What Is Independent Component Analysis (ICA)?
Filed under Machine Learning
A quick and practical guide to independent component analysis (ICA)
Introduction to Secure Computation
Filed under Security
A practical overview of secure computation and some of the practical challenges.
Best Order to Sign, Encrypt and Compress Content
Filed under Security
A quick and practical guide to the optimal encryption/signing/compress order.
The Ramsey Theory
Filed under Graph Theory
A quick and practical guide to the Ramsey Theory.
Recursion: Direct vs Indirect
Filed under Programming
A quick and practical comparison between direct and indirect recursion.
Firefly Algorithm
Filed under Algorithms
A quick and practical guide to Firefly algorithm.
Hashing – Linear Probing
Filed under Data Structures
A quick and practical guide to Linear Probing – a hashing collision resolution technique.
How Many Bytes Does One Unicode Character Take?
Filed under Programming
A quick and practical explanation of how many bytes does one Unicode character take.
What’s IP-Address Ending With Zero Used For?
Filed under Networking
A quick and practical introduction to IP addressing and what IP addressed ending with 0 are used for.
What Are Embedding Layers in Neural Networks?
Filed under Deep Learning
A quick and practical guide to embedding layers in neural networks and their applications.
What Is the Difference Between Antivirus and Firewalls
Filed under Security
A quick and practical comparison between antiviruses and firewalls.
Explanation of BASE Terminology
Filed under Core Concepts
A quick and practical explanation of BASE.
Introduction to Gibbs Sampling
Filed under Data Science, Machine Learning, Math and Logic
A quick and practical introduction to Gibbs sampling.
EIGRP vs OSPF vs BGP
Filed under Networking
A quick and practical guide to differences between EIGRP, OSPF, and BGP.
Introduction to Cryptography
Filed under Security
A quick and practical introduction to cryptography.
How to Calculate the Angle from Rotation Matrix
Filed under Algorithms, Math and Logic
A quick and practical guide on how to determine the rotation angle from a rotation matrix.
Calculating the Odds of a Team Winning a Sports Match Given Full History
Filed under Math and Logic
A quick and practical guide to calculating the odds of a team winning a sports match.
Consensus Algorithms in Distributed Systems
Filed under Core Concepts, Software Architecture
A quick and practical introduction to consensus algorithms in distributed systems.
What Is the No Free Lunch Theorem?
Filed under Machine Learning
Learn about the No Free Lunch Theorem.
How Does Particle Swarm Optimization Work?
Filed under Algorithms, Artificial Intelligence
Introduction to Particle Swarm Optimization.
What Does Backbone Mean in Neural Networks?
Filed under Deep Learning, Machine Learning
A quick an practical guide to backbones in neural networks.
Getting the Closest String Match
Filed under Algorithms
A quick and practical guide to finding the closest string matches.
The de Bruijn Sequence
Filed under Algorithms
A quick and practical introduction to de Bruijn sequences.
Practical Applications of Directed Acyclic Graphs
Filed under Graphs
A quick and practical introduction to DAGs and their practical applications.
Using HTTP Tunnel to Traceroute Through a Proxy With Firewall
Filed under Networking
A guide to using HTTP tunnel to traceroute through a proxy with firewall.
Harris Corner Detection Explained
Filed under Algorithms
A quick and practical guide to Harris corner detection.
Algorithm for Merging Two Max Heaps
Filed under Algorithms
A quick and practical guide to merging two max heaps.
What Is Feature Importance in Machine Learning?
Filed under Machine Learning
A guide to feature importance in Machine Learning.
Attention Mechanism in the Transformers Model
Filed under Artificial Intelligence
Learn about the self-attention mechanism in the transformers architecture.
Differences Between Porter and Lancaster Stemming Algorithms
Filed under Algorithms
A comparison between the Porter and Lancaster stemming algorithms.
Finding the Shortest Cycle in an Undirected Graph
Filed under Graphs
A guide to finding the shortest cycle in an undirected graph.
What Exactly Is an N-Gram?
Filed under Deep Learning
Learn about n-grams and some practical applications for them.
Median of a Matrix With Sorted Rows
Filed under Algorithms
A quick and pratical guide to finding a median of a matrix with sorted rows.
What Is YOLO Algorithm?
Filed under Computer Vision
A guide to the YOLO algorithm for object detention
Non-repeating Random Number Generator
Filed under Algorithms
Learn about several techniques used to generate random numbers such that each number is only generated once.
Difference Between Tree Order and Degree
Filed under Data Structures, Trees
An explanation of the concepts of order and degree for trees.
Off-policy vs. On-policy Reinforcement Learning
Filed under Deep Learning, Machine Learning
Understand two different approaches for training a reinforcement learning agent: on-policy learning and off-policy learning.
Overview of Nature-Inspired Metaheuristic Algorithms
Filed under Algorithms
An overview of nature-inspired metaheuristic algorithms.
Storing a Tree Structure in a Relational Database
Filed under Data Structures, Trees
A guide to representing trees in relational databases.
Differences Between APIs and ABIs
Filed under Programming
A comparison between APIs (Application Programming Interface) and ABIs (Application Binary Interface)
Convolutional Neural Network vs. Regular Neural Network
Filed under Deep Learning
A comparison between regular neural networks and convolutional neural networks.
Determining the Most Distant Pair of Points
Filed under Math and Logic
A guide to the problem of finding the distance between the farthest pair of points from a given set of points.
Finding the Minimum Number of Jumps to Reach the End of an Array
Filed under Searching
An overview of the problem of finding the minimum number of jumps to reach the end of a given array starting from the beginning.
Differences Between a Deep Copy and a Shallow Copy
Filed under Programming
A quick and practical comparison between deep and shallow copying.
Proxy Server vs. Reverse Proxy Server
Filed under Networking
A quick and practical comparison between a proxy and a reverse proxy.
Algorithm to Find All Subarrays With a Given Sum K
Filed under Algorithms
A quick and practical guide to the problem of finding the number of subarrays with a given sum K.
Finding the Number of Distinct Subsequences of a String
Filed under Searching
Understand the problem of finding distinct subsequences of a string and a few ways to approach it.
What Are Rings in Operating Systems?
Filed under OS
Learn about protection rings in the operating system.
What Is Depth in a Convolutional Neural Network?
Filed under Artificial Intelligence, Math and Logic
Understand the term “depth” when it comes to convolutional neural networks.
What Is the Difference Between Markov Chains and Hidden Markov Models?
Filed under Artificial Intelligence
A quick and practical comparison of Markov Chains and Hidden Markov Models
How To Find a List of Possible Words From a Letter Matrix
Filed under Searching
A quick and practical overview of the problem of finding the list of all possible words from a 2D letter matrix.
Generating a Crossword Puzzle
Filed under Algorithms
Learn about algorithms used to generate crosswords puzzles.
Salp Swarm Algorithm
Filed under Algorithms
Learn about the Salp Swarm algorithm, a relatively new nature-inspired meta-heuristic optimization technique.
What Is the Best Sorting Algorithm To Sort an Array of Small Integers
Filed under Sorting
A quick and practical guide to sorting arrays of small integers.
What Is the Difference Between Natural Cubic Spline, Hermite Spline, Bézier Spline and B-Spline?
Filed under Math and Logic
A comprehensive overview of differences between Natural Cubic Spline, Hermite Spline, Bézier Spline and B-spline.
How to Use K-Fold Cross-Validation in a Neural Network?
Filed under Machine Learning
A guide to validating neural networks with K-Fold Cross-Validation.
Q-Learning vs. SARSA
Filed under Machine Learning
An overview of the Q-learning and SARSA algorithms.
Differences Between Bidirectional and Unidirectional LSTM
Filed under Machine Learning
Understand the differences between bidirectional and unidirectional LSTM.
Relation Between Learning Rate and Batch Size
Filed under Deep Learning, Machine Learning
An overview of the learning rate and batch size neural network hyperparameters
Service Discovery in Microservices
Filed under Software Architecture
An introduction to Service Discovery in the context of microservices.
Word2vec Word Embedding Operations: Add, Concatenate or Average Word Vectors?
Filed under Deep Learning, Machine Learning
An overview of the word2vec algorithm and the logic behind word embeddings.
Fundamentals of Sandboxing
Filed under OS
Explore the different concepts and architectures used to sandbox applications.
Ensemble Learning
Filed under Machine Learning
Learn about the ensemble learning method in machine learning.
Accuracy vs AUC in Machine Learning
Filed under Machine Learning
Learn about two commonly used machine learning metrics, accuracy and AUC.
Biases in Machine Learning
Filed under Machine Learning
A comprehensive introduction to biases in Machine Learning.
Stratified Sampling in Machine Learning
Filed under Machine Learning
A quick and practical guide to Stratified Sampling in Machine Learning.
An Introduction to the Voronoi Diagram
Filed under Algorithms
A guide to Voronoi diagrams, named after the famous Russian mathematician Georgy Voronoi.
Introduction to Transactions
Filed under Software Architecture
A comprehensive overview of transactions and guarantees they provide.
Circle Line-Segment Collision Detection Algorithm
Filed under Algorithms, Math and Logic
A guide to detecting collisions between a circle and a line or line segment.
How to Calculate the Regularization Parameter in Linear Regression
Filed under Machine Learning
Go over an overview of linear regression, and why we need regularization.
Grasshopper Optimization Algorithm
Filed under Algorithms
Understand the steps of the Grasshopper Optimization Algorithm (GOA) with an example, and discuss its benefits and drawbacks.
Real World Examples of Tree Structures
Filed under Data Structures, Trees
Have a look at real-world examples of tree structures, in the areas of game development, databases, and machine learning.
Count the Number of Set Bits in an Integer
Filed under Algorithms
Have a look at a few different approaches and algorithms for counting the number of set bits in an integer.
Difference Between a SVM and a Perceptron
Filed under Machine Learning
A quick and practical comparison between SVM and a perceptron.
The Informed vs. Uninformed Search Algorithms
Filed under Searching
A comparison between informed and uninformed search strategies.
Clean Code – Formatting
Filed under Programming
Learn about good practice for code formatting.
Pattern Recognition in Time Series
Filed under Machine Learning
A quick and practical guide to detecting patterns in time series.
Finding Dates, Times and Addresses in Emails
Filed under Searching
A quick and practical guide to extracting dates, times, and addresses from any text data.
Out-of-bag Error in Random Forests
Filed under Machine Learning
A quick and practical explanation of out-of-bag errors in random forests.
Introduction to ASCII Code
Filed under Core Concepts
An overview of ASCII code
External Sorting vs Internal Sorting
Filed under Sorting
A comparison of external and internal sorting algorithms
Searching in a Sorted and Rotated Array
Filed under Algorithms
A quick overview of the most efficient way to find an integer in a sorted rotated array.
Finding Maximum Size Square in a Matrix Filled With Ones
Filed under Algorithms, Graphs
Learn how to find the maximum square size filled with ones in a matrix that contains only zeros and ones.
The Most Efficient Way to Implement an Integer Based Power Function
Filed under Algorithms, Math and Logic
Learn about different ways to implement an integer-based power function and compare their efficiency.
Finding the Next Smaller Element for Each Element in an Array
Filed under Algorithms, Math and Logic
Learn a few algorithms for finding the next smaller element for each element in an array.
Algorithms to Check If a Number Is a Power of 2
Filed under Algorithms, Math and Logic
Understand the problem of verifying if a number is a power of two, and a few ways to approach it.
Understanding Time Complexity Calculation for Dijkstra Algorithm
Filed under Path Finding
Understand Dijkstra’s algorithm and its time complexity.
Intuition Behind Gradient Descent Algorithm
Filed under Algorithms, Core Concepts
A quick and practical introduction to understanding the mathematics behind gradient descent algorithm.
Compile Time vs. Load Time vs. Execution Time
Filed under OS
A quick explanation of compile/load/execution time terms.
Minimum Number of Steps to Reduce Number to One
Filed under Algorithms, Trees
A quick and practical overview of reducing a number to one using the minimum number of operations.
Negative Weights Using Dijkstra’s Algorithm
Filed under Path Finding
A quick and practical introduction to dealing with negative weights while using Dijkstra’s algorithm.
Difference between Big-O and Little-o Notations
Filed under Algorithms, Core Concepts
Understand how the big-O and little-o notations differ and what it means to be asymptotically tight.
Process vs. Thread
Filed under Concurrency, OS
A quick and practical comparison of threads and processes.
What Is a Chipset?
Filed under OS
Let’s have a closer look at chipsets, and understand their components.
What’s the Difference Between User and Kernel Modes?
Filed under OS
A quick and practical comparison between user and kernel modes.
Pairing Socks From a Pile Efficiently
Filed under Algorithms, Math and Logic
A quick and practical overview of the sock pairing algorithm.
API Authentication – Tokens vs Sessions
Filed under Networking, Security
A quick and practical comparison between tokens and sessions.
Automatic Keyword and Keyphrase Extraction
Filed under Artificial Intelligence
A quick and practical introduction to Natural Language Processing.
Finding the Shortest Path in a Graph Visiting All Nodes
Filed under Graph Traversal, Path Finding
A quick and practical guide to finding the shortest path in a graph visiting all nodes.
What Does It Mean to Program to Interfaces?
Filed under Programming
A quick and practical introduction to programming to an interface.
Appointment Scheduling Algorithm
Filed under Algorithms, Graphs
A quick and practical overview of the appointment scheduling algorithm.
Obtaining the Path in the Uniform Cost Search Algorithm
Filed under Graphs, Path Finding
A quick and practical overview of Uniform Cost Search pathfinding algorithm.
How to Merge Sort A Linked List
Filed under Data Structures
A quick and introduction to merge sorting a linked list.
Find Local Minimum in N x N Matrix
Filed under Algorithms, Math and Logic
Learn how to solve the problem of finding the local minimum in an N x N matrix
Fundamentals of Distributed Systems
Filed under Core Concepts, Networking
A quick and practical introduction to distributed systems.
Flood Fill Algorithm
Filed under Algorithms
A quick and practical overview of the Flood Fill algorithm.
Number of Shortest Paths in a Graph
Filed under Path Finding
A quick and practical guide to finding the number of shortest paths in a graph.
Algorithm to Generate a Maze
Filed under Algorithms
Explore algorithms for generating a maze with visual representations.
Batch Normalization in Convolutional Neural Networks
Filed under Deep Learning
A quick and practical overview of batch normalization in convolutional neural networks.
Counting Inversions in an Array
Filed under Algorithms
Understand what an inversion is and look into ways of solving the problem of counting inversions in an array.
Reinforcement Learning with Neural Network
Filed under Machine Learning
A quick and practical introduction to the basics of reinforcement learning.
Finding a Cycle in a Singly Linked-List
Filed under Path Finding
Have a look at algorithms for finding a cycle in a singly linked-list.
Finding the Most Significant Bit
Filed under Algorithms, Core Concepts
A quick and practical guide to finding the most significant bit.
Non-Recursive Merge Sort
Filed under Sorting
A quick and practical overview of the non-recursive merge sort algorithm.
Introduction to Depth First Search Algorithm (DFS)
Filed under Graph Traversal
A quick and practical overview of the DFS algorithm.
Merge Two Sorted Arrays Into a Sorted Array
Filed under Sorting
A quick and practical guide to merging two sorted arrays into a single sorted array.
Efficient Ways to Find the Intersection of Lists
Filed under Algorithms, Data Structures
A quick and practical guide to finding the intersection of linked lists.
Remove Duplicates From a Linked List
Filed under Algorithms, Programming
A quick and practical tutorial to removing duplicates from a linked list.
Maximizing Profit for Given Stock Quotes
Filed under Math and Logic
A quick and practical guide to maximizing profit for given stock quotes.
Getting a Path From a Root to a Node in a Binary Tree
Filed under Path Finding
A quick and practical guide to getting a path from a root to a node in a binary tree.
What Is an Idempotent Operation?
Filed under Programming
A quick and practical introduction to idempotency.
Algorithms for Determining Text Sentiment
Filed under Artificial Intelligence
A quick and practical introduction to sentiment analysis.
Palindromic Substrings in O(n) with Manacher’s Algorithm
Filed under Searching
A quick and practical overview of Manacher’s algorithm.
Finding All Overlapping Intervals
Filed under Algorithms
A quick and practical guide to detecting overlapping intervals.
Peak Detection in a Measured Signal
Filed under Algorithms
A quick and practical guide to finding the peak in an incoming signal.
Maximum Single-Sell Profit
Filed under Math and Logic
A quick and practical tutorial to finding the Maximum single-sell profit in an array.
Find All Simple Paths Between Two Vertices in a Graph
Filed under Path Finding
A quick and practical tutorial to finding all simple paths between vertices in graphs.
Determine Whether Two Nodes in a Graph Are Connected
Filed under Algorithms, Graphs
A quick and practical tutorial to determining if two nodes are connected or not.
Choosing the Subarray That Adds Up to a Target Number
Filed under Algorithms
A quick and practical guide to choosing the subarray that adds up to a target number.
Finding the Kth Smallest Element in the Union of Two Sorted Arrays
A quick and practical overview of finding the kth smallest element in the union of two sorted arrays.
Find the Subset of Numbers That Add Closest to Target Number
Filed under Algorithms
A quick and practical tutorial to finding the subset of numbers that add up the closest to a target number without exceeding it
How to Validate a Binary Search Tree?
Filed under Data Structures, Trees
A quick and practical overview of Binary Search Tree validation.
F-1 Score for Multi-Class Classification
Filed under Deep Learning, Machine Learning
A quick and practical overview of F-1 Score for Multi-Class Classification.
The Difference Between Epoch and Iteration in Neural Networks
Filed under Artificial Intelligence
A quick and practical comparison of epoch and iteration in neural networks.
Create Balanced Binary Search Tree From Sorted List
Filed under Algorithms, Trees
A quick and practical guide to creating balanced BST from a sorted list.
A* Pathfinding Algorithm
Filed under Path Finding
A quick and practical guide to A* pathfinding algorithm.
Overview of Rabin-Karp Algorithm
Filed under Searching
A quick and practical overview of Rabin-Karp Algorithm.
Overview of Dijkstra’s Algorithm
Filed under Path Finding
A quick and practical of Dijkstra’s algorithm.
Finding XOR of All Numbers in a Given Range
Filed under Math and Logic
A quick and practical guide to finding XOR of all numbers in a given range.
Implementing the Decrease-Key Operation for Min-Heaps
Filed under Algorithms, Data Structures
A quick and practical overview of Decrease-Key operations for Min-Heaps.
Lowest Common Ancestor of Two Nodes in a Tree
Filed under Data Structures, Trees
A quick and practical guide to finding the lowest common ancestor of two nodes in trees.
Introduction to the Classification Model Evaluation
Filed under Machine Learning
A quick and practical introduction to the Classification Model evaluation.
Dijkstra’s vs Bellman-Ford Algorithm
Filed under Path Finding
A quick and practical comparison of Dijkstra’s and Bellman-Ford algorithms.
Introduction to the Binary Tree Data Structure
Filed under Data Structures, Trees
A quick and practical introduction to the Binary Tree data structure.
Sliding Window Algorithm
Filed under Networking
A quick and practical overview of the Sliding Window algorithm.
Self-Balancing Binary Search Trees
Filed under Data Structures, Trees
A quick and practical guide to self-balancing Binary Search Trees.
What Is a Race Condition?
Filed under Concurrency
A quick and practical introduction to data races.
Detecting Cycles in a Directed Graph
Filed under Algorithms, Graphs
A quick and practical introduction to detecting cycles in a directed graph.
Finding Articulation Points of a Graph
Filed under Algorithms, Graphs
A quick and practical overview of finding articulation points of a graph.
Introduction to Red-Black Trees
Filed under Data Structures, Trees
A quick and practical overview of the Red-Black Tree data structure.
Differences Between Tree Structures
Filed under Data Structures, Trees
A quick and practical overview of various tree data structures.
Kruskal’s vs Prim’s Algorithm
Filed under Graph Traversal, Trees
A quick and practical overview of Kruskal’s and Prim’s algorithms.
Data Normalization Before or After Splitting a Data Set?
Filed under Machine Learning
A quick and practical guide on when to apply data normalization.
A Simple Explanation of Naive Bayes Classification
Filed under Machine Learning, Math and Logic
A comprehensive overview of Naive Bayes Classification.
Computer Science Definition of Entropy
Filed under Core Concepts
A comprehensive introduction to Entropy.
Shortest Path to Certain Nodes in a Graph
Filed under Graph Traversal, Graphs
A quick and practical guide to finding the shortest path that visits certain nodes in a weighted graph.
An Introduction to Amortized Analysis
Filed under Core Concepts
A quick and practical overview of Amortized Analysis.
A Quick Guide to Binary Search Trees
Filed under Data Structures, Trees
A quick and practical guide to binary search trees.
Determining Whether a Directed or Undirected Graph Is a Tree
Filed under Algorithms, Graphs, Trees
A quick and practical guide to determining if a graph is a tree.
Linear Search vs Binary Search
Filed under Searching
A quick and practical overview of differences between linear and binary search.
Finding the Maximum-Minimum Capacity for a Node in a Graph
Filed under Algorithms, Graphs
A quick and practical guide to finding the Maximum-Minimum capacity for a node in a graph.
Longest Palindromic Subsequence With Dynamic Programming
Filed under Algorithms, Programming
A quick and practical explanation of the longest palindromic subsequence problem.
What Is the Optimal Algorithm for the Game 2048?
Filed under Algorithms
A quick and practical guide to solving 2048 algorithmically.
Difference Between Tree Depth and Height
Filed under Data Structures, Trees
A quick and practical explanation of differences between tree depth and height.
Solving Binary Gap Using Recursion
Filed under Algorithms
A quick and practical example of solving Binary Gap using recursion.
Computational Complexity of Fibonacci Sequence
Filed under Algorithms
A comprehensive dive into the computational complexity of the Fibonacci Sequence.
An Overview of QuickSort Algorithm
Filed under Sorting
A quick and practical overview of QuickSort algorithm.
Baeldung on Kotlin
- All
- Kotlin Basics (14)
- Kotlin Collections (13)
- Libraries (10)
- Kotlin Strings (7)
- Kotlin-Java Interop (6)
- Kotlin IO (5)
- Spring (4)
- Kotlin Server-Side (4)
- Kotlin Concurrency (4)
- Kotlin Classes and Objects (4)
- Kotlin (4)
- Asynchronous Programming (4)
- Testing (3)
- Persistence (2)
- Patterns (2)
- Functional Programming (2)
- Algorithms (2)
- Kotlin Web (1)
- Kotlin Numbers (1)
Introduction to KotlinPoet
Filed under Libraries
A quick and practical guide to KotlinPoet.
Sorting List with String Dates in Kotlin
Filed under Kotlin Collections, Kotlin Strings
Learn several ways to sort a list of String dates in Kotlin.
Combining Multiple Kotlin Flows
Filed under Kotlin Basics
A quick and practical guide to combining multiple Kotlin Flows.
Using Spark with Kotlin to Create a CRUD HTTP API
Filed under Kotlin Server-Side
Learn to create simple microservices with the Spark framework.
Clean Architecture with Kotlin
Filed under Patterns
A quick and practical guide to the clean architecture pattern with Kotlin.
How to Build CLI Applications Using Kotlinx-Cli
Filed under Libraries
A quick and practical guide to building CLI applications using kotlinx-cli.
jOOQ and Kotlin
Filed under Persistence
A quick and practical guide to integrating jOOQ with Kotlin.
A Guide to SQLDelight
Filed under Persistence
A quick and practical guide to SQLDelight.
Handling Multiple Names for JSON Field in Kotlin
Filed under Kotlin Web
A quick and practical guide to handling multiple names for JSON fields in Kotlin.
Bubble Sort in Kotlin
Filed under Algorithms
A quick and practical guide to bubble sort in Kotlin.
Resolving Kotlin Error: ‘public’ function exposes its ‘public/*package*/’ return type
Filed under Kotlin-Java Interop
A quick and practical guide to resolving Kotlin error: public function exposes its public/*package*/ return type.
Variable with Public Getter and Private Setter in Kotlin
Filed under Kotlin Basics
A quick and practical guide to creating variables with public getters and private setters in Kotlin.
Kotlin and @Valid Spring Annotation
Filed under Spring
A quick and practical guide to using the @Valid annotation in the Spring framework with Kotlin.
How to Encode a String in UTF-8 in Kotlin
Filed under Kotlin Strings
A quick and practical guide to encoding a UTF8 String in Kotlin.
Kotlin Path API
Filed under Kotlin IO
A quick and practical guide to Kotlin Path API.
How to Parse JSON Without Data Class in Kotlin
Filed under Libraries
A quick and practical guide to parsing a JSON without a data class in Kotlin.
ArrayDeque in Kotlin
Filed under Kotlin Collections
A quick and practical guide to ArrayDeque.
What Is an “inappropriate blocking method call” in Kotlin
Filed under Kotlin
A quick and practical guide to “inappropriate blocking method call” problem in Kotlin.
Serialize Kotlin Data Class With Default Values Into JSON
Filed under Kotlin IO
A quick and practical guide to serializing Kotlin classes to JSON with default values.
Mockk – Check If a Method Was Not Invoked
Filed under Testing
A quick and practical guide to asserting if a method was not invoked with Mockk.
Mock Static Java Methods Using Mockk
Filed under Testing
A quick and practical guide to mocking static methods with Mockk.
Multidimentional Arrays in Kotlin
Filed under Kotlin Basics
A quick and practical guide to multidimensional arrays in Kotlin.
Difference Between Coroutine Scope and Coroutine Context
Filed under Asynchronous Programming
A quick and practical guide to the differences between coroutine scope and coroutine context.
Capitalize Every Word in a String with Kotlin
Filed under Kotlin Strings
A quick and practical guide to capitalizing every word in a String in Kotlin.
Moshi JSON Library for Kotlin Applications
Filed under Libraries
A quick and practical guide to Moshi library.
Convert Long to Int
Filed under Kotlin Numbers
A quick and practical guide to Long to Int conversions in Kotlin.
Creating a Directory in Kotlin
Filed under Kotlin IO
Learn different ways to create directories in Kotlin.
Kotlin Coroutines and RxKotlin Comparison
Filed under Asynchronous Programming, Kotlin Concurrency
A practical comparison between RxKotlin and coroutines.
Creating a Thread Pool in Kotlin
Filed under Kotlin Concurrency
A practical introduction to thread pool management in Kotlin.
Kotlin “super is not an expression” Error
Filed under Kotlin Classes and Objects
A quick and practical guide to solving the “‘super’ is not an expression” error in Kotlin.
Idiomatic Way to Treat Nullable Values
Filed under Kotlin Basics
A quick and practical introduction to idiomatic nullable types handling in Kotlin.
SOLID Principles with Kotlin
Filed under Kotlin
A guide to applying SOLID principles in Kotlin.
Read and Write CSV Files With Kotlin
Filed under Kotlin IO
A practical guide to handling CSV files with Kotlin.
Convert Kotlin Array to Varargs
Filed under Kotlin-Java Interop
A quick and practical guide to converting Kotlin’s array into Java’s varargs.
Error Handling for REST with Spring in Kotlin
Filed under Spring
A quick and practical guide to Spring error handling in Kotlin.
Koin: Lightweight Dependency Injection Framework
Filed under Libraries
A practical introduction to Koin – lightweight dependency injection framework for Kotlin.
Break or Continue a Functional Loop in Kotlin
Filed under Kotlin Basics
A quick and practical guide to breaking/continuing a functional loop in Kotlin.
Is Kotlin Faster Than Java?
Filed under Kotlin
An overview of Kotlin’s performance overhead.
Check if a String Contains a Substring in Kotlin
Filed under Kotlin Strings
A quick and practical guide to checking if a String contains a substring.
Convert a Character Array to a String in Kotlin
Filed under Kotlin Strings
A quick and practical character array to string Kotlin conversion guide.
Converting Strings to Date in Kotlin
Filed under Kotlin Strings
A quick and practical guide to converting Strings to Dates in Kotlin.
Check if a String Is Numeric in Kotlin
Filed under Kotlin Strings
A quick and practical guide to checking if String is numeric in Kotlin.
Lazy Initialization vs Late Initialization in Kotlin
Filed under Kotlin Basics
A quick and practical overview of differences between late and lazy initialization in Kotlin.
Initialize a Map in Kotlin
Filed under Kotlin Collections
A quick and practical guide to initializing a Map in Kotlin.
Using Swagger (OpenAPI) for a Spring REST API With Kotlin
Filed under Kotlin Server-Side, Spring
Learn how to use OpenAPI to document a Kotlin Spring REST API.
Access Kotlin Companion Object in Java
Filed under Kotlin-Java Interop
A quick and practical guide to accessing Kotlin’s companion objects from Java.
Initialize a List in Kotlin
Filed under Kotlin Collections
A quick and practical guide to initializing a List in Kotlin.
Building a Self-Executable Jar With Gradle and Kotlin
Filed under Kotlin Server-Side
A quick and practical guide to building a self-executable Jar with Gradle and Kotlin.
Using Bitwise Operators in Kotlin
Filed under Kotlin Basics
A quick and practical guide to using bitwise operations in Kotlin.
Guide to Kotlin-Logging
Filed under Libraries
Have a look at a Kotlin sfl4j wrapper, named simply kotlin-logging.
Convert a Mutable Collection Into an Immutable One in Kotlin
Filed under Kotlin Collections
A quick and practical guide to making Kotlin collections immutable.
Modifying Kotlin Lists In-Place
Filed under Kotlin Collections
Learn several ways to efficiently update Kotlin lists in place.
Listing Files Recursively in Kotlin
Filed under Kotlin IO
Learn how to list files recursively using standard Kotlin methods.
Introduction to “this” Keyword in Kotlin
Filed under Kotlin Classes and Objects
A quick and practical introduction to the “this” keyword in Kotlin.
The Decorator Pattern in Kotlin
Filed under Patterns
A quick and practical guide to the Decorator design pattern in Kotlin.
Get a Random Item From a List in Kotlin
Filed under Kotlin Collections
A quick and practical guide to taking random items from collections in Kotlin.
A Comparison Between Kotlin and Scala
Filed under Functional Programming
Examine the key characteristics and features of Scala and Kotlin, and how they compare against each other.
Introduction to Multiplatform Programming in Kotlin
Filed under Kotlin
A quick and practical introduction to multiplatform programming in Kotlin.
Lazy Initialization in Kotlin
Filed under Kotlin Basics
See how you can achieve lazy initialization in Kotlin.
Testing Exceptions in Kotlin with assertFailsWith
Filed under Testing
A quick and practical guide to Kotlin’s assertFailsWith.
Light-Weight Concurrency in Java and Kotlin
Filed under Kotlin Concurrency
A comprehensive introduction to light-weight concurrency on JVM.
Difference Between ArrayList() and mutableListOf() in Kotlin
Filed under Kotlin Collections
A quick and practical comparison of mutableListOf() and ArrayList’s constructor in Kotlin.
Introduction to Channels in Kotlin
Filed under Kotlin Concurrency
A quick and practical introduction to channels in Kotlin.
If-Else Expression in Kotlin
Filed under Kotlin Basics
A quick and practical guide to if-else expression in Kotlin.
Collection Transformations in Kotlin
Filed under Kotlin Collections
A quick and practical guide to collection processing in Kotlin.
The Difference between var in Kotlin and Java 10
Filed under Kotlin-Java Interop
A quick and practical overview of differences between var keyword in Java and Kotlin.
Advanced Quasar Usage for Kotlin
Filed under Asynchronous Programming, Libraries
A quick and practical overview of advanced Quasar usages for Kotlin.
Introduction to Quasar in Kotlin
Filed under Asynchronous Programming, Libraries
A practical and not-so-quick guide to Quasar and Kotlin.
Kotlin Immutable Collections
Filed under Kotlin Collections
A quick and practical overview of immutable collections for Kotlin.
Kotlin const, var, and val Keywords
Filed under Kotlin Basics
A quick and practical overview of const, var, and val keywords in Kotlin.
REST API With Kotlin and Kovert
Filed under Kotlin Server-Side, Libraries
A quick and practical introduction to building REST APIs with Kotlin and Kovert.
Dependency Injection for Kotlin with Injekt
Filed under Libraries
Quick and practical introduction to DI in Kotlin with Injekt.
Lambda Expressions in Kotlin
Filed under Functional Programming
A quick and practical guide to Lambda Expressions in Kotlin.
Filtering Kotlin Collections
Filed under Kotlin Collections
A quick and practical reference for filtering Kotlin collections.
Regular Expressions in Kotlin
Filed under Kotlin Basics
Learn about the regular expression support in the Kotlin standard library.
Kotlin-allopen and Spring
Filed under Spring
A quick and practical example of using the kotlin-allopen plugin.
Java 8 Stream API Analogies in Kotlin
Filed under Kotlin-Java Interop
See the differences and similarities between Java 8 Stream API and Kotlin Collections.
Kotlin and Tail Recursion
Filed under Algorithms
See how to utilize the Tail Call Optimization in Kotlin.
Visibility Modifiers in Kotlin
Filed under Kotlin Classes and Objects
Discover Kotlin’s visibility modifiers and see how they differ from those found in Java.
Destructuring Declarations in Kotlin
Filed under Kotlin Classes and Objects
A quick and practical example of using destructuring declarations in Kotlin.
Overview of Kotlin Collections API
Filed under Kotlin Collections
A quick and practical overview of the Kotlin Collections API.
Converting a List to Map in Kotlin
Filed under Kotlin Collections
Learn how to convert a List to Map in Kotlin.
Difference Between “==” and “===” Operators in Kotlin
Filed under Kotlin Basics
Learn the difference between ‘==’ and ‘===’ Kotlin operators.
Kotlin Java Interoperability
Filed under Kotlin-Java Interop
Quick and practical examples of Java-Kotlin interoperability.
Guide to the “when{}” Block in Kotlin
Filed under Kotlin Basics
A quick and practical guide to the “when{}” block in Kotlin.
Introduction to the Kotlin Language
Filed under Kotlin Basics
A brief overview of Kotlin’s main characteristics and features.
Baeldung on Ops
- All
- Docker (8)
- Kubernetes (2)
- DevOps Concepts (2)
- Monitoring (1)
- Logging (1)
- Jenkins (1)
- Git (1)
How to Get the YAML of a Deployed Kubernetes Object
Filed under Kubernetes
A quick and practical guide to getting the YAML of a deployed Kubernetes object.
Getting Started With Minikube
Filed under Kubernetes
A quick and practical guide to Minikube.
Fixing Git ‘remote: Repository not found’ Error
Filed under Git
A quick and practical guide to fixing “Repository not found.” git errors.
Setting Memory And CPU Limits In Docker
Filed under Docker
A quick and practical guide to setting memory/CPU limits in Docker.
Using Foresight to Understand our CI Pipeline
Filed under Monitoring
A quick and practical introduction to getting CI pipeline insights with Foresight.
Finding the Layers and Layer Sizes for a Docker Image
Filed under Docker
A quick and practical guide to finding layers and layer sizes for a Docker image.
Setting up and Running a MySQL Container
Filed under Docker
A guide to setting up a MySQL Docker container.
A Guide to Docker Private Registry
Filed under Docker
Learn how to set up a private Docker registry, and push/pull images.
Multiple Dockerfiles in One Project
Filed under Docker
A quick and practical guide to managing multiple Dockerfiles within one project.
Scripted vs Declarative Pipelines in Jenkins
Filed under Jenkins
A quick and practical comparison between scripted and declarative pipelines in Jenkins.
DevOps Overview
Filed under DevOps Concepts
A quick and practical overview of DevOps mindset.
How to Deal With Databases in Docker?
Filed under Docker
A quick and practical overview of issues related to using Docker with databases.
Service Mesh Architecture with Istio
Filed under DevOps Concepts
A comprehensive introduction to service meshes using Istio as an example.
Accessing Spring Boot Logs in Docker
A quick and practical tutorial to accessing Spring Boot Docker logs.
Getting Network Information from Docker
Filed under Docker
Learn how to set up a simple continuous delivery environment to run and show Apache JMeter tests in Jenkins.