Start your first Google App engine app

Source: Internet
Author: User
Tags java web netbeans

Many people want to play Google App Engine, at least as a free virtual host to use. Let's talk about the cost first.

At present, GAE each account can open 10 applications, each application free quota 1G disk space, so down is 10G. In addition, each application daily free flow quota 10g,request 1.3 million times, the database store calls 10 million times.

Beyond these quotas you can buy, storage space of 0.01 dollars 2G (this does not by day), bandwidth is basically 0.1 U.S. dollars 10G/day (this daily statistics, beyond the free quota portion only charges).

The only regret is that the renminbi is not accepted for the time being.

Gae first supported Python, a previous burst of Java support, and provided a set of SDK. But because GAE is a new thing, not very mature, deployment is very cumbersome, without a good IDE support, it is difficult to play. Currently the official Eclipse plugin is available for you to use. Because of your personal interest in NetBeans, this article is based on NetBeans as the main IDE, and if you are an Eclipse user, the principle is the same. Here we go.

0. This article assumes that your JDK and Netbeans are properly installed and configured with relevant environment variables.

Note: The project template is provided at the end of this article, and you can skip the middle section and use it directly.

1, first you have to have a Google account, if you use Python, you can deploy directly. If you are using Java, you need to be here (http://code.google.com/intl/en/appengine/) to activate the App Engine Java account, click Sign Up, and make a request. It may take several days to receive the activation message. As shown in figure:

2. Here (http://googleappengine.googlecode.com/files/appengine-java-sdk-1.2.0.zip) Download the App Engine Java SDK and I'll unzip it to E:\ APPENGINESDK, the following configuration will be referenced by this path, and you can change to your own path. As shown in figure:

3. Create a new Java Web project in Netbeans named Hello and I'll save it in the E:\gae\java directory, as shown in:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.