Adding annotations
You can add annotations in your source code by directly adding the annotation in the Java™ editor or by using the Annotations view.
In the Java EE perspective, if the Annotations view does not appear in the bottom of the workspace, you need to add the Annotations view. For more information, see Using the Annotations view.
Related concepts
Creating and configuring Java EE modules using annotations
Scope and placement of annotations
Related tasks