@ejb.interface-method

Scope: method

Multiplicity

(0..1): You can use this tag zero or one time in the Java™ source file.

Purpose

This tag declares which local or remote interface this method must appear in. If the view-type parameter is absent, then the method is added to whatever component interfaces are defined in @ejb.bean.

Parameters

Parameter Type Applicability Description Mandatory
view-type text   Specifies which view-type the method is exposed in. The value local or both is only applicable to EJB 2.0 beans. You must specify one of the following attributes:
  • local
  • remote
  • both
The default value is
  • remote

[Optional]

false

Feedback