{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4524","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4524/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4524/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4524/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/4524","id":190814577,"number":4524,"title":"[FEATURE] Ability to generate JAX-RS resources instead of the Spring REST resource","user":{"login":"ekougs","id":2651997,"avatar_url":"https://avatars.githubusercontent.com/u/2651997?v=3","gravatar_id":"","url":"https://api.github.com/users/ekougs","html_url":"https://github.com/ekougs","followers_url":"https://api.github.com/users/ekougs/followers","following_url":"https://api.github.com/users/ekougs/following{/other_user}","gists_url":"https://api.github.com/users/ekougs/gists{/gist_id}","starred_url":"https://api.github.com/users/ekougs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekougs/subscriptions","organizations_url":"https://api.github.com/users/ekougs/orgs","repos_url":"https://api.github.com/users/ekougs/repos","events_url":"https://api.github.com/users/ekougs/events{/privacy}","received_events_url":"https://api.github.com/users/ekougs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T19:37:06Z","updated_at":"2016-11-21T20:03:49Z","closed_at":null,"body":"Even if Spring provides a nice library to make REST resources, it would be nice to be able to generate JAX-RS resources instead.\r\nI use and really like jhipster, thx to all the contributors for the amazing work.\r\n\r\nBut when starting a project, I always find myself changing the generated resources to use JAX-RS.\r\nBecause I find the REST resources testing easier with the existing JAX-RS libraries and the JAX-RS API seems more intuitive and rich to me than the Spring one.\r\nPardon me if this has already been debated or already exists, but I didn't find anything in the documentation nor in this repository issues. \r\nThe only issue about JAX-RS, is this one #814. But it is related to performance gain not user preference as I'm currently asking.\r\n\r\nAs it is already supported by Spring, would it be possible to create an option in the generator to use JAX-RS ?\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/262051022","html_url":"https://github.com/jhipster/generator-jhipster/issues/4524#issuecomment-262051022","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4524","id":262051022,"user":{"login":"jdubois","id":316835,"avatar_url":"https://avatars.githubusercontent.com/u/316835?v=3","gravatar_id":"","url":"https://api.github.com/users/jdubois","html_url":"https://github.com/jdubois","followers_url":"https://api.github.com/users/jdubois/followers","following_url":"https://api.github.com/users/jdubois/following{/other_user}","gists_url":"https://api.github.com/users/jdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubois/subscriptions","organizations_url":"https://api.github.com/users/jdubois/orgs","repos_url":"https://api.github.com/users/jdubois/repos","events_url":"https://api.github.com/users/jdubois/events{/privacy}","received_events_url":"https://api.github.com/users/jdubois/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T20:03:49Z","updated_at":"2016-11-21T20:03:49Z","body":"You mean using [Jersey](https://github.com/jersey/jersey/) like in this [great article](http://www.oracle.com/technetwork/articles/java/jersey-part1-159891.html) (yeah, I got paid for that)? Not sure it will change much from our Spring MVC REST API, so yes that should be possible to have an option for that.\r\nI'm not sure much people would be interested by this, so here's my proposal:\r\n\r\n- If anyone wants to do a PR with this as an option, he's most welcome\r\n- I will do my best to merge this, but of course the burden of maintenance will then be on our shoulders, so if it's not a simple option I won't be able to do the merge\r\n- And if nobody is interested in the next month, I'll close this\r\n\r\nI'm also pinging @agoncal as I'm sure it will interest him (and we have lunch together this week, so we'll talk about it)"}}
{"actor":{"display_login":"jdubois"}}