When you complete the steps for adding a bean method and exposing the method through a remote interface, the source editor should look similar to this:
Your application now has a session bean with a business method, and a remote interface that exposes the business method.
In the Bean Method Details dialog when you selected the checkbox to expose the
sayHello() method through the remote interface, the appropriate method signature was added to the remote interface file. If you double-click
HelloWorldSession.java to open the remote interface in the editor, you will see the
sayHello() method signature:
@Remote annotation specifies that the
HelloWorldSession interface is a remote interface.
In the next card, you will create a client that will access the method you have added.