If you are still not clear about how to construct a project through the previous steps, or you want to have a project that can be directly imported to an IDE for running, you can download the following reference project code and import it to your IDE environment.

Notice You need to change the information of the AccessKey and security group of this project to yours. For more information, see comments in the sample code.

Eclipse

Eclipse version used by the reference project: Eclipse Java EE IDE for Web Developers. Version: Mars. 1 Release (4.5.1) Build id: 20150924-1200

JDK version: JDK 1.7 or later

IntelliJ IDEA

IntelliJ IDEA version used by the reference project: IntelliJ IDEA 15.0.1

JDK version: JDK 1.7 or later