WEB/스프링 부트 2

    RabbitMQ

    RabbitMQ

    https://velog.io/@hellozin/Spring-Boot%EC%99%80-RabbitMQ-%EC%B4%88%EA%B0%84%EB%8B%A8-%EC%84%A4%EB%AA%85%EC%84%9Chttps://www.rabbitmq.com/tutorials/tutorial-five-spring-amqp.htmlhttps://stackoverflow.com/questions/50234800/rabbitmq-queue-and-routing-keyhttps://stackoverflow.com/questions/33087332/how-to-setup-multiple-topics-in-a-rabbitmq-java-config-class-using-spring-framew RabbitMQ 참고사이트)https..

    @JmsListener

    출처 : https://memorynotfound.com/spring-boot-embedded-activemq-configuration-example/https://howtodoinjava.com/spring-boot/spring-boot-jmstemplate-activemq/ 참고사이트)https://yonguri.tistory.com/56https://ddakker.tistory.com/328https://examples.javacodegeeks.com/enterprise-java/jms/jms-message-types-example/https://livebook.manning.com/book/spring-in-action-fifth-edition/chapter-8/53 @JmsListener 1. ..

    JMS, ActiveMQ

    참고한 사이트 : https://codenotfound.com/spring-jms-activemq-example.html공부할만곳 : https://blog.outsider.ne.kr/985 JMS 사전에 도커가 설치되어야한다. https://hub.docker.com/r/rmohr/activemq 사이트를 참고해서 ACTIVEMQ를 실행시키자. docker pull rmohr/activemq docker run -p 61616:61616 -p 8161:8161 rmohr/activemq org.springframework.boot spring-boot-starter-activemq JNDI스프링 부트 애플리케이션을 JEE 컨테니어네 배포할 때, 컨테이너에 미리 설정된 ConnectionFactory를 ..

    JavaMail

    JavaMail

    JavaMail org.springframework.boot spring-boot-starter-mail spring.mail.host=smtp.gmail.com spring.mail.port=587 spring.mail.username=[아이디] spring.mail.password=[비밀번호] spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.starttls.enable=true#spring.mail.host= SMTP 서버 호스트 정보 #spring.mail.port= 포트 정보, 기본값 25 #spring.mail.username= 사용자이름 #spring.mail.password= 비번 #spring.mail...

    JDBC, Mapper / JPA / TestEntityManagerTest / SessionFactory

    JdbcTemplate, Mapper 이용 org.springframework.boot spring-boot-starter-data-jdbc package com.example.demo.JdbcTemplate; import java.util.Objects; public class Customer { private long id; private String name; private String email; public Customer(String name, String email) { this.name = name; this.email = email; } public Customer(long id, String name, String email) { this.id = id; this.name = name;..