Making a Web App

Now let’s have some fun by making a simple GAE web application, building on the skeleton of our previously mentioned project, Lunch Roulette. Lunch Roulette will eventually become a web service that populates a user’s Glass timeline with lunch suggestions. But in this first pass we’ll create a simple web app that outputs a random lunch suggestion every time we refresh the web page.

Creating a Java Web App

To create the Java web app that is the skeleton of Lunch Roulette, click on the Google icon in the top bar, and select New Web Application Project, like you see in Figure 5, New Web Application drop-down option.

images/eclipse-webapp-drop.png
Figure 5. New ...

Get Programming Google Glass now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.