To add a business method:
It is also possible to use the IDE's editor hints mechanism to synchronize business method implementation and definition in the interface. If you type a new business method in the Source Editor, and then select the method name in the Source Editor, the IDE displays hints. One of them is Add to Local Interface, as seen in Figure 11-11. Figure 11-11. Editor Hints for EJB Business Methods
After selecting this hint, you can verify that the definition was added in the interface and that the EJB has a new Business Method (as shown in Figure 11-12). Figure 11-12. EJB new Business Methods
|