{"id":66744,"library":"jboss-annotations-api-1-1-spec","title":"JBoss Annotations API 1.1 Spec","description":"JSR 250 Common Annotations for the Java Platform, provided by JBoss.","status":"active","version":"1.0.1.Final","language":"java","source_language":null,"source_url":"https://github.com/jboss/jboss-annotations-api_spec","tags":["jboss","annotations","jsr250","java-ee"],"install":[{"cmd":"<dependency>\n  <groupId>org.jboss.spec.javax.annotation</groupId>\n  <artifactId>jboss-annotations-api_1.1_spec</artifactId>\n  <version>1.0.1.Final</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:1.0.1.Final'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Resource","correct":"javax.annotation.Resource"}],"quickstart":{"code":"import javax.annotation.Resource;\n\npublic class Example {\n    @Resource\n    private String data;\n    \n    public void useResource() {\n        System.out.println(\"Resource injected: \" + data);\n    }\n}","lang":"java","description":"Use @Resource annotation for dependency injection"},"warnings":[{"fix":"Use jakarta.annotation.Resource for Jakarta EE 9+.","message":"This API is for Java EE 6 (JSR 250) and may conflict with newer Jakarta EE annotations.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.1':4 '250':7 'annot':2,9,18 'api':3 'common':8 'ee':22 'java':12,21 'java-e':20 'jboss':1,16,17 'jsr':6 'jsr250':19 'platform':13 'provid':14 'spec':5","created_at":"2026-06-17T17:27:44.336281+00:00","updated_at":"2026-06-17T17:27:44.336281+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":"http://www.jboss.org","github":"https://github.com/jboss/jboss-annotations-api_spec","docs":"https://appdoc.app/artifact/org.jboss.spec.javax.annotation/jboss-annotations-api_1.1_spec/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["dependency-injection"],"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}}