To create a new App Engine project:
- Click the File menu > New >select Web Application Project. If it is not available in File menu option, select the Window menu >select Reset Perspective, then click OK. And now use the File menu again. You can also use the New Web Application Project button in the toolbar:
Student. Then in Package, enter an package name, such as
The project’s directory structure includes a
src directory for Java source files, and a
war directory for compiled classes and other files such as libraries, configuration files, static files. It d also creates a servlet source file and two configuration files.
war directory uses the WAR standard layout for bundling web applications. (WAR archive files are not yet supported by the SDK.) The Eclipse plugin uses this directory for running the development server, and for deploying the app to App Engine.
When Eclipse builds your project, it creates a directory named
war/WEB-INF/, and puts compiled class files here. Eclipse also copies non-source files found in
META-INF/ and the
logging.properties files. The final contents of the
war/ directory make up your application for testing and deployment.