Pages

Google Ads

Saturday, May 16, 2009

Google App Engine supports Java

Hello folks,

Google announced some days ago that they are hosting Java applications on the Google App Engine.

It means that you can host your java web application with them for free, the free service includes:
- up to 500 MB of storage
- 5 million page views a month
- CPU Time: 6.5 hours of CPU time per day
- Bandwidth: 1 gigabyte of data transferred in and out of the application per day

If you need more resources you have to pay for it. To see the billing page click here.

The good thing about this service is that it does a lot of hard work for you, I mean you code your application and host it for free. But if your application becomes famous and you need more resources you have to pay for it on demand, and you don't have to worry about changing for another server or anything.

We are talking about no worries with the infrastructure (servers, datebase, load balancing, etc). The only thing you have to worry about is coding your program and paying for the resources you are using.

Testing the Service

- I did a small java program and signed it in to Google Apps Engine service, for that I had to give my cell phone number to receive a sms with a code, and with this code I was able to continue the registration processes.

After maybe 10 days I was able to start deploying my application because they did some kind of approvement that took a lot of time.

Deploying an application

- Using Eclipse I coded my application and clicked on the "Deploy App Engine Project" button and it automaticly deployed to my google website.

Adding a domain

By default you have a web address (in my case http://caiomsouza.appspot.com/), but you can add a domain if you want to.

So I also did it.
http://googlejava.professorcoruja.com/

One thing, this is just a test page, so please, if you visit don't think it is a production environment.

Docs about it

There are a lot of information about this service, so I won't put them here, but if you want to know more about it please visit:

http://code.google.com/appengine/docs/java/overview.html


It works and it is free

I just want to say that it works and it is free to use (small resource).

Have fun!!!

No comments: