When deploying, normally you will want to generate a single archive with all your classes, dependencies, and resources packed together: either in a single JAR archive (also called Fat JAR) or a WAR file (Web Application Resource).
Table of contents: