{"id":54517,"library":"jersey-core","title":"Jersey Core (Sun)","description":"Jersey Core is the reference implementation of JAX-RS (JSR 311) for building RESTful web services, provided under the Sun/Oracle namespace.","status":"active","version":"1.19.4","language":"java","source_language":null,"source_url":"https://github.com/sonatype/jvnet-parent","tags":["jersey","jax-rs","rest","client","sun"],"install":[{"cmd":"<dependency>\n  <groupId>com.sun.jersey</groupId>\n  <artifactId>jersey-core</artifactId>\n  <version>1.19.4</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.sun.jersey:jersey-core:1.19.4'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Client","correct":"com.sun.jersey.api.client.Client"}],"quickstart":{"code":"import com.sun.jersey.api.client.Client;\nimport com.sun.jersey.api.client.WebResource;\n\npublic class Main {\n    public static void main(String[] args) {\n        Client client = Client.create();\n        WebResource resource = client.resource(\"https://api.example.com/data\");\n        String response = resource.get(String.class);\n        System.out.println(\"Response: \" + response);\n    }\n}","lang":"java","description":"Creates a Jersey client and makes a GET request to a REST endpoint."},"warnings":[{"fix":"Replace com.sun.jersey:jersey-core with org.glassfish.jersey.core:jersey-client for JAX-RS 2.x.","message":"This artifact uses the old com.sun.jersey namespace; consider migrating to org.glassfish.jersey for newer versions.","severity":"breaking","affected_versions":"all"}],"env_vars":null,"search_vec":"'311':15 'build':17 'client':31 'core':2,5 'implement':9 'jax':12,28 'jax-r':11,27 'jersey':1,4,26 'jsr':14 'namespac':25 'provid':21 'refer':8 'rest':18,30 'rs':13,29 'servic':20 'sun':3,32 'sun/oracle':24 'web':19","created_at":"2026-06-15T09:10:25.363253+00:00","updated_at":"2026-06-15T09:10:25.363253+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://jersey.java.net/","github":"https://github.com/sonatype/jvnet-parent","docs":"https://appdoc.app/artifact/com.sun.jersey/jersey-core/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}