Using workspace refactoring operations, you can quickly
and safely rename code artifacts globally across your application.
The workspace recognizes EJB 3.1 applications and manages changes
to relevant annotations and deployment descriptors.
What to do next
The operation makes changes to the Java artifacts that reference the field or method
that you rename. If the field or method is annotated with a dependency
injection annotation (
@EJB,
@Inject, or
@Resource), the refactoring operation also
updates the XML artifacts that make reference to the field or method.
Additionally, by selecting from the context
menu of a method, you can move the method to the business interface
for the EJB. If a bean class specifies its business interfaces using
annotations or the EJB deployment descriptor, you can still specify
the business interface as the target of the operation. A operation moves a field or method from one package to another.