The refresh target

EAServer invokes this target after deploying a J2EE archive, when you select Refresh for entity’s context menu in the Management Console, and when you run the refresh utility. This target reloads the entities implementation files into EAServer and applies property changes that affect runtime behavior, such as changing or adding JNDI name bindings.

If you have run the configure or recompile target on an entity, you must run the refresh target so that changes to the generated code and properties take affect.

To add your own tasks to a J2EE entity’s refresh target, create a user configuration file for the entity and define a target named refresh-user.