The unit of deployment to the Runtime is a project. You must deploy all necessary projects to the runtime. You can do this using either Maven or the standard Eclipse export mechanism.
To deploy a project, export it to a Zip file. We refer to this as a project archive. The location of the project archive file at runtime depends on which type of runtime you are using. All runtime types allow referencing a project archive using a URI that can refer to a file, any schemes in a standard Java URL handler, e.g. HTTP, the classpath, or an OSGi bundle (for the OSGi-based runtime types).
For further details on how to access the project archive, refer to the documentation for the runtime type you are using.