Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #35919
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2016-11-21 16:08 -0800 |
| Message-ID | <7194c303-1388-4e3f-b340-39cd7d129653@googlegroups.com> (permalink) |
| Subject | generic rest-api |
| From | Philipp Kraus <philipp.kraus.flashpixx@gmail.com> |
Hello, I'm writing a framework which should be also accessable with a webservice. At the moment I'm using Jetty for the server. I have got a set of objects and each object should be defined as a webservice with a REST-API which returns the object as a JSON structure. I need a call like http://server/"any path"/object_identifier/state which returns the current state of the object (I can get these information by calling a method). And also I need for each method in the object a call like http://server/"any path"/object_identifier/methodname The best case should be an automatically generation of all this URLs. Is there any componente or framework to create a structure like this and is also portable to Tomcat, Jetty and Glassfish? I'm knowing Jersy, but I think I need some wrapper code around to do this. Thanks Phil
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
generic rest-api Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-11-21 16:08 -0800
Re: generic rest-api Arne Vajhøj <arne@vajhoej.dk> - 2016-11-21 19:59 -0500
Re: generic rest-api Sebastian <nowhere@nirvana.org> - 2016-11-22 21:46 +0100
Re: generic rest-api Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2016-11-29 00:18 -0800
csiph-web