Learn how to check if an integer is an Armstrong number and generate OEIS sequence A005188 up to a given limit
Search Results for: C plus plus
Add Header to Every Request in Postman
Explore the pre-request Script functionality of Postman to add HTTP headers to every request.
Spring Cloud – Disable Discovery Clients with Profiles
While Spring’s service discovery mechanisms can be very helpful we may wish to turn them off in certain environments. We look at how to achieve this with both properties files and Spring profiles.
Compile All Java Classes in Directory Structure with javac
A quick and practical overview of how to compile all classes inside a directory using javac.
Java Operators
Walk through all Java operators to understand their functionalities and how to use them
Convert long to int Type in Java
A quick and practical guide to long to int conversion in Java.
Secondary Indexes in Cassandra
Learn how to use secondary indexes in Apache Cassandra and also understand some best practices and recommendations.
Using Spring Cloud Gateway with OAuth 2.0 Patterns
Explore some of the OAuth 2.0 security patterns and how to implement them using Spring Cloud Gateway.
What Is the Difference Between NIO and NIO.2?
Understand Java IO functionalities and how they changed throughout different Java versions.
Write for Baeldung
Become an author on Baeldung, and get paid for writing practical, to-the-point articles in the Java ecosystem.
Random Number Generators in Java 17
Java 17 provides a large number of improvements to the generation of random numbers. We explore the new API and compare it with the original random number generators.
Serialize and Deserialize Booleans as Integers With Jackson
Learn how to serialize Boolean values into integers and numeric strings and how to deserialize them back
Compare Strings While Ignoring Whitespace in Java
Learn different ways to compare strings while ignoring whitespace in Java.
Introduction to the Evrete Rule Engine
Learn about Evrete, a new open-source Java rule engine designed to allow developers to create arbitrary DSLs.
Format Swagger Text Descriptions
A quick and practical guide to formatting Swagger descriptions.
Converting Camel Case and Title Case to Words in Java
Learn how to find the words in mixed case strings using regular expressions, and how to convert them into sentences or titles
Local JAR Files as Gradle Dependencies
Learn how we can add local JAR files to our Gradle dependencies.
Copying Files With Maven
Learn how to copy a source file to a destination using three different Maven plugins.
Java Technical Editor (part-time)
Join the Baeldung editorial team.
Where Should the Spring @Service Annotation Be Kept?
Learn where to put the @Service annotation so that Spring will auto-detect beans during component scanning.