You can use the Bean Method Details dialog to edit the details of an existing EJB method or create a new method.
In the Bean Method Details dialog, you can specify whether to expose the method in remote or local interfaces, or both.
The interface is local if the client will run in the same JVM as the EJB 3.0 container. If the client is running a separate VM, a remote interface is required.
The remote interface exposes services to Java clients. When you select the checkbox to expose the
sayHello() method through the remote interface, the appropriate method signature will be added to the remote interface file. You will do this in the next step.