![[8.5.5.4 or later]](../images/ng_v8554.gif)
Creating WebSocket endpoints
You can use wizards to create WebSocket endpoints in your workspace.
Before you begin
Important: Applicable to Liberty, Liberty Core
.
- You can use the wizard to create the following endpoint types on Web/Web Fragment 3.1 and
Utility projects:
- Programmatic endpoint. Creating an endpoint with this option generates a new class, which extends the javax.WebSocket.Endpoint class and the onClose, onOpen, onError method stubs that you select.
- Annotated client endpoint. Choosing this option generates a new class that is annotated with the @ClientEndpoint annotation.
- Annotated server endpoint. You must specify the mandatory URL to complete the wizard. Choosing this option generates a new class that is annotated with the @ServerEndpoint annotation.