Chapter 13 Using jagtool and jagant


ejbref

Description

Sets the value of an EJB reference.

Syntax

Command line:

ejbref entity -refname name -value value

Ant build file:

<jag_ejbref entity="entity" refname="name" value="value" />

Option Description Default Required
entity The entity identifier in the form EntityType:EntityName. - Yes
refname The name of an EJB reference for the given entity. - Yes
value The value for the EJB reference. - Yes

Examples

This example sets the value of an EJB reference in the component TheCustomer in the package Customer_Component. The EJB reference ejb/account/Account is set to the value of Customer_Component/TheAccount.

 


Copyright © 2002 Sybase, Inc. All rights reserved.