Table of Contents

websocket 구현하기

pom.xml

Spring websocket dependency를 pom.xml 에 추가합니다.

snippet.xml
<dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring-websocket</artifactId>
  <version>${org.springframework-version}</version>
</dependency>

xml

java

org.springframework.web.socket.handler.TextWebSocketHandler 클래스를 상속받아 websocket handler를 생성합니다.

html

처리 순서

참고


참고
- http://blog.naver.com/PostView.nhn?blogId=beabeak&logNo=220471878778&parentCategoryNo=&categoryNo=86&viewDate=&isShowPopularPosts=true&from=search