# 14 Deploying applications

This chapter describes the features of SWI-Prolog for delivering applications using saved states.

## Section Index

14.1 Deployment options
14.2 Understanding saved states
14.2.1 Creating a saved state
14.2.2 Limitations of qsave_program
14.2.3 Runtimes and Foreign Code
14.3 State initialization
14.4 Using program resources
14.4.1 Resources as files
14.4.2 Access resources using open_resource
14.4.3 Declaring resources
14.4.4 Managing resource files
14.5 Debugging and updating deployed systems
14.6 Protecting your code
14.6.1 Obfuscating code in saved states
14.7 Finding Application files