简体   繁体   中英

Use websocket in java web application

My web application was developed by JDK 1.6. Now i want to use websock, but jdk 6 does not support this. Please introduce me to use which library to do websocket for jdk6 and how to configure in web.xml. I tried using Jetty version 9 but i still can not implement

Hope this helps. It has both implementation of websocket at server side and client side.

https://github.com/TooTallNate/Java-WebSocket

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM