출처 : https://beyondj2ee.wordpress.com/2013/02/28/%EB%A9%80%ED%8B%B0-%EC%93%B0%EB%A0%88%EB%93%9C-%ED%99%98%EA%B2%BD%EC%97%90%EC%84%9C-%EC%8A%A4%ED%94%84%EB%A7%81%EB%B9%88-%EC%A3%BC%EC%9D%98%EC%82%AC%ED%95%AD/ (1) 증상외부 시스템에 “A“라는 사용자 정보를 요청 했는데, 확인을 해보니 “B” 사용자 정보가 등록이 되었습니다.“Local” 개발 환경에서는 전혀 그런 증상이 없었고, 실제로 서비스를 하려는 “CBT” 개발 환경에서 “성능/기능 테스트“를 하면서 해당 이슈가 발생을 하였습니다.그래서 “log“를 확인했습니다. 그런데 이상한 점이 “..
출처 : http://okky.kr/article/329818 이 글은 자바 8 Stream API 를 아는 사람이 주의해야 할 것에 대해 쓰여진 글이지만 , 몰라도 상관없습니다.이 글 읽어보면 대충 이런거구나 알 수 있으니깐요. Java 8 Stream API 을 배워야하는 이유로 "가독성/간편성" 과 "성능/공짜점심" 으로 보통 꼽습니다. * 가독성 코어 자바1234567891011private static int sumIterator(List list) { Iterator it = list.iterator(); int sum = 0; while (it.hasNext()) { int num = it.next(); if (num > 10) { sum += num; } } return sum;} Stre..
클라우드 APM 서비스https://www.appdynamics.com/
출처 : http://m.blog.naver.com/sojumonika/220167629971
gitHub에서 소스 내려받기git clone https://github.com/angular/quickstart my-proj cd my-proj.git 디렉토리 삭제rm -rf .git // non-Windows rd .git /S/Q // windows로컬 git 레포지토리 생성 및 commitgit init git add . git commit -m "Initial commit"내 gitHub에 올리기(gitHub에 미리 repository생성되어 있어야 됨)git remote add origin git push -u origin master
mysql 서버를 실행 후 아래와 같이 명령하여 mysql에 접속. 비밀번호를 입력하라고 나오는데 아직 비밀번호가 없으므로 엔터를 치고 접속> mysql -u root -p mysql 다음 명령으로 비밀번호 설정mysql> update user set pasword = password('비밀번호') where user = 'root'; 이제 권한테이블 업데이트하고 빠져나온다mysql> flush privileges; mysql> quit아래와 같이 다시 접속하면서 비밀번호를 입력한다.> mysql -u root -pEnterpassword :
> Using Spring Data Repositories with Spring Boot> Entity 생성, Reposiotry생성, JPA설정 등 기본 사항은 이전 정리글 참고http://leeyongjin.tistory.com/entry/SpringBoot > Abstracting Common Transactional Attributes into a Mapped Superclass> Transactional Entity Attributesid - the primary keyreferenceId - an external identifier; something portableversion - facilitates optimistic lockingcreatedBy - the user that create..
> Creating a Custom Spring Security Solutiomgithub : https://github.com/mwarman/spring-security-fundamentals.git> Components for a Custom Spring Security SolutoionSpring Security Dependency (Maven or Gradle)Entiry ModelData RepositoyrBusiness ServiceUser Details ServiceAuthentication ProviderSecurity Configuration > Spring Security Dependencyorg.springframework.bootspring-boot-starter-security >..
> Using the Gradle PMD Plugin for Static Code Analysis> plugin 추가 [build.gradle파일]apply plugin: 'pmd' pmd {toolVersion = '5.4.1' ruleSetConfig = rootProject.resources.text.fromFile('etc/pmd/ruleset.xml') ignoreFailures = true} > ruleset.xml 파일 생성 > build task 실행 > gradlew clean build 결과]* build/reports/pmd 디렉토리 및 결과물 생성됨 * 기존 build/reports/buildDashboard/index.html 에 PMD 리포트 페이지 링크 생성됨 * PMD 결과 ..
- Total
- Today
- Yesterday