Show Table of Contents
12.3. Hot Deployment
Prerequisites
The implementation of FAB is provided by the
fabric-bundle feature. To install this feature in the container, enter the following console command:
JBossFuse:karaf@root> features:install fabric-bundle
Hot deploy directory
If you save a FAB as a file ending in
.fab, you can deploy it simply by copying it into the InstallDir/deploy directory.
Red Hat JBoss Fuse monitors files in the
InstallDir/deploy directory and hot deploys any files that have a recognized suffix. Each time a FAB file is copied to this directory, it is installed in the runtime and also started. You can subsequently update or delete the FABs, and the changes are handled automatically.
For example, if you have just built the FAB, ProjectDir
/target/fabulous-1.0.fab, you can deploy this FAB by copying it to the InstallDir/deploy directory as follows (assuming you are working on a UNIX platform):
% cp ProjectDir/target/fabulous-1.0.fab InstallDir/deploy

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.