Slim3 provides a Slim3 blank project, the easiest way to develop Slim3 application is to use it.
1.Download the latest version of Slim3 blank project(slim3-blank-xxx.zip) and unzip it
2.Import the slim3-blank project into eclipse workspace
3.Set Eclipse for testing
In the Window menu, select Preferences > Java > Code Style > Organize Imports. Set 1 to" Number of static imports needed for .*".
In the Window menu, select Preferences > Java > Editor > Content Assist > Favorites. Click "New Type" button and add org.hamcrest.CoreMatchers, org.junit.Assert, org.junit.matchers.JUnitMatchers.
In the Window menu, select Preferences > General > Workspace. Click "Refresh automatically" checkbox.
4.Rename(Refactor > Rename) the project to tutorial(your favorite name)
5.Define slim3.rootPackage in war/WEB-INF/web.xml as tutorial(your favorite name):
<context-param>6.Enable annotation processing
In the Project Properties menu, select Java Compiler > Annotation Processing > Enable annotation processing, and input "src" in the "Generated source directory".
7.Add slim3-gen-xxx.jar in lib to the annotation processing factory path
In the Project Properties menu, select Java Compiler > Annotation Processing > Factory Path.
Add slim3-gen-xxx.jar to the path.
The App Engine SDK includes a web server application you can use to test your application. The server simulates the App Engine environment and services, including sandbox restrictions, the datastore, and the services.
You can start the development server within the Eclipse debugger. In the Run menu, select Debug As > Web Application. See Using the Google Plugin for Eclipse for details on creating the debug configuration.Slim3 supports HOT reloading, so you can continue to develop this tutorial without restarting your application.
Continue to Creating a controller and a test.