Blog Archives

YAML with Java using the SnakeYaml library tutorial

Step 1: Add “snakeyaml” to maven pom.xml as a dependency

Step 2: Define a YAML file under src/main/resources. For example, “logging.yml”

Step 3: Create a LoggingConfiguration Java POJO class.

Step 4: Finally, the main class that uses the Yaml library to read the configuration from the “logging.yml”

Read more ›

Posted in YAML, YAML Tutorial

YAML with Spring & Java Q&As

Q1. What is YAML? A1. YAML Ain’t Markup Language. It is a human friendly data serialization standard for all programming languages. A YAML file has an extension of “.yml“. Q2. What are the 3 rules of YAML? A2. Rule 1: Indentation YAML uses a fixed indentation scheme to represent relationships

Read more ›

Posted in YAML

800+ Java Interview Q&As – ♥ Free | ♦ FAQs

open all | close all

Pressed for time? 200+ Quick Prep

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

100+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your

open all | close all