What mechanism does WebSocket use to achieve full-duplex communication?
- Long Polling
- Polling
- Request-Response
- WebSocket uses its own protocol
WebSocket achieves full-duplex communication by using its own protocol, which enables bidirectional communication between the client and the server in real-time without the need for constant polling.
Loading...
Related Quiz
- What is the difference between filter chaining and servlet chaining?
- In Java EE, the _________ method is used to send a message to the connected WebSocket client.
- How can a filter be configured to process requests for specific servlets or URL patterns?
- How does a database ensure data integrity during concurrent transactions?
- Which component in the MVC framework is typically implemented using servlets?