Beginning with the EJB 2.1 specification, stateless session beans can include a Web service client view, as well as the local and remote views. A Web service client view includes a single service endpoint interface. You can use the wizard to generate the service endpoint interface for EJB 2.1 stateless session beans.
To create a session bean:
For more information, see Annotation-based programming overview.
In the Remote home interface and Remote interface fields, enter the package and class names that you want to use for the remote client view interfaces. The wizard uses the bean name and default package to suggest values for the interface package and class names.
In the Local home interface and Local interface fields, enter the package and class names that you want to use for the local client view interfaces. The wizard uses the bean name and default package to suggest values for the interface package and class names.
In the Service endpoint interface field, enter the package and class name that you want to use for the service client view endpoint interface. The wizard uses the bean name and default package to suggest a value for the interface package and class name.