Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: websocket & rest-api application Date: Tue, 19 Sep 2017 16:06:11 -0400 Organization: Aioe.org NNTP Server Lines: 29 Message-ID: References: NNTP-Posting-Host: wwM8e21nix1d50OfYgfEZQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:37431 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. I see very little that are not needed. What do you think is not needed? Arne