You can specify methods that you want to mark as not callable by
the assembly descriptor.
The methods that you exclude are added to the <excludes-list> element
in the EJB deployment descriptor.
In the Project Explorer view of the J2EE perspective, right-click
the Deployment Descriptor for your EJB project and select Open
With > Deployment Descriptor Editor to
open the deployment descriptor editor.
On the Assembly page of the editor, click Add in
the Excludes List section.
Select one or more enterprise beans from the list of beans found,
and click Next.
Select one or more method elements that you want to add to the
excludes list.
Click Finish.
The selected method elements are added to the <excludes-list> element
in the deployment descriptor and displayed in the Excludes List section, sorted
by bean.
To delete a method from the excludes list, select the method and
click Remove.