Set the local business interface of Enterprise Beans.. When you specify an annotation in an interface, that interface becomes a local business interface. When specifying the annotation in the Bean class, you need to specify the local business interface in the value element.
The following table lists the elements of @Local:
Element name | Function |
---|---|
value | When specifying annotations in the Bean class, specify the class of the local business interface. |
The details of each element are as follows: