permaculture playing cards*
The moose likes Sockets and Internet Protocols and the fly likes Web Server using WebSocket Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Web Server using WebSocket" Watch "Web Server using WebSocket" New topic
Author

Web Server using WebSocket

varun kukreja
Greenhorn

Joined: Apr 17, 2013
Posts: 6
How we can make web server using Web Socket api?Any idea?
Paolo Rodeo
Greenhorn

Joined: Dec 11, 2010
Posts: 18

The most useful info I could find:

http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html
and
http://www.tomcatexpert.com/blog/2012/05/01/how-apache-tomcat-implemented-websocket

Regards, Paul
Chris Hurst
Ranch Hand

Joined: Oct 26, 2003
Posts: 412
    
    2

You want to write a web server yourself ?? Several exist with websocket support.

Failing that look at the comms libs the existing web severs use eg Glassfish uses Grizzly and you'll find web socket implemented there.


"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5
 
 
subject: Web Server using WebSocket
 
Similar Threads
�how to clustering with OC4J?
include html in another html
Doubt in servlet program using eclipse IDE
JSP reading from cache...
org.apache.jasper.JasperException: Unable to load class for JSP