Is it possible to deploy a Java Servlet to GAE, or does the server need to be hosted elsewhere?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Short answer: Yes
Slightly longer answer:
App Engine uses the Jetty servlet container to host applications and supports the Java Servlet API version 2.4. Keep in mind though that there are quite a few restrictions in place that you have to respect (source):
com.google.apphosting.api.DeadlineExceededException
is thrown.Be sure to also read up on The Sandbox to see examples of what will and will not work.
You can deploy a basic servlet to GAE, but there are additional things you need to do for GAE to accept it.
I would highly recommend a quick web search on the topic. You will find that there are tons of resources for this, including the documentation at the GAE site itself.