You can specify that a session bean have a No-Interface view.
A session bean has a No-Interface Local view when:
You can also declare metadata for a session bean with No-Interface Local view in the deployment descriptor rather than using annotations.
The following steps contain code snippets that demonstrate the code to use for a No-Interface view.