javax.ejb

## Annotation Type EJB

-     @Target(value={METHOD,TYPE,FIELD})
      @Retention(value=RUNTIME)
      public @interface EJB

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `java.lang.Class` | `beanInterface`
    `java.lang.String` | `beanName`
    `java.lang.String` | `description`
    `java.lang.String` | `lookup`
    `java.lang.String` | `mappedName`
    `java.lang.String` | `name`

- - ### Element Detail

    - #### name

          public abstract java.lang.String name

      Default:
        ""

    - #### description

          public abstract java.lang.String description

      Default:
        ""

    - #### beanInterface

          public abstract java.lang.Class beanInterface

      Default:
        java.lang.Object.class

    - #### beanName

          public abstract java.lang.String beanName

      Default:
        ""

    - #### mappedName

          public abstract java.lang.String mappedName

      Default:
        ""

    - #### lookup

          public abstract java.lang.String lookup

      Default:
        ""

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.