jsr356 Questions

3

I am trying to @Inject a Guice service into a @ServerEndpoint. I am using Tomcat 8.0.15 as the JSR-356 implementation. However, the dependency injection isn't working. Is there any additional confi...
Dawdle asked 16/12, 2014 at 7:43

5

Solved

I made a JSR-356 @ServerEndpoint in which I want to limit alive connections from single IP address, to prevent simple DDOS attacks. Note that I'm search for Java solution (JSR-356, Tomcat or Servl...
Brigidabrigit asked 5/4, 2014 at 11:8

3

Solved

I am trying to implement some application based on websockets which will communicate with JS clients quite intensively. The code to send the message is quite primitive: synchronized (session) { ...
Whitish asked 7/3, 2014 at 17:44

5

Solved

I'm using Spring 3.2.5 without full new JSR-356 WebSockets support. I would like to have singleton-bean reference in my @ServerEndpoint WebSocket server, which is instantiated by servlet container...
Merrill asked 16/3, 2014 at 10:20

1

Solved

I create a sample webapp using Guice-servlets and websocket in tomcat, now once guice filter is used websocket stop working Basic information: In my web.xml, i initialized the Guiceservlet using ...
Gerrygerrymander asked 27/5, 2017 at 12:21

3

Solved

I'm having trouble using spring with @ServerEndPoint annotated class i'm using Springboot 1.2.3 and i'm trying to figure it out how to have a single instance of the endpoint @SpringBootApplicati...
Borne asked 27/5, 2015 at 12:53

1

Using the Tyrus reference implementation of Java's "JSR 356 - Java API for WebSocket", I cannot find a way to access the HTTP connection that was used for the Websocket upgrades. Thus, I cannot acc...
Orthoscope asked 9/3, 2015 at 10:19

1

Solved

I'm trying to access a websocket server endpoint using a tyrus standalone client (tyrus-standalone-client-1.9) with an annotation based client endpoint. I was mainly following this example. That i...
Astrid asked 4/12, 2014 at 12:21

1

Solved

I'm new to Spring (and asking questions on stackoverflow). I'd like to start an embedded (Tomcat) server via Spring Boot and register a JSR-356 WebSocket endpoint to it. This is the main method...
Lacagnia asked 19/8, 2014 at 18:5

1

Solved

I'm trying to write a test case which creates a socket and connects to an embedded jetty instance. I'm using Jetty: 9.2.0.RC0 javax.websocket-api & javax.websocket-client-api: 1.0 javax.webs...
Judgment asked 13/7, 2014 at 20:32
1

© 2022 - 2024 — McMap. All rights reserved.