Startup annotations for use with Singleton beans, not stateless beans. See javadoc .
In addition, @LocalBean is not required in this case. This states that you want an additional view without an interface, but this is only necessary if the bean implements a remote or local business interface. If you omit it, by default you will get a view without an interface.
source share