You can add many different types of artifacts to business-level
applications. For example, you can add Java™ Platform, Enterprise Edition (Java
EE) applications or modules, Java archives (JAR files), data in compressed
files, and other business-level applications.
About this task
An example of creating a simple business-level application follows.
This example assumes that you have a compressed file, such as a zip file,
or other archive available on your computer or on a remote server that you
can use to complete the example.
If you do not have a compressed file available,
look in product directories. Installing the product samples adds several sample
files to the /samples directory. You can use these sample
files in a business-level application.
Procedure
- Import assets.
- Click 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 zip file and click Next.
- On the Select options for importing an asset panel, click Next.
- On the Summary panel, click Finish.
- On the Adding asset to repository panel, if messages show that
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 .
- On the New business-level application panel, 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 .
- On the Add composition unit panel, 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 panel, click Next.
- On the Map composition unit to a target panel, change the target
server as needed, and then click Next.
- On the Summary panel, click Finish.
Several messages are displayed. A message having the format Completed
res=[WebSphere:cuname=unit_name] indicates that
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 .
- On the Business-level applications page, select the check box
beside your 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 that the deployment target to which the application
maps is running and try starting the application again.
What to do next
You can add other assets to your business-level application.