Three Heavy and Three Light Balls Puzzle

The Puzzle:

Three Heavy and Three Light Balls
Three out of six look-alike balls are heavy. The other three are light.

How many weighings on a beam balance are necessary to identify the heavy balls?

(A Martin Gardner puzzle)
Do you have the answer? Check against our solution!