facebook app hosting

Developing facebook applications with Java?
It would seem that to write a facebook app in Java, I would require my own webserver, complete with J2EE. Is this true? Cause that’d be no fun.. Would I still need my own server if I wrote the app in PHP? Or will facebook nice enough to host my code?
First, PHP runs only on a web server.
I am not familiar with facebook, but did a little google searching, yielding:
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=oY5&q=java+facebook+applications&btnG=Search
One of the clearer sites was:
http://wiki.developers.facebook.com/index.php/Java
A couple of very nice links on that page indicated that a web server and J2EE are necessary. You *might* be able to use one of the ‘free’ web servers available on the internet, but I did not read that far.
Obama Together – Host Your Own Inauguration Party Live On Facebook
