Over a million developers have joined DZone.

Google AppEngine Uses Jetty

DZone's Guide to

Google AppEngine Uses Jetty

· Java Zone
Free Resource

Bitbucket is for the code that takes us to Mars, decodes the human genome, or drives your next car. What will your code do? Get started with Bitbucket today, it's free.

Hot on the heels of Google Widget Toolkit(GWT) switching to Jetty, the little server that can has received some more Google luv'n!   Google's new App Engine Java service is powered by Jetty! With App Engine, you can build web applications using standard Java technologies and run them on Google's scalable infrastructure.

Initially it is a little difficult to see Jetty in use, but you can see the jetty classes in the SDK download and if your application throws an exception then investigation of the stack trace in the log reveals the Jetty servlet container is used. 

Not only that, the stack trace and other documentation show that Google have really exploited the embeddablility and extensibility of Jetty at a number of levels:

  • They are using their own RPC style connector to receive requests from their front end web servers.
  • They use the google account authentication as the only supported authentication mechanism.
  • The HTTP sessions are clustered via the database or memcache
  • There is an appengine-web.xml configuration file
  • Jetty is embedded in their SDK and eclipse development plugin.

Thus Google have plugged in many new and/or extended components in a way that validates our open, component based architecture.   When it comes to application servers we do not believe that one size fits all and strongly encourage such customization for purpose.

We are really pleased that the google App team picked Jetty for their hosting service and welcome them to the ever growing list of Jetty powered projects!

From http://blogs.webtide.com/gregw

Bitbucket is the Git solution for professional teams who code with a purpose, not just as a hobby. Get started today, it's free.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}