Submitted by heartin on Sun, 06/12/2016 - 19:51
Technologies and methodologies changes over time. Also, the expectations and requirements from you change over the years. So we may have to learn new things and improve ourselves. I will list out few things that I will be focusing on in coming days, weeks and months, and hence you will see notes/training/meetups corresponding to them here.
Submitted by heartin on Sun, 10/23/2016 - 06:39
The devtools module adds tools that can make the application development easier. This includes automatically apply sensible development-time configuration for features such as caching as caching can be counterproductive during development, auto restarting after changes etc. To include devtools support, we need to add spring-boot-devtools dependency to the build file.
Submitted by heartin on Sun, 10/23/2016 - 04:37
YAML is a human friendly data serialization standard, which is mainly made for configuration files. YAML stands for YAML Ain't Markup Language. YAML can be used with many programming languages.
Submitted by heartin on Sun, 10/23/2016 - 04:36
Spring Boot makes Spring configurations easier and safer. Spring Boot supports formats such as YAML as well as the .properties file, for externalized configuration. YAML is a human friendly data serialization standard, which is mainly made for configuration files. YAML stands for YAML Ain't Markup Language.
Submitted by heartin on Sun, 10/23/2016 - 01:16
EnableAutoConfiguration annotation attempt to guess and configure beans that you are likely to need. Auto-configuration classes are usually applied based on the presence or absence of, files or libraries in your classpath, beans you have defined, and properties. Auto-configuration is always applied after user-defined beans have been registered.
Submitted by heartin on Sat, 10/22/2016 - 23:47
If you need to run some specific code once the SpringApplication has started, you can implement the ApplicationRunner or CommandLineRunner interfaces. Both interfaces work in the same way and offer a single run method which will be called just before SpringApplication.run(…) completes.
The CommandLineRunner interfaces provides access to application arguments as a simple string array, whereas the ApplicationRunner uses the ApplicationArguments interface.
Submitted by heartin on Sat, 10/22/2016 - 23:45
Spring Boot has no mandatory logging dependency, except for the Commons Logging API, of which there are many implementations to choose from.
Submitted by heartin on Sat, 10/22/2016 - 23:43
Submitted by heartin on Sat, 10/22/2016 - 23:41
To understand and to work with Spring Boot better, it is good to have a decent knowledge of Java, Spring framework and one of Maven/Gradle. Note that Spring Boot is just a convenient way to do Spring.
Submitted by heartin on Sat, 09/10/2016 - 23:47
In the previous example, we created a simple standalone application using the dependency spring-boot-starter. In this example, we will convert it into a simple web application with very minimal changes.