@ejb.util

Scope: Class

Multiplicity

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

Purpose

This tag is optional, and lets you define whether a util class is generated, and whether to use the logical component name (java:comp/env) or the physical JNDI name to do the lookup. If this tag is not specified, the util class is generated using logical lookups (provided the <utilobject/> subtask is used). Applies to entity beans and session beans.

Parameters

Parameter Type Applicability Description Mandatory
generate text   Value of false or no will omit the generation of the util class. Value of logical generates a util class that uses the component name for lookup, and value of physical generates a class that uses the JNDI name for lookups. You must specify one of the following attributes:
  • false
  • no
  • logical
  • physical
The default value is
  • logical
true

Feedback