This is not valid either. "If a bean class of a session bean X is annotated @Specializes, then the bean class of X must directly extend the bean class of another session bean Y."