{"id":62685,"library":"tomcat-annotations-api","title":"Tomcat Annotations API","description":"Provides the annotations API used by Apache Tomcat for servlet and web application metadata.","status":"active","version":"11.0.2","language":"java","source_language":null,"source_url":null,"tags":["tomcat","annotations","jakarta","servlet"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.tomcat</groupId>\n  <artifactId>tomcat-annotations-api</artifactId>\n  <version>11.0.2</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.tomcat:tomcat-annotations-api:11.0.2'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Resource","correct":"javax.annotation.Resource"}],"quickstart":{"code":"import javax.annotation.Resource;\n\npublic class MyService {\n    @Resource\n    private DataSource dataSource;\n}","lang":"java","description":"Example using @Resource annotation for dependency injection."},"warnings":[],"env_vars":null,"search_vec":"'annot':2,6,19 'apach':10 'api':3,7 'applic':16 'jakarta':20 'metadata':17 'provid':4 'servlet':13,21 'tomcat':1,11,18 'use':8 'web':15","created_at":"2026-06-17T16:34:28.715576+00:00","updated_at":"2026-06-17T16:34:28.715576+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://tomcat.apache.org/","github":null,"docs":"https://appdoc.app/artifact/org.apache.tomcat/tomcat-annotations-api/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}