[프로그래머스] 모의고사
문제 : https://school.programmers.co.kr/learn/courses/30/lessons/42840 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 해결 : import java.util.*; class Solution { public int[] solution(int[] answers) { int[] one = {1,2,3,4,5}; int[] two = {2,1,2,3,2,4,2,5}; int[] thr = {3,3,1,1,2,2,4,4,5,5}; int[] score = {0,0,0}; for(int i = 0 ; i
2024. 4. 10.
[Web] Web Server와 WAS의 차이와 Web Service 구조 차이
1. 웹 서버 (Web Server)? HTTP 프로토콜을 사용하여 클라이언트로부터 요청을 받고, 정적인 콘텐츠 처리 (HTML, CSS, 이미지, JS) 대표적으로 아파치(Apache)와 엔진엑스(Nginx)가 있다. 웹 페이지의 전달과 같은 단순한 기능 수행 2. WAS (Web Application Server)? JSP, EJB, Servlet 등의 동적인 콘텐츠 생성과 데이터 처리에 특화 대표적으로 Apache Tomcat, Red Hat JBoss, IBM WebSphere 등이 있다. Web Server의 기능들을 분산 처리하고자 사용된다. (분산 환경에서 사용됨) 주로 DB와의 상호작용, 트랜잭션 관리, 보안, 로드 밸런싱, 비즈니스 로직 처리 등 다양한 기능 수행 '웹 컨테이너' 또는 '..
2024. 2. 28.