In a formal table setting, where does the wine glass go?

Also, where does the water glass go? I know about the plates, salad bowl, and silverware. But I have never been certain of the glass placement.