In the context of servlets, what is a key difference between HTTP and WebSocket protocols?
- Connectionless protocol
- Full-duplex communication
- Request-Response model
- Stateless communication
A key difference between HTTP and WebSocket protocols is that WebSocket enables full-duplex communication, allowing both the client and server to send messages independently in real-time.
Loading...
Related Quiz
- _________ is a caching technique where frequently and recently accessed data is prioritized for caching.
- To pass the request and response to the next entity in the chain, the filter uses the __________ method.
- A __________ is a subclass of SQLException that indicates a failed connection to the database.
- How can you retrieve the output of a stored procedure using CallableStatement?
- How does filter ordering affect the processing of requests and responses in a servlet application?