본문 바로가기

Frameworks

[Spring] IoC(Inversion Of control), DI(Dependecy Injection) 1. 제어의 역전 (Inversion Of control) 간단하게 말해서 사람이 직접 new 해서 코드에 작성하는 것을 Framework이 알아서 해준다는 것 2. 의존성주입 ( Dependency Injection ) 제어의 역전이 가능하려면 의존성 주입이라는 것을 해야하는데 대표적인 방법으로는 Java에서 제공하는 Reflection 이 있음 더보기
[spring boot + intellij + jsp] 조합 jsp 404 not found error Working directory : $MODULE_WORKING_DIR$ 더보기
[spring] 이미 생성된 bean 찾아 method 실행 @Autowired private ApplicationContext apc; ... public void method(){ ... String sBeanList[] = apc.getBeanDefinitionNames(); for(String sTemp : sBeanList){ if("senarioMgmtSenario".equals(sTemp) == true){ Object obj = apc.getBean(sTemp); Class targetclass = Class.forName(obj.getClass().getName()); Class argsType[] = new Class[1]; argsType[0] = SenarioDtl.class; java.lang.reflect.Method method = ta.. 더보기
[vue] 기본 설치 및 기본 프로젝트 생성 1. cli 설치 npm install -g @vue/cli 2. vue command 오류시 zsh: command not found: vue 3. 2.의 오류 발생시 삭제 sudo npm uninstall --global vue-cli sudo npm uninstall --global @vue/cli 4. 재설치 (global) sudo npm install --global @vue/cli@latest 5. vue --version 해서 설치 확인. ~ % vue --version % vue create automation ERROR Failed to get response from https://registry.yarnpkg.com/vue-cli-version-marker Vue CLI v5.0.8.. 더보기
[vue] vscode 개발환경 설정 1. VSCode 설치 각 OS 별로 맞는 버전으로 다운받아서 설치하도록 함. https://code.visualstudio.com/download Download Visual Studio Code - Mac, Linux, Windows Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications. code.visualstudio.com 더보기