{"id":866,"date":"2009-04-15T18:29:22","date_gmt":"2009-04-15T23:29:22","guid":{"rendered":"http:\/\/unitstep.net\/?p=866"},"modified":"2009-04-15T18:29:22","modified_gmt":"2009-04-15T23:29:22","slug":"google-app-engine-for-java-first-thoughts","status":"publish","type":"post","link":"https:\/\/unitstep.net\/blog\/2009\/04\/15\/google-app-engine-for-java-first-thoughts\/","title":{"rendered":"Google App Engine for Java: First thoughts"},"content":{"rendered":"

\"google-app-engine-java\"<\/p>\n

When Google launched App Engine about one year ago<\/a>, many were excited about their expected move into the cloud computing space, but at the same time, dismayed that it only supported Python, a language seemingly favoured at the Mountain View-headquartered company.<\/p>\n

However, Google was adamant that they would begin supporting new languages and began taking requests on their issue tracker<\/a> for what language to support next. So, it was no surprise that support for Java was announced last week<\/a> as part of an “Early Look”<\/a> at the feature. <\/p>\n

<\/p>\n

I qualified for signup!<\/h2>\n

The Google App Engine page<\/a> indicated that access would be limited to the first 10,000 developers who signed up, but I was able to get approved for access after signing up over the weekend, even though Java support was launched last Wednesday on April 8th. Google has since expanded the “early Look” to accommodate a total of 25,000 developers<\/a>, so be sure to sign up if you can!<\/p>\n

The choice of Java as the next language to support was no big surprise, as indicated by many<\/a> articles<\/a> speculating on the matter.<\/p>\n

Furthermore, Java is one of the most popular languages out there, both outside and inside Google, making it a logical choice. This is seen by the numerous Java projects Google has created\/supported, such as Google Web Toolkit<\/a> and Google Guice<\/a>. Additionally, Java is second to none when it comes to a viable developer ecosystem, which has resulted in great open source projects such as JBoss<\/a>, the Apache Commons<\/a> collections, and other libraries\/frameworks that have provided great tools to any Java developer, allowing them focus on developing their application instead of worrying about lower-level problems. There are also a great many websites out there running on J2EE, such as LinkedIn<\/a> and numerous corporate websites.<\/p>\n

App Engine as a enabler for free\/cheap Java hosting<\/h2>\n

However, this hasn’t translated into the availability of cheap web hosting for J2EE\/Java development. Typically, web hosting for a shared-server solution will be only a few dollars per month if you’re using a scripting\/interpreted language like PHP<\/acronym>, Python or Perl. If you want to develop Java web applications though, you’ll likely have to pay much more due to the complexity and overhead of the hosting provider having to run a Java VM.<\/p>\n

As outlined in this somewhat overly optimistic article<\/a>, Google’s support for Java in App Engine has the potential to change the game by offering a cheap\/low-cost, or in most cases, a free solution to allow developers to begin creating J2EE\/Java-based web applications. This will have the effect of encouraging greater adoption of J2EE as a server-side solution. In my opinion, the high cost of Java web hosting has indeed hampered its adoption by the community, as compared to alternatives like PHP<\/acronym>, Python and Ruby.<\/p>\n

Hello, World<\/h2>\n

As for me, I’m currently devoting my free time to experimenting on App Engine using Java. So far, the documention<\/a> and tutorial<\/a> seem to be fairly well-written and easy to follow, and for the most part App Engine is using the standard Java APIs for providing most of their service functionality. Furthermore, Google has made an excellent Eclipse plugin<\/a> for App Engine Java support, which provides not only the SDK, but also a built-in development server\/Jetty-based servlet container for local testing, but also the tools necessary to upload your application to Google’s servers directly from the IDE. Another reason why Eclipse is the best IDE<\/a> out there.<\/p>\n

I hope to have something working within a few days, at least to test the service and play around with its capabilities. Overall, I’m very impressed!<\/p>","protected":false},"excerpt":{"rendered":"

When Google launched App Engine about one year ago, many were excited about their expected move into the cloud computing space, but at the same time, dismayed that it only supported Python, a language seemingly favoured at the Mountain View-headquartered company. However, Google was adamant that they would begin supporting new languages and began taking […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[337,338,208,23,197,137,17],"tags":[485,486,451,413,339,450,438,340],"_links":{"self":[{"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/posts\/866"}],"collection":[{"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/comments?post=866"}],"version-history":[{"count":9,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/posts\/866\/revisions"}],"predecessor-version":[{"id":876,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/posts\/866\/revisions\/876"}],"wp:attachment":[{"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/media?parent=866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/categories?post=866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/tags?post=866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}