Spring Boot - application.yml | Simple Programming

preview_player
Показать описание
Welcome to Simple Programming

We all know the importance of property files in spring applications, these files are used to store various application configurations

Spring boot supports both .properties and .yaml file extensions for storing your application configurations

YAML is a superset of Json and it is a human-readable data serialization language. It is commonly used for configuration files

It gives a more elegant way of representing data in the file than properties, it is much easier to understand and work with.
Рекомендации по теме
Комментарии
Автор

I did't get your point. I tried with yml file but getting some errors related spcaing. How to maintain the spaing -

parmodprajapati
Автор

Hi, thanks for the nice information..
I have a question.. Apart from the readability is there any other advantage of using yml instead of properties file??

fairozahmed
visit shbcf.ru