Getting Started‎ > ‎

Creating a blank project

If you use Eclipse, the easiest way to create a new slim3 project is to use the Slim3 Plugin for Eclipse. If you want to create a new slim3 project manually, see Getting a blank project.

1.Create a new slim3 project

In the File menu, select New > Project... > Slim3 > Slim3 Project.

2.Define your project name as tutorial(your favorite name)

3.Define your root package as tutorial(your favorite name)

The root package will be defined in war/WEB-INF/web.xml as follows:


4.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.

5.Running the Project

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.