Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37435

Re: websocket & rest-api application

Newsgroups comp.lang.java.programmer
Date 2017-09-20 01:38 -0700
References <ab824389-a669-4db9-9be1-a07d4e9427df@googlegroups.com> <oprtbg$1477$1@gioia.aioe.org>
Message-ID <660f40e7-a37b-451f-b104-be031f9b2832@googlegroups.com> (permalink)
Subject Re: websocket & rest-api application
From Philipp Kraus <philipp.kraus.flashpixx@gmail.com>

Show all headers | View raw


Am Dienstag, 19. September 2017 22:06:29 UTC+2 schrieb Arne Vajhøj:
> On 9/19/2017 11:11 AM, Philipp Kraus wrote:
> > I'm searching for a very small and efficient framework to create a
> > web-based application. I need REST-Calls and WebSockets, so at the
> > moment I'm using Jersey, but I need a more / better abstraction
> > level. In the backend I'm using an own asynchronized runtime for the
> > calculation of the processes, so the REST-API and websockets are for
> > communication outside. The UI will be done in Angular and React The
> > final application will deployed at the end on a Tomcat or other
> > webserver,
> >
> > 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.
> 
> Websockets are outside my area of experience/expertise.
> 
> 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 the annotations. 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?

Thx

Phil

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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