Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37441
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: websocket & rest-api application |
| Date | 2017-09-20 20:36 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <opv1hj$df0$1@gioia.aioe.org> (permalink) |
| References | <ab824389-a669-4db9-9be1-a07d4e9427df@googlegroups.com> <oprtbg$1477$1@gioia.aioe.org> <660f40e7-a37b-451f-b104-be031f9b2832@googlegroups.com> |
On 9/20/2017 4:38 AM, Philipp Kraus wrote: > Am Dienstag, 19. September 2017 22:06:29 UTC+2 schrieb Arne Vajhøj: >> On 9/19/2017 11:11 AM, Philipp Kraus wrote: >>> So my question ist, did you have got any suggestions for a small and >>> efficient framework to build REST-API calls and Websockets >>> communication and the boilerplate of the application around. I taken >>> a look into Spring Boot, but imho it seems to be to large. >> But regarding JAX-RS then I don't understand what you are looking >> for. >> >> Fundamentally you create a Java class with some methods and put >> on some annotations to described how it is to be exposed. > > At the moment I do this with this way, so I write my classes, add > theannotations. Also I put the HTML & JS code with NPM & Gulp into the > webapp directory and bundle it together. > >> I see very little that are not needed. What do you think is not needed? > > I would like to optimize my workflow, at the moment I do everything > manually with the annoations. I know frameworks like Spring to get a > more abstract way of development, but I need a efficent structure, so > the question is there a a framework which allows to create a more > abstract level of the software, without performance issues or it is a > good way do all manually with annoations? As I already indicated then I don't see what you can avoid writing if you want full control. If you do not require full control, but are looking for something like a scaffolding tool (give the tool the name of a database table and the tool creates HTML 5 UI and JAX-RS web services to do CRUD), then I see the point. But I am not aware of such a tool. Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
websocket & rest-api application Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2017-09-19 08:11 -0700
Re: websocket & rest-api application Arne Vajhøj <arne@vajhoej.dk> - 2017-09-19 16:06 -0400
Re: websocket & rest-api application Arne Vajhøj <arne@vajhoej.dk> - 2017-09-19 20:40 -0400
Re: websocket & rest-api application Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2017-09-20 01:38 -0700
Re: websocket & rest-api application Arne Vajhøj <arne@vajhoej.dk> - 2017-09-20 20:36 -0400
csiph-web