Google App Engine
Apache Wink can be is run using Google App Engine.
The as the core functionality is fully compatible.
However, due to some of the App Engine limitations, some a number of the additional functionality functions may not work correctly.
Known Limitations
- JAXB - Google App Engine doesn't support JAXB. Therefore, the built-in JAXB, Atom and JSON providers won't work.
Logging
Google uses java.util.logging, also referred to as the JDK 1.4 logging. Apache Wink uses slf4j. In order to enable Wink's logging function, replace the slf4j-simple-<version>.jar
with the slf4j-jdk14-<version>.jar
.
In order to view all of Wink's messages place the following property in the logging.properties file:
No Format |
---|
org.apache.wink.level=ALL |
Everything that the servlet writes to the standard output stream (System.out) and standard error stream (System.err) is captured by the App Engine and then recorded in the application logs. Refer
Info | ||
---|---|---|
| ||
In order to gain an in depth understanding refer to Logging |
...
. |
Tip |
---|
When running with Spring, make sure that you have |
...
Additional Issues
This The following section contains some "Other additional Issues" you may that maybe experience while trying to run your custom developer code in the Google App Engine. It is worth reading, since it may save your time trying to figure out advantageous to read the relevant documentation as it provides important information, that will save valuable developer time that is required to ascertain why the application behaves differently in comparison to a regular servlet container.
Context Path
Usually the uri URI in a servlet container looks like this:
...