In order to work around AppEngine’s limitations in your existing DirectJNgine application, you need to follow three steps:
First of all, we have provided a new way to reference the files: if you were adding a script entry in your HTML to reference the DirectJNgine generated
api/MyApi.js API with the following src attribute,
now you will write it as follows
where XXX is the context.
This will always work, whether you are running under AppEngine or not!
Next, you will need to set the new
createSourceFiles servlet parameter to
<init-param> <param-name>createSourceFiles</param-name> <param-value>false</param-value> </init-param>
Lastly, you will need to to set the
batchRequestsMultithreadingEnabled servlet parameter to
false too, because Google’s AppEngine does not support multithtreading.
For more details, check the User’s Guide.