The source code for all examples in the JBoss documentation are available as a single archive which can be downloaded documentation-example.zip or documentation-example.tar.gz from files section on www.jboss.org. You should download the archive format of your choice and unpack the archive into an empty directory. This will create a directory structure like that shown in Figure 1.2