Re: @ServerEndpoint Guice

2013-11-11 Thread Marko Sanković
ttps://bitbucket.org/markosankovic/wsgwtp On 7 November 2013 16:44, Nick Williams wrote: > > On Nov 6, 2013, at 4:24 PM, Marko Sanković wrote: > > > Nick, thanks for your quick response. > > > > Unfortunately, specifying javax.websocket.server.ServerEndpointConfig. >

Re: @ServerEndpoint Guice

2013-11-06 Thread Marko Sanković
sample of what I really need: https://tyrus.java.net/documentation/1.3/user-guide.html#d0e1075. In my case, I have to achieve that with Google Guice and Tomcat 7.0.47. Thanks On 6 November 2013 16:23, Nick Williams wrote: > > On Nov 6, 2013, at 7:55 AM, Marko Sanković wrote: > >

@ServerEndpoint Guice

2013-11-06 Thread Marko Sanković
Hi, For the last couple of hours I've been trying to inject a simple object into the class that is @ServerEndpoint annotated. As stated: Tomcat implements the Java WebSocket 1.0 API defined by JSR-356. I'm using Guice as dependency injection framework and Tomcat 7.0.47. This is how my websocket