WAS v8.5 > Deploy applications > Deploy business-level applications > Create business-level applicationsExample: Creating a business-level application
We can add many different types of artifacts to business-level applications. For example, we can add Java EE applications or modules, Java archives (JAR files), data in compressed files, and other business-level applications. An example of creating a simple business-level application follows. This example assumes that we have a compressed file, such as a compressed file, or other archive available on your computer or on a remote server used to complete the example.
If we do not have a compressed file available, look in product directories. Installing the product samples adds several sample files to the /samples directory. We can use these sample files in a business-level application.
- Import assets.
- Click Applications > New application > New Asset in the console navigation tree.
- On the Upload asset page, specify the asset package to import and click Next.
For example, specify a compressed file such as a compressed file and click Next.
- On the Select options for importing an asset page, click Next.
- On the Summary page, click Finish.
- On the Adding asset to repository page, if messages show the operation completed, click Manage assets.
- On the Assets page, click Save.
The file name displays in the list of assets.
- Create an empty business-level application named MySampleBLA.
- Click Applications > New application > New Business Level Application.
- On the New business-level application page, specify a unique name such as MySampleBLA and a description, and then click OK.
- On the business-level application settings page, click Save.
The name and description are shown in the list of applications on the Business-level applications page. Because the application is empty, its status is Unavailable.
- Add the asset composition unit to your business-level application.
- On the Business-level applications page, click the application name in the list of applications.
- On the business-level application settings page, click Add > Add Asset.
- On the Add composition unit page, select an asset composition unit from the list of available units, and then click Continue.
For example, select the compressed file asset and then click Continue.
- On the Set options page, click Next.
- On the Map composition unit to a target page, change the target server as needed, and then click Next.
- On the Summary page, click Finish. Several messages are displayed. A message having the format Completed res=[WebSphere:cuname=unit_name] indicates the addition is successful.
- If the addition is successful, click Manage application.
- On the business-level application settings page, click Save.
The asset name and type displays in the list of deployed assets.
- Start the business-level application.
- Click Applications > Application Types > Business-level applications.
- On the Business-level applications page, select the check box beside the application.
- Click Start.
When the business-level application is running, a green arrow displays for Status. If the business-level application does not start, ensure the deployment target to which the application maps is running and try starting the application again.
We can add other assets to your business-level application.
Related
Create business-level applications with the console
Importing assets