Link Details

Link 997663 thumbnail
User 196895 avatar

By jettro
Published: Jul 16 2013 / 06:55

Recently I discovered the web socket capabilities of the Tomcat web container. I read a gist by chitan. This was a nice start, but not a complete solution. Some changes were made to the tomcat classes and I don’t really like the one class to contain everything structure. Therefore I set out to create my own solution. The sample is the most basic chat client that you can create. When loading the page a socket connection is opened. When closing the page the socket connection is closed. The client makes use of standard html5 browser support.
  • 8
  • 0
  • 863
  • 836

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)

Voters Against This Link (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java