The document shows commands to submit a Spark job called "demo" to a Spark job server. It uploads a JAR file containing the job, creates a context with resources, then submits the job, returning a job ID. It contains the Scala code for the WordCountExample job which counts words in a string passed as a config parameter. It validates the input and runs the job to count words and return the results.