SpringDependencyInjection

What is dependency injection ? It just means to inject dependency.Dependency is any object that your class needs to function. Dependency via @Bean anotatation Generate a maven project make sure you have the spring-context dependency in your project pom. Make a new folder config to store call the configuration files.Inside the folder create a java file called projectconfig.java to store the config details. package config; import org.springframework.context.annotation.Configuration; @Configuration public class projectConfig { }

February 16, 2023 · 1 min · 73 words · Basil Sunny Alukka

How to setup your blog free of cost with hugo

Just want to give a brief gist of how I made the website.I use github pages for hosting and used hugo to generate webpages from mark down file.You can also use other hosting sites like netlify but I just did want to pay for a domain name currently or have netlify in my url. So decided settled with the github.io url. To host a site you need to create a repository in github with the name "username"....

February 2, 2023 · 2 min · 324 words · Basil Sunny Alukka