Issue Details (XML | Word | Printable)

Key: WEBSOCKET_SPEC-7
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: dannycoward
Reporter: dannycoward
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
websocket-spec

Boostrapping websocket containers in web container and standalone

Created: 21/Sep/12 10:22 PM   Updated: 17/Nov/12 02:25 AM  Due: 09/Nov/12   Resolved: 17/Nov/12 02:25 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags: v008
Participants: dannycoward


 Description  « Hide

For now the API has a ContainerProvider class that can use the service loader mechanism to load
different implementations of the Client and Server containers. This will be ok for the Java SE client
API, but probably not for Java EE.

We will explore other mechanisms in the Java EE case. Perhaps making the ServerContainer a CDI managed bean that can
be injected into developer code, perhaps into a ServletContext initializer, for example. Or an annotation that the web
container must scan for that indicates that a given class implementing one of the Container interfaces must be loaded at
startup.



dannycoward made changes - 02/Nov/12 11:53 PM
Field Original Value New Value
Due Date 2012-11-09 00:00:00.0
dannycoward made changes - 03/Nov/12 12:42 AM
Assignee dannycoward [ dannycoward ]
dannycoward added a comment - 12/Nov/12 06:06 PM

Some notes on client-side and server-side deplotment

Server Side
automatic POJO scanning
No scan for Endpointsubclass, programmtically deploy
deploy method should work for POJO

Client Side
no scan, programmtic deployment (client needs to control when to connect)
programmtic POJO deployment.


dannycoward added a comment - 17/Nov/12 02:25 AM

We have added the appropriate client deployment API for POJOs and Endpoints and adjusted the server API for deployment. The spec document has been updated for the WAR scanning for POJOs.


dannycoward made changes - 17/Nov/12 02:25 AM
Status Open [ 1 ] Resolved [ 5 ]
Tags v008
Resolution Fixed [ 1 ]