Similar to the term 'empty suit' used in business circles, it refers to anyone who has a position of seeming importance and looks the part, but is actually ineffectual, incomptent, or stupid. Looks good on the outside but no content or substance.
Q: What do you think of the new congressman?
A: Not much-- mostly just an empty barrel, that one.