http://livedemo.exadel.com/richfaces-demo/richfaces/push.jsf?tab=choices&cid=272356 something like that should be used. (you not limited to use rich:jQuery.. you could use just plain JS for sure)
P.S. I do not think having 5 sec update interval could be scallable solution. In case of numerous views server could be overloaded with such update requests. I think push fits such frequent updates case better.