In the Application Server, you can use annotations in the servlets. For annotations supported in Application Server, see 2. Annotations and Dependency Injections Supported in Application Server in the uCosminexus Application Server AP Reference Guide.