users@websocket-spec.java.net

[jsr356-users] Re: Creating Endpoints using Java EE components

From: Danny Coward <danny.coward_at_oracle.com>
Date: Tue, 26 Feb 2013 17:28:59 -0800

Hi Andy,

Yes we did remove it. I dug up the rationale

http://java.net/projects/websocket-spec/lists/jsr356-experts/archive/2013-01/message/17

We will look more into putting it back in (with accompanying tweaks to
the EJB spec) and possibly making websocket endpoints themselves
injectable for the next version.

Cheers,

- Danny

On 2/25/13 5:38 AM, Andy Moncsek wrote:
> Hi,
> accordding to Early Draft Review: version 006, Annotating of Singleton
> Beans should be possible. I had a working prototype (last Dezember)
> with @Singleton and @WebSocketEndpoint. Also there was a sample
> project in tyrus addressing this. Currently (b77) two instances of my
> class are created, one Singleton EJB and an Endpoint. Was this
> implementation removed or should this be fixed?
>
> Thanks,
> Andy


-- 
<http://www.oracle.com> 	*Danny Coward *
Java EE
Oracle Corporation