Springboot api white board write component like Service, repository, controller, model. Question like 1. different way of dependency injection, when should we use constructor/method injection. 2. handle exception in controller. (I didnt, because in my exp, I usually use exception handler (AOP feature), auto handle exceptions) 3. except for AOP and exception handler what else we could handle exception for all controller. Interviewer said advice, but it think this is also belong to AOP concept... 4. Springboot how to switch application-property basing on env. what is profile. how to set env variable.