@ejb.env-entry

Scope: Class

Multiplicity

(0..*): You can use this tag zero to many times in the Java™ source file.

Purpose

This tag defines an environment entry for an EJB. Applies to all EJB types.

Parameters

Parameter Type Applicability Description Mandatory
name text   The name of the env-entry. true
description text   Optional description of the env-entry. false
type text   The type of the env-entry, for example, java.lang.String. Supported types are outlined in the EJB specification. You must specify one of the following attributes:
  • java.lang.Boolean
  • java.lang.Byte
  • java.lang.Character
  • java.lang.String
  • java.lang.Short
  • java.lang.Integer
  • java.lang.Long
  • java.lang.Float
  • java.lang.Double
The default value is
  • java.lang.String
false
value text   The value of the env-entry. false

Feedback