Dev Tools · 2h ago
Solon WebSocket Drops Annotations for Cleaner Listener Interface
Solon's WebSocket support replaces JSR-356 annotations like @OnOpen with a WebSocketListener interface, simplifying lifecycle handling. Developers extend SimpleWebSocketListener and override methods, gaining direct access to path variables and query parameters. This design offers a cleaner alternative for Java WebSocket endpoints.
Meridian48 take
Solon's approach may appeal to developers tired of annotation-heavy frameworks, but its niche adoption limits immediate impact.
solonwebsocket