목록전체 글 (188)
forest_moon
간만에 풀려고 하니까 잠깐 당황.. 생각 보다 간단 while문을 통해서 n이 a 보다 작지 않은경우 라는 조건으로 반복을 하고 answer에 n 에서 a 를 나눈 몫에 교환받는 b 를 곱해서 넣어주고 n 을 answer에 넣는 만큼 a로 나눈 나머지값을 더해주었다.
모의 면접을 하면서이 문제에 대해서 질문을 받았는데 대답을 하지 못했다 내가 Spring Framework를 사용하면서 이걸 왜 몰랐을까 라는 생각을 하면서 한번 더 정리하기로 했다. 프레임워크(Framework)란 ? 프레임 워크가 나오기 전에는, 개발자들은 언어를 이용해 복잡한 방식을 통해 프로젝트를 만들었다. JAVA를 사용한 프로젝트는 EJB(Enterprise Java Beans) 방식을 많이 썼는데, 이 방식은 너무 복잡하고 어려워서 개발을 한다해도 실패 확률이 높았고 유지보수도 매우 어려웠다고 한다. 또 개발을 하면서 프로젝트마다 공통적으로 구현되는 부분들(ex. 보안, 로그, 트랜잭션 등)이 존재한다. 프로젝트마다 공통적인 부분을 매번 구현한다는 건 상당히 비효율적이였다. 개발자는 비즈니스..
JPA(JAVA Persistence API) 자바 진영에서 ORM(Object-Relational Mapping) 기술 표준으로 사용되는 인터페이스의 모음이다. 즉, 실제적으로 구현된 것이 아니라 구현된 클래스와 매핑을 해주기 위해 사용되는 프레임워크 이다 ! JPA를 구현한 대표적인 오픈소스로는 Hibernate가 있다. ORM(Object-Relational Mapping) 우리가 일반 적으로 알고 있는 애플리케이션 Class와 RDB(Relational DataBase)의 테이블을 매핑(연결)한다는 뜻이며, 기술적으로는 어플리케이션의 객체를 RDB 테이블에 자동으로 영속화 해주는 것이라고 보면된다. 장점 SQL문이 아닌 Method를 통해 DB를 조작할 수 있어, 개발자는 객체 모델을 이용하여 비..
프로젝트가 끝나갈때쯤.. 나도모르게 티켓을 결제했다.. 겸사겸사 생일도 껴있고 저쯤되면 대부분 정리하고 이제 이력서 넣고 할 시기라 지금아니면 혼자 가기 힘들꺼같다는 생각을 했다. 기간은 10. 19~26 처음 선택지는 일본 // 태국 // 대만 // 필리핀 중에 태국을 선택 겸사겸사 5년전에 한번 가본 곳이라 뭔가 많이 해야한다는 생각 없이 편안하게 쉬다가 올 수 있을것 같아서 선택했다. 호텔만 잡아놓고 아무것도 정해놓은게 없다. 그냥 짐풀고 나가서 맛있는거 먹고 돌아다니고 할 계획!
스프링이란? 스프링 프레임워크는 자바 진영의 웹 프레임워크이다. 스프링 프레임워크가 등장하기 전에는 EJB라는 기술을 통해 웹 애플리케이션을 개발 하였고, 개발자들에게 있어서 이 기술은 여러 가지 복잡성으로 인해 사용하기 꽤나 까다로웠습니다. 당연히 이러한 단점을 보완하기 위한 기술을 개발자들이 만들어내기 시작했고, 그 과정에서 가장 호평을 받은 기술이 바로 스프링입니다. 스프링 프레임워크(Spring Framework)란? 자바 엔터프라이즈 개발을 편하게 해주는 오픈 소스 경량급 애플리케이션 프레임워크 (1) 애플리케이션 프레임워크 일반적으로 라이브러리나 프레임워크는 특정 업무 분야나 한 가지 기술에 특화된 목표를 가지고 만들어집니다. 예를 들면 웹 계층을 MVC 구조로 손쉽게 만들 수 있게 한다거나,..
프로젝트에서 속도측정을 하기 위해서 Jmeter를 사용 하였습니다. 마케팅 하면서 한번 공부 했었는데 이번에 프로젝트 발표 준비 하면서 한번 더 사용하면서 미뤄뒀던 정리를 하기로 했다. 서버가 제공하는 서비스에 대한 성능을 측정하고 사용자에게 보여주는 테스트 도구라고 할 수 있습니다. 설치법 brew install jmeter brew install jmeter —-with-plugins mac 에는 brew 라는 좋은 친구가 있어서 편하게 설치를 할수 있어서 좋다 위에 꺼로 설치가 되지 않는다면 아래 껄로설치하면 됩니다 실행법 jmeter 터미널에 그냥 입력하면 켜진다! * 터미널을 끄게 되면 jmeter 꺼집니다! open /usr/local/bin/jmeter 혹시나 켜지지 않는다면 요롷게 사용도 ..
한 주는 정리하는 한 주였다. MVP 이후에 기능에서 필요한 부분들은 추가해주고, 전체적인 코드를 수정하는 한 주였다. 1. ERD수정 ( 채팅기능에 대한 테이블은 추가 해야함) 2. 피드백 반영 2.1 (RequestMepping) 으로 api 분류 2.2 return 응답값 통일 - ResponseEntity 2.3 변수명 알아보기 쉽게 변경 3. 코드 리펙토링 3.1 사용하지 않는 코드나 주석처리된 코드 정리 3.2 중복사용 메소드 분리
git action + CodeDeploy에 대한 기본적인 플로우나 개념에 대해서는 더 정리 잘 해 주신분들이 많아 많은 설명은 하지 않고 필요한 간단한 설명, 설정하는 방법에 대해서만 정리하는 글입니다. Github Actions란? Github Actions는 Github 저장소를 기반으로 Github에서 제공하는 Workflow 자동화 도구 입니다. Workflow는 Github 저장소에서 발생하는 build, test, release, deploy 등 다양한 이벤트를 기반으로 직접 원하는 Workflow를 만들 수 있습니다. 혹시나 더 궁금하신 분들은 위해 아래를 링크를 통해 공식문서를 확인 할 수 있습니다. https://docs.github.com/en GitHub Action 의 주요 개념 ..