While you can add a new method using the source editor, you can also use JDeveloper's dialogs to create methods declaratively. Once you've selected a session bean in the Application Navigator, you can create a new method by right-clicking
HelloWorldSessionBean in the Structure window, and then choosing
When you create a new method
declaratively, JDeveloper generates the method code in the bean class. Then you use the source editor to add the business code to the method.