It appears that @NamedQueries must be attached to an @Entity class, and are not found if they are attached to a @Stateless class.
This seems odd to me. Many of my named queries are not logically associated with only a single entity. It would seem to make the most sense that my named queries should be defined on my DAO SLSB, but this doesn't work.
Is this "by design"? The spec doesn't really elaborate on where @NamedQuery should be allowed.