In Java EE, the _________ method is used to send a message to the connected WebSocket client.
- broadcastMessage()
- sendMessage()
- sendText()
- writeMessage()
In Java EE, the sendMessage() method is used to send a message to the connected WebSocket client.
Loading...
Related Quiz
- What is a memory leak in the context of Java programming?
- What is the primary purpose of using filters in web applications?
- When implementing CSP, the _________ directive is crucial in restricting resources the page can load.
- Which XML element is used to declare a filter in a web application's deployment descriptor?
- A web application needs to redirect the user to different pages based on their role. How should this logic be implemented using servlets in MVC?