This post shows how to configure and use Siwpas Web Socket Protocol using a sample web socket web application.
- Siwpas 2.0.0, can be downloaded from http://siwpas.mechsoft.com.tr/. To use the Siwpas, you also have to get a trial license from Get Siwpas Trial License
- Firefox Aurora from http://www.mozilla.com/en-US/firefox/channel/ that supports web socket protocol latest version.
- Web socket sample application can be downloaded from here. This sample web application provides two applications:
- Basic Echo Server to echo your input
- Basic Chat Server. This chat server client code is written via getting code from HTML5 Labs Chat Demo
- Unzip the Siwpas into your system (C:\Siwpas-2.0.0). We call it SIWPAS_HOME
- Enable Web Socket Connector
- Open "SIWPAS_HOME/server.xml"
- Uncomment the Web Socket Connector
- Put trial license file "siwpas.license" into the SIWPAS_HOME/licenses folder
- Put sample web application archive"siwpas-websocket-sample.war" into the "SIWPAS_HOME/webapps" folder
- Go into "SIWPAS_HOME/bin" and start the Siwpas
- /bin/siwpas.bat run
- Echo Application : http://localhost:8080/siwpas-websocket-sample/simple.html
- Chat Application : http://localhost:8080/siwpas-websocket-sample/chat.html
- Open several instances of Firefox or even install several Siwpas instances into the other machines in your domain, and enjoy the chat application.
Web Socket Documentation
You can read more about Siwpas Web Socket Protocol Support from Siwpas documentation.
- Visit http://siwpas.mechsoft.com.tr