WEB23 인터넷 네트워크 2025. 4. 1. IoC, Dependency Injection Inversion of control(IoC) The approach of outsourcing the construction and management of objects Spring Container Primary fuctions Create and manage objects(Inversion of Control) Inject object dependencies(Dependency Injection) Dependency Injection The client delegates to another object the responsibility of providing its dependencies Injection types Constructor Injection Setter Injection Auto w.. 2024. 3. 12. Spring Boot Dev Tools The problem When running Spring Boot applications, If you make changes to your source code, then you have to manually restart your application. Solution : Spring Boot Dev Tools Automatically restarts your application when code is updated 1. Adding the dependency to your POM file org.springframework.boot spring-boot-devtools 2. Preferences > Build, Execution, Deployment > Complier 3. Preferences .. 2024. 3. 9. Soft and Hard links inode : Pointer or number of a file on the hard disk( You can see using ls -i ) Soft Link : Link will be romoved if file is removed or renamed( command = ln -s ) Hard Link : Deleting renaming or moving the original file will not affect the hard lin( command = ln ) I'm going to create a file in home directory, and then I will use a soft link in tmp directory like this: like you can see, after rem.. 2024. 1. 30. 이전 1 2 3 4 ··· 6 다음