Ways to install applications or modules
WAS provides several ways to install application files.
Installable files include...
- enterprise archive (EAR)
- enterprise bean (EJB)
- WAR
- Session Initiation Protocol (SIP)
- resource adapter (connector or RAR)
- application client modules
They can be installed on a server or cluster. Application client files can be installed in a WAS configuration but cannot be run on a server.
Option Method Modules Comments Start after install Administrative console install wizard Click Applications > Install New Application in the console navigation tree and follow instructions in the wizard. Files for all of the following modules:
- EAR
- EJB
- WAR
- SAR
- RAR
- Application client
Provides one of the easier ways to install application files. For applications that do not require changes to the default bindings, select Show me all installation options and parameters, select Generate default bindings, click the Summary step, and then click Finish.
Click Start on the Enterprise Applications page accessed by clicking Applications > Enterprise Applications in the console navigation tree. wsadmin scripts Invoke AdminApp object install commands in a script or at a command prompt. Files for all of the following modules:
- EAR
- EJB
- WAR
- SAR
- RAR
- Application client
Getting started with scripting provides an overview of wsadmin. • Invoke the AdminApp startApplication command.
• Invoke the startApplication method on an ApplicationManager MBean using AdminControl.
Java application programming interfaces Install programs by completing the steps in Installing an application through programming. All EAR files Use MBeans to install the application. Manage applications through programming provides an overview of Java MBean programming. Start the application by calling the startApplication method on a proxy. WebSphere rapid deployment Briefly...
- Update your J2EE application files.
- Set up the rapid deployment environment.
- Create a free-form project.
- Launch a rapid deployment session.
- Drop your updated application files into the free-form project.
All J2EE modules, including EAR files and the following standalone modules:
- EJB
- WAR
- SAR
- RAR
- Application client
WebSphere rapid deployment offers the following advantages: • You do not need to assemble your J2EE application files prior to deployment.
• You do not need to use other installation tools mentioned in this table to deploy the files.
Use any of the above options to start the application. Clicking Start on the Enterprise Applications page is the easiest option. Java programs Code programs that use J2EE DeploymentManager (JSR-88) methods. All J2EE modules, including EAR files and the following standalone modules:
- EJB
- WAR
- SAR
- RAR
- Application client
• Uses J2EE Application Deployment Specification (JSR-88).
Call the J2EE DeploymentManager (JSR-88) method start in a program to start the deployed modules when the module's running environment initializes.
Related tasks
Install application files with the console
Install applications with the wsadmin tool
Install an application through programming
Install J2EE modules with JSR-88
Customize modules using DConfigBeans