Cettia starter kit based on Servlet 3 and Java WebSocket API 1
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
src/main Use Cettia 1.2.0 Nov 5, 2018
.gitignore Initial commit May 3, 2018
LICENSE Initial commit May 3, 2018
README.md Update the starter kit for Cettia 1.1.0 Aug 26, 2018
pom.xml Use Cettia 1.2.0 Nov 5, 2018

README.md

Cettia starter kit

This starter kit is created to help you make a quick start with Cettia. It is based on Servlet 3 and Java WebSocket API 1, which are the most-used I/O frameworks in writing Cettia applications. For the details, see Building real-time web applications with Cettia.

To get started, make sure you have Java 8+ and Maven 3+ installed.

  • Clone the repository.
    git clone https://github.com/cettia/cettia-starter-kit && cd cettia-starter-kit
    
  • Start up the server on port 8080.
    mvn jetty:run
    

Now the application is running now, open your browser and navigate to http://127.0.0.1:8080/. If you want to form a cluster, start up one more server on port 8090 by running mvn jetty:run -Djetty.port=8090.