WAS v8.5 > Administer applications and their environment > Welcome to administering Client applications > Manage resources for Java EE client applicationsUpdate resource environment entry and resource environment provider configurations for application clients
We can update the configuration of an existing resource environment entry or resource environment provider using the Application Client Resource Configuration Tool (ACRCT).
During this task, you update the configuration of an existing resource environment entry or resource environment provider.
- Start the tool and open the EAR filecontaining the resource environment entry or resource environment provider. The EAR file contents display in a navigation tree view.
- Select from the tree the JAR file containing the resource environment entry or resource environment provider to update.
- Expand the JAR file to view its contents until you locate the resource environment entry or resource environment provider to update. Take one of the following actions:
- Right-click the resource environment object, and click Properties.
- Click Edit > Properties on the menu bar.
- Update the properties in the displayed fields. For detailed field help, see:
- Resource environment provider properties
- Resource environment entry properties
- Click OK when we finish.
- Click File > Save on the menu bar to save your changes.
Example
- Configure resource environment custom settings for application clients
- Configure Resource Environment settings
Configuring resource environment custom settings for application clients: This code example illustrates how the custom page applies to every resource type. We can specify as many custom names and values as you need:
<propertySet xmi:id="J2EEResourcePropertySet_20"> <resourceProperties xmi:id="J2EEResourceProperty_22" name="resourceEnvEntry:customName" value="resourceEnvEntry:customValue"/> </propertySet>Configuring Resource Environment settings: This code example illustrates how to configure Resource Environment settings:
<resources.env:ResourceEnvironmentProvider xmi:id="ResourceEnvironmentProvider_1" name="resourceEnvProvider:name" description="resourceEnvProvider:description"> <classpath>resourceEnvProvider:classpath</classpath> <factories xmi:type="resources.env:ResourceEnvEntry" xmi:id="ResourceEnvEntry_1" name="resourceEnvEntry:name" jndiName="resourceEnvEntry:jndiName" description="resourceEnvEntry:description"> <propertySet xmi:id="J2EEResourcePropertySet_20"> <resourceProperties xmi:id="J2EEResourceProperty_22" name="resourceEnvEntry:customName" value="resourceEnvEntry:customValue"/> </propertySet> </factories> <propertySet xmi:id="J2EEResourcePropertySet_21"> <resourceProperties xmi:id="J2EEResourceProperty_23" name="resourceEnvProvider:customName" value="resourceEnvProvider:customValue"/> </propertySet> </resources.env:ResourceEnvironmentProvider>
- Required fields:
- Resource Environment Provider page: Name
- Resource Environment Entry page: Name, JNDI Name
Related
Use application clients
Reference:
Resource environment provider settings for application clients
Resource environment entry settings for application clients