WAS v8.5 > Administer applications and their environment > Manage applications through programming

Application management

Java EE applications and modules include an Extensible Markup Language (XML)-based deployment descriptor that specifies various Java EE artifacts that pertain to applications or modules. The Java EE artifacts include EJB definitions, security role definitions, EJB references, resource references, and so on. These artifacts define various unresolved references the application logic uses. The Java EE specification requires these artifacts map to Java EE platform-specific information, such as that found in WebSphere Application Server, during deployment of Java EE applications.

The application assembly tools that WAS supports, as well as the application management support provided with the product, facilitate collection of certain WAS information. The collected information is used to resolve references that are defined in various deployment descriptors in a Java EE application. This information is stored in the application EAR file in conjunction with the deployment descriptors. The following diagram shows the structure of an EAR file that is populated with deployment information that is specific to WAS.

The application management architecture provides a set of classes with which deployers can collect WASdeployment information. This information is also referred to as binding information, and is stored in the application EAR file. The deployer can install the EAR file into aWASconfiguration using the AppManagement interface.

The application management support in WAS provides functions such as installing and uninstalling applications, editing binding information for installed applications, updating the entire application or part of the application, exporting the application, and so on. The com.ibm.websphere.management.application.AppManagement interface, which is exposed as a JMX-based AppManagement MBean in WAS, provides this functionality. Code that runs on the server or in a stand-alone administrative client program can access the interface. Access to the application management functions is also possible in the absence of WAS. This mode, known as local mode, is particularly useful for installing Java EE applications as part of product installation.


Related


Use administrative programs (JMX)


+

Search Tips   |   Advanced Search