In J2EE applications, components typically comprises several resources, such as directories, archives, and so on. In modeling a J2EE application, then, you check in the resources that make up a component and then build the component model based on the resources.
These are the steps typically involved in modeling J2EE applications.
Define and configure hosts.
Check in resources that make up each component.
Install a Remote Agent on the gold server or development system with the components you want to model.
Select the resources you want to include in components.
Define components.
In addition to defining the resources that make up a component, you can create variables for configuration parameters, add information about component dependencies, etc.
Write plans for deploying and configuring components.
Run plans.
Run comparisons as necessary to analyze your application environment.