Similar questions have been asked before and they all reached the conclusion that AJAX will not become obsolete. But in what ways is ajax better than websockets?
Wit
WS:// connections have far less overhead than "AJAX" requests.