[According to the spec is it: Container or Application] - this is correct.
HFEJB made a mistake - across a few pages... at least 2 pages - 610 & 611.
The one on 610 is mentioned in the book's errata. Go to O'Reilly's website of the book to view errata.
