tell me more icon In the IDE

When you complete the steps for creating your session bean, the Application Navigator should look similar to this:

Application Navigator

JDeveloper generated the following files in the acme.ejb.session package:

  • HelloWorldSessionBean.java: This file is the bean class. The bean class implements the business methods of the bean and contains annotations that can be used to specify bean types, different attributes such as transaction or security settings, O-R mapping and injection of environment or resource references.
  • HelloWorldSession.java: This is the remote interface. The remote interface is used by client applications that run in a separate virtual machine (VM), such as Java clients. (A local interface is used by clients that run in the same VM, such as Web clients. Since this application uses only a Java client, a local interface does not need to be generated.) The interface files are automatically kept in sync and you should not need to change them.

If you select HelloWorldSessionBean.java in the Application Navigator, the Structure window should look similar to this:

Structure window

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,