# 13 Deploying applications

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

## Section Index

13.1 Deployment options
13.2 Understanding saved states
13.2.1 Creating a saved state
13.2.2 Limitations of qsave_program
13.2.3 Runtimes and Foreign Code
13.3 State initialization
13.4 Using program resources
13.4.1 Resources as files
13.4.2 Access resources using open_resource
13.4.3 Declaring resources
13.4.4 Managing resource files
13.5 Debugging and updating deployed systems
13.6 Protecting your code
13.6.1 Obfuscating code in saved states
13.7 Finding Application files