Client views are either local or remote, and entity and session beans must contain at least one client view. EJB 2.x beans can include both local and remote client views, while EJB 1.1 beans only include the default remote client view. Message-driven beans do not contain client interfaces. EJB 2.1 stateless session beans can also include a Web service client view.
For example, if an existing EJB 2.0 BMP entity bean includes local and local home interface (a local client view), you can use the deployment descriptor editor to add remote and remote home interfaces. When you add the interfaces, you have the option of copying the methods from the existing local interfaces to the new remote interfaces. You also can choose to delete the existing local interfaces at the same time as the addition of the remote interfaces.
Because EJB 1.1 beans only contain a remote interface, you cannot add an additional client view or remove the existing client view from an EJB 1.1 bean.
To add a client view to an EJB 2.x enterprise bean: