longing is specifically 'looking FORWARD to' , wishing fervently for something, I feel it has a sense of yearning, something is missing...
Eager is keen or impatient, have a strong desire, it doesn't have that feeling of something missing or lost.
They are both used commonly enough, and really used in different situations. I am eager to start University again. I am eager to see my new touchscreen. But! I am longing for my next trip to Guilin, I'm longing for my next trip overseas.