{"id":15583379,"url":"https://github.com/vmj/jaxrs-se-example","last_synced_at":"2026-05-17T17:46:33.073Z","repository":{"id":139272542,"uuid":"68331366","full_name":"vmj/jaxrs-se-example","owner":"vmj","description":"Example Java SE + JAX-RS applications","archived":false,"fork":false,"pushed_at":"2017-08-04T20:36:20.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T22:40:52.699Z","etag":null,"topics":["java-se","jax-rs"],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmj.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-15T21:06:10.000Z","updated_at":"2017-05-12T09:05:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb04b476-0995-4820-ab38-33240caa301f","html_url":"https://github.com/vmj/jaxrs-se-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fjaxrs-se-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fjaxrs-se-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fjaxrs-se-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmj%2Fjaxrs-se-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmj","download_url":"https://codeload.github.com/vmj/jaxrs-se-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246158088,"owners_count":20732718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java-se","jax-rs"],"created_at":"2024-10-02T20:07:43.961Z","updated_at":"2026-05-17T17:46:26.004Z","avatar_url":"https://github.com/vmj.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"image:https://travis-ci.org/vmj/jaxrs-se-example.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/vmj/jaxrs-se-example\"]\n\n# Example Java SE + JAX-RS applications\n\nThis repository contains one application based on RestEasy, and another based on Jersey.\nThose are JAX-RS (think RESTful services) implementations readily usable in a Java SE environment.\nFor example, small apps or 12 factor apps.\n\n\n## Why and What?\n\nThink what you will about the enterprise Java as a whole, some of their technologies are really neat.\nAlso, since they are more and more usable without any heavy frameworks or boilerplate or configuration,\nthey are a real contender in Java SE space.\n\nJAX-RS allows you to build RESTful APIs in a type safe and easy way.\n\n\n## How it works\n\nThis project contains a `jaxrs` resources archive, which is just a JAR really.\nThis JAR forms the actual application.\nThere’s an `IndexResource` that is exposed in the `/` path,\nand it exposes two sub-resources in path `/articles` and `/inquiries`.\n\nYou can make `GET` requests to the `/articles` end point, and receive a JSON list of articles.\nYou can also `POST` inquiries the the `/inquiries` end point.\n\nThen there are two Java applications: jersey-jdk and resteasy-jdk.\nBoth are really small.\nAll they do is, they use container specific way of constructing the JAX-RS container\nand then start the JDK `HttpServer`.\n\nThat’s it. (See the source code for more comments.)\n\n\n## How to try it out\n\nI'm using *gradle* build system, but you do not need to install that in order to build this.\nAll you need is *Java SE JDK*, version 8.\n\nClone this repository:\n\n  git clone https://github.com/vmj/jaxrs-se-example.git\n  cd jaxrs-se-example\n\nAnd build the app:\n\n  ./gradlew installDist\n\nThen run the Jersey based app:\n\n  ./jersey-jdk/build/install/jersey-jdk/bin/jersey-jdk\n\nAnd the RestEasy based app:\n\n  ./resteasy-jdk/build/install/resteasy-jdk/bin/resteasy-jdk\n\nIf you're on Windows, add `.bat` suffix to each script (`gradlew.bat`, `jersey-jdk.bat`, `resteasy-jdk.bat`).\n\nYou can clean up, too\n\n  ./gradlew clean\n\nHave fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmj%2Fjaxrs-se-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmj%2Fjaxrs-se-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmj%2Fjaxrs-se-example/lists"}