본문 바로가기

IT칼럼

React + Spring Boot CRUD 만들기 원문글은 okta blog 에서 Matt Raible 이 작성한 내용을 가져와서 따라 할 수 있도록 작성된 문서 입니다. 원본 문서는 하기 링크를 참조하시기 바랍니다. https://developer.okta.com/blog/2018/07/19/simple-crud-react-and-spring-boot 1. Spring Boot 2.0 API App 생성하기 https://start.spring.io 사이트를 통한 App 생성하기 https://developer.okta.com/blog/2018/07/19/simple-crud-react-and-spring-boot#add-a-jpa-domain-model 출처: https://4coops.tistory.com/entry/React-Spring-Boot.. 더보기
Reactjs + Spring Boot 독립 app @Springboot 시작시 Web 하나로 시작 model -> Integer Id, String name, String price 만들기 생성자 추가 MainController.java @Controller public class MainController { private static List items = new ArrayList(); static { items.add(new Items(1, "Apples", "$2")); items.add(new Items(2, "Peaches", "$5")); } @GetMapping(value = "/items", produces = MediaType.APPLICATION_JSON_VALUE) @CrossOrigin(origins = {"http://local.. 더보기
한영 변환 단축키를 Shift + Space 키로 지정하는 방법 한영 변환 단축키를 Shift + Space 키로 지원하는 키보드 드라이버로 변경하면 사용할 수 있습니다.이를 지원하는 키보드 드라이버는 'PC/AT 101키 호환 키보드/USB 키보드(종류 3)'입니다.보통의 경우 키보드 드라이버 지정은 Windows 10 설치 시 첫 옵션으로 지정할 수 있습니다.Windows 10을 설치 이후에도 드라이버 변경은 가능하나,일부 USB 키보드를 사용하여 Windows를 설치한 경우일반적인 방법으로는 키보드 설정/드라이버를 변경할 수 없는 경우가 있습니다.작업 방법 : 키보드 드라이버 변경Windows 시작 버튼을 마우스 오른쪽 클릭 후 '장치 관리자'를 클릭합니다.장치 관리자의 장치 항목 중 '키보드'를 클릭하여 설치된 항목을 확인합니다.설치된 키보드 항목 중 'HID.. 더보기
<<족집게 질문 리스트>>로 글로벌 IT 회사의 입사 인터뷰를 제대로 통과하기 주위의 많은 주로 IT에 종사하시는 분들이 저에게 꽤 자주 묻곤 합니다.“글로벌 IT회사와 입사 인터뷰를 진행하려면 어떤 준비를 해야 하나요?” 저야 그냥 저냥 행운으로 입사 기회를 얻었고, 그 후로 별 탈 없이 20년 이상을 근무한 사람이긴 하지만, 과연 ‘이런 질문에 적절한 대답을 해 줄 능력이 있는가’ 라는 셀프 자격 심사 논란은 일단 뒤로 하고, 그래도 그동안 보아오고 경험한 것들이 필요한 분들에게는 조금의 도움은 되겠다 싶어서 정리를 해 보았습니다. 일반적으로 글로벌 IT 회사의 인터뷰는 적게는 4-5회, 많게는 10회까지 인터뷰 과정을 거치게 됩니다. 어차피 기술 인터뷰가 주가 되는 peer 인터뷰 내용은 워낙 회사마다 특성이 있어서 그것을 다루기 보다는, 첫 번째의 Hiring Manager.. 더보기
Introduction to Ansible Interview Questions And Answer So you have finally found your dream job in Ansible but are wondering how to crack the Ansible Interview and what could be the probable Ansible Interview Questions. Every interview is different and the scope of a job is different too. Keeping this in mind we have designed the most common Ansible Interview Questions and answers to help you get success in your interview.Below is the list of common.. 더보기
warning: range-based for loop is a C++11 extension #include #include #include using namespace std; void foo(array const& bar) { for (int i : bar) { cout 더보기
Comparable vs Comparator https://www.programcreek.com/2011/12/examples-to-demonstrate-comparable-vs-comparator-in-java/ Comparable과 Comparator는 Java Core API에서 제공하는 두 개의 인터페이스입니다. 그들의 이름에서 알수 있듯이, 우리는 두 인터페이스는 어떤 식 으로든 물건 비교에 사용될 수 있다고 말할 수 있습니다. 그러나 정확히 무엇이며 그것들의 차이점은 무엇입니까? 이 질문에 답하는 두 가지 예는 다음과 같습니다. 간단한 예제는 2 개의 HDTV 크기를 비교하는 것입니다. Comparable 대 Comparator를 사용하는 방법은 이래의 코드를 읽은 후 분명히 확인 할 수 있습니다. 1. Comparable Compara.. 더보기
BigInteger, BigDecimal example import java.math.*; public class Main { public static void main(String[] args) { System.out.println("MAX Integer : " + Long.MAX_VALUE); System.out.println("MIN Integer : " + Long.MIN_VALUE); BigInteger bigVal1 = new BigInteger("100000000000000000000"); BigInteger bigVal2 = new BigInteger("-99999999999999999999"); BigInteger addResult = bigVal1.add(bigVal2); BigInteger mulResult = bigVal1.multipl.. 더보기