here is the challenge:  The service-/business layer has a REST (JSON) interface. There are two kinds of clients which can call the API: The webapp, which is running in a browser and a mobile-app (Android). Both of them are public. Everyone who uses t...
I'm about to setup a REST-Webservice with Jersey. At the moment I am a bit confused about the correct representation of Strings or other Value types in JSON. Here are two snippets:  @GET @Path("user") @Produces( MediaType.APPLICATION_JSON...
i am developing a web application with angular 4 and java. I am using server sent events to send some text data to the frontend. In the backend i am using jersey and this is my backend code  eventOutput.write(new OutboundEvent.Builder()        .id(de...
I have a AngularJS webapplication with a Jersey Backend Application.  Now everything is working fine using ngResource to access REST resource out of AngularJS. The only problem is with the DELETE option.  I have the following code to delete a course...
When the mouse starts hovering over an element because of scrolling (either by wheel, or by keyboard scrolling), it does not trigger a mouseover event on the elements it is hovering (Chrome 6 on OSX). What would be an elegant way to trigger the mouse...
I'm trying to post some form data using javascript against a Jersey Resource. Here is the javascript:              var form = document.getElementById('form');             var formdata = new FormData(form);              if (window.XMLHttpR...
I have been Googling and trying to get this to work for hours...The problem is the server is not receiving data as JSON but as text. This is the POJO  package my.package;  import javax.xml.bind.annotation.XmlRootElement;      @XmlRootElement     publ...
I am going with file upload issue, in which I am using angular in front-end and Java at backend and uploading image on S3 bucket. I think there is no issue in java code because when I am using this upload URL on postman it is going well, I am Attachi...
I have an AngularJS web application with a RESTful Jersey Api as Backend.  I'm developing and testing this api in order to create user:  function Create(user) {         return $http.post('http://localhost:8080/NobelGrid/api/users/create/'...
I'm developing a REST API using Jersey and I need to add large file uploading via REST API. I tried with small files and its working. However, the API will be used to upload large files which will have size of 2GB - 5GB, since it will be used to...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.