Administer applications
We can use administrative scripts and wsadmin.sh to install, uninstall, and manage applications.
There are two methods we can use to install, uninstall, and manage applications. We can use the commands for the AdminApp and AdminControl objects to invoke operations on the application configuration.
Alternatively, we can use the AdminApplication and BLAManagement Jython script libraries to perform specific operations to configure the enterprise and business-level applications.
The scripting library provides a set of procedures to automate the most common administration functions. We can run each script procedure individually, or combine several procedures to quickly develop new scripts.
We might need to complete one or more of the following topics to administer the application configurations with wsadmin.sh.
- Install enterprise applications.
Use the AdminApp object or the AdminApplication script library to install an application to the application server runtime. We can install an EAR, WAR, servlet archive (SAR), or JAR file.
- Install business-level applications.
Use the BLAManagement command group (AdminTask) or the AdminBLA script library to install business-level applications.
- Manage enterprise applications using pattern matching.
Use the AdminApp object or the AdminApplication script library to implement pattern matching when installing, updating, or editing an application. Pattern matching simplifies the task of supplying required values for certain complex options by allowing you to pass in asterisk (*) to all of the required values that cannot be edited.
- Manage Integrated Solutions Console applications.
Use the AdminApp object to deploy or remove portlet-based Integration Solutions Console applications.
- Uninstall enterprise applications.
Use the AdminApp object or the AdminApplication script library to uninstall applications.
- Uninstall business-level applications.
Use the BLAManagement command group (AdminTask) or the AdminBLA script library to uninstall business-level applications.
- Switch JavaServer Faces implementations.
Use the modifyJSFImplementation command to set the Sun Reference Implementation or the Apache MyFaces project as the JSF implementation for web applications.
Subtopics
- Install enterprise applications
Use the AdminApp object or the AdminApplication script library to install an application to the application server run time. We can install an enterprise archive file (EAR), WAR file, servlet archive (SAR), or JAR file.
- Set up business-level applications
We can create an empty business-level application, and then add assets, shared libraries, or business-level applications as composition units to the empty business-level application.
- Uninstall enterprise applications using wsdmin.sh
We can use the AdminApp object or the AdminApplication script library to uninstall applications.
- Delete business-level applications
We can use wsadmin.sh to remove business-level applications from the environment. Deleting a business-level application removes the application from the product configuration repository and it deletes the application binaries from the file system of all nodes where the application files are installed.
- Pattern matching using wsdmin.sh
Use the Jython or Jacl scripting language to implement pattern matching when installing, updating, or editing an application. Pattern matching simplifies the task of supplying required values for certain complex options by allowing you to pass in asterisk (*) to all of the required values that cannot be edited.
- Manage administrative console applications
Use the Jython or Jacl scripting languages to deploy or remove portlet-based administrative console applications.
- Manage JavaServer Faces implementations
JavaServer Faces (JSF) is a user interface framework or (API) that eases the development of Java based web applications. The product supports JSF at a runtime level, which reduces the size of web applications because runtime binaries do not need to be included in the web application. Use wsadmin.sh to set the JSF implementation as the Sun Reference 1.2 implementation or the Apache MyFaces 2.0 project.
- BLAManagement (AdminTask)
We can use the Jython scripting language to configure and administer business-level applications with wsadmin.sh. Use commands in the BLAManagement group to create, edit, export, delete, and query business-level applications in our configuration.
- JSFCommands (AdminTask)
We can use the Jython scripting language to display and modify the JavaServer Faces (JSF) implementation.
- Application management (AdminTask)
We can use the Jython or Jacl scripting languages to manage applications with wsadmin.sh. Use commands in the AppManagementCommands group can be used to display and process SQL Java (SQLJ) profiles or IBM Optim PureQuery Runtime bind files.
Commands for the AdminApp object Application installation and uninstallation scripts Application deployment configuration scripts Application administration scripts