Skip to content

WebSockets & Java-WebSocket Library not working #11

Description

@noblemaster

Let me just say that SimpleFramework is fantastic :)

In any case, I am having some troubles getting WebSockets to work correctly (using 6.0.1).
Although I am able to connect to SimpleFramework's WebSocket communication sometimes fails (succeeds about 30% of the time - JUnit). I am connecting with the Java WebSocket library (https://github.com/TooTallNate/Java-WebSocket). I tried with different protocols to no avail.

It's little bit difficult to find documentation on SimpleFramework's WebSocket, so I am not so sure if I am setting everything up correctly? I was following the spring.xml here (I am doing everything in code):
https://github.com/ngallagher/simpleframework/blob/master/simple-demo/simple-demo-chat/etc/spring.xml

Questions:

  1. What protocols are you supporting? All?
  2. Is there any more documentation on how to set up things in code.
  3. Do you have a Java websocket (not JavaScript) library you recommend with SimpleFramework?
  4. Edit: also it appears you are only using 2 threads for the chat demo. Is that correct? For about 1000 connections how many threads do you recommend?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions