The GeneXus 15 Java generated applications, run on Tomcat 9.
Details on the implementation
Use annotations for servlet definition property must be set to Yes, at prototyping time.
For optimization purposes (reducing annotation searches during application deployment), content similar to the following is automatically added to the context.xml file:
<Context reloadable="true" privileged="true">
<JarScanner><JarScanFilter pluggabilitySkip="*" tldSkip="*" pluggabilityScan="GXWebSocket.jar"/></JarScanner>
Note: For Tomcat 8, the same entry is included in the context.xml file. In the case of Tomcat 7, the GXJarScanner is used.
When taken to production, build the deployment package using the Application Deployment tool. In that case, it isn't necessary to generate annotated servlets, so it isn't mandatory to generate using Use annotations for servlet definition property = Yes. The reason is that the descriptor file (web.xml) declares all the servlets explicitly.