Verify Your Project

Verify Your Project

Go to your project root directory and type:

app run:project

Our Java projects are bundled with Jetty so you can run directly from the project directory.

By default, Jetty runs on port 4000. You can change the port by running the following command:

app run:project --port=[your port]

For example:

app run:project --port=4001

Open a web browser and go to http://localhost:4000. You should see the main HTML page bundled with your Java project. Next, click the first link title Appcelerator Service Tester Tool. Click the Invoke Service button to test the bundled service. You should see the message:

 I received from you: Hello,world

If you want to view the source code for the sample service go to:

 [project_root]/app/services/org/appcelerator/test/EchoService.java