Reputation: 5440
Requirement :
Trigger a jsp page refresh when some value in the server changes.
Ajax is an option, but refreshing the JSP at a particular interval will increase the load on the server. Since i am dealing with a system that handles large amount of data, optimizing with the best having the higher priority.
Any new Technology or design pattern that may help is greatly appreciated.
NB : I have seen the technologies that match my requirement in HTML 5. But i am looking for something that works with everything.
Upvotes: 2
Views: 890
Reputation: 21981
Any new Technology or design pattern.
Yes, there is a new technology named WebSocket
. It is bi-directional and full-duplex. That means server can trigger client. You can get support of Websocket
on Java EE 7 or Spring 4.
Upvotes: 5