Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Web services are software systems designed to support interoperable machine-to-machine interaction over a network.

-5
votes
0answers
44 views

How long should it take to create a 20 field web service using C# Web API Entity Framework

Basically I'm contracting out some work and I asked the contractor to build a simple asp.net WebAPI 2 project to connect to a single table in a database using Entity Framework. This table has no ...
1
vote
1answer
38 views

Using a JWT for a web service after logging in (login twice?)

Good day everybody, My capstone project partners are stumped with a logic question that has to do with JWT, MVC & web services. We have already built a web app with a signup/signin feature using ...
0
votes
1answer
31 views

Which scenario is the best for service worker architecture?

We know about using service workers in modern web sites. Consider a scenario back-end as node.js and SQL Server. Data is loaded from central database to local customer web app (DB is about 700 MB) ...
0
votes
0answers
24 views

Java RPC - Notify client without client-side method call

The current project is a basic java web application written with the RPC pattern and java ObjectStream... Here a some base classes used by my basic framework: public abstract class AbstractServer ...
0
votes
0answers
34 views

Are REST Resources and GraphQL Object Types conceptually equal?

I'm in the process of outlining the intended business logic of a web service. At this point, I'm not too concerned with implementation details. On the contrary, I'm looking for ways to abstract them ...
1
vote
0answers
52 views

Design a Windows Service with self-hosted ASP.NET Core Web Services and UPD port listeners

I'm designing a software platform in automation that is responsible of many different tasks like: Core functions Driver interface for machines UDP listener for machine messages from PLC UDP listener ...
1
vote
2answers
88 views

Are two .net web applications necessary?

We have one single internal website. Underneath this website (in IIS) we have two web applications: 1-Main web application 2-Web services (created using the visual studio web api project template) ...
-1
votes
1answer
128 views

How can I prevent my API from being accessed by anything but my website?

I've got an API (Java + Play Framework). I've got a website (React) who has to communicate with the API. I don't want my API being called by anything but my website. How can I do?
1
vote
1answer
39 views

Should I do parallel processing in RPC web service?

Recently I was reviewing my team leader pull request in our Web API hosted by Kestrel. There was a place in our code which is sort of hot path and we are processing frequently over hundred of items ...
3
votes
1answer
104 views

REST API: How to PUT/POST different units of data

I have an API I have designed which can return data in 2 different units. To explain this I am tending to use the example of a measurement, in particular temperature. However my use case is slightly ...
1
vote
1answer
123 views

Is it usual to “re hydrate” DTOs into full objects with relationships when consuming web services?

We are designing a web API to transfer objects obtained from a database to a client application which is a front end GUI. The server side business logic will be implemented (for better or worse) in ...
0
votes
0answers
15 views

Best approach when moving applications from DB integration to Web service integration?

I need advice on how to, in an Agile way, move from integration via database to integration via Web-services. We have a bunch of applications that support core business and then some other who are ...
1
vote
1answer
51 views

Is there a place for connection string in SOA's desktop clients?

In the SOA architecture, with many services that implements data persistence as well as basic logic - is there even a place for connection strings in client Desktop applications? Or should everything ...
3
votes
2answers
54 views

Parameters to Service-level classes: Primitives or domain-specific types?

We have an existing web service which is currently modeled as a single project, where the web/service/manager/model classes have gotten a bit confused and intermingled. As a refactoring, we're pulling ...
0
votes
1answer
53 views

Design/Process in respect to mission-critical systems (Web Services)

Overview For company abc, teams are separated in terms of mission-critical applications and their extended applications. For example, customer xyz uses mission-critical data, but there are business ...
1
vote
2answers
153 views

How to correctly split a monolith and rely on the same domain

Context I'm developing a Spring Boot java application. Currently it is a monolith with the rest API and the front end (vaadin driven) in the same big project. Although this is very easy to develop ...
0
votes
1answer
288 views

Pattern for web service response caching, but only use the cache for when the data store goes down or request otherwise would fail

We have a REST web service written in C# in ASP.NET MVC/WebAPI. When the underlying data store fails, this can lead to our service being completely unavailable, instantly. There is currently no ...
0
votes
2answers
65 views

Where and how to store URLs in a web module?

Situation I am currently refactoring existing web code. The code currently revolves around a ServerConfiguration object. It looks something like this: string UrlBase = "https://myserver.com/api" ...
3
votes
1answer
51 views

Realtime Live Auto updates for web applications

It's about trying to understand the architecture behind how updates to web application is done. I've been working on a non-public website that has bunch of records displayed in a UI, now the ...
1
vote
2answers
352 views

Best Practices - Including endpoint URL calls in JavaScript vs backend calls

I am building a web application that will retrieve results from a remote server and use them to render some charts and maps. The remote server has already been implemented and contains a large amount ...
0
votes
1answer
69 views

Hosting what normally would be a windows service inside a web server

We have the requirement to implement some fire and forget long running tasks that fit perfectly into windows services (remote data acquisition and processing, etc) but the requirement is to deploy ...
2
votes
1answer
523 views

How to handle multiple calls to webservice?

I got a REST webservice and it has a simple method like; public void processItem(Item item); Problem is processItem method takes too long to complete nearly 1 minute) and there can be multiple calls ...
1
vote
1answer
229 views

understanding video streaming on a servlet or webserver

This question has been asked quite a few times on StackOverflow and I would like to get an understanding of the concepts and process rather than directly solve a problem. I found the following post ...
6
votes
2answers
264 views

How do you handle JWT expiration for long running calls?

Currently we are debating over securing our multiple micro-services. The major concern is that the JWT token provided to us will expire before the call is finished. (This is in the synchronous design) ...
0
votes
0answers
38 views

Architecture design from a java based friend finder and groups creation for an IM app

I am trying to design the architecture of the friends finding and group creation service(the group creation system to be precise) of an Instant Messaging app with Android as the client, Java as the ...
0
votes
0answers
52 views

Wrapping microservices HTML result in parent page

I have a set of microservices which provide HTML pages meant for user-interaction and are pretty much stand-alone applications. These need to be "wrapped" by a Java-powered parent website which ...
4
votes
2answers
97 views

Running expensive computation on single server

I'm building a website that lets a user pay for a service that automatically does some video encoding for them. Encoding takes several minutes. A naive solution would run each encoding job ...
0
votes
1answer
437 views

How Immadiately Blacklist and Block Access of Access Token using JWT?

I have read OAuth2 and its statelessness using JWT as token. Token expires based on expired time, then how do I control token like blacklist and block its access immediately without being stateful? ...
-1
votes
1answer
357 views

RMI/CORBA vs Web service

As mentioned in wiki, A service-oriented architecture (SOA) is a style of software design where services are provided to the other components by application components, through a communication ...
0
votes
2answers
224 views

Is inserting service logic in its own class considered bad?

For example, let's say I have this wonderful interface: public interface BestService { public String whoIsAGoodService(String serviceName); } Going down it's implementation, we can find the ...
-1
votes
3answers
343 views

For what kind of websites is it ok or even better to use SQLite? [closed]

I'm familiar with the process of setting up Postgresql. And I'm also thinking of using SQLite for some of my websites for I don't need that much functionality that Postgresql offers. And I also want ...
3
votes
1answer
130 views

How should I merge two separate web application built in two separate frameworks by different teams into one? [closed]

Guys, I am a non-technical founder with some understanding of how the web app works front end and backend, etc. I have a somewhat technical question to help me make a business decision. I hope you ...
52
votes
10answers
12k views

When would you use a long, string ID instead of a simple integer? [closed]

I'd like to use Youtube as an example: they use IDs in the form of PEckzwggd78. Why don't they use simple integers? Or imgur.com - they also use IDs such as 9b6tMZS for images and galleries. Not ...
1
vote
1answer
51 views

Area of Use for webservices?

I'm used to program Desktop applications and old School (without web Services) web pages. Now after reading up on web Services and also wcf I'm unsure about the area of usage for web Services. The ...
1
vote
1answer
83 views

Transaction with web services

I am wondering how transactions with web services are achieved. Let's take an online store for example that needs to deal with 3 services: Inventory management SaaS Delivery management Saas Payment ...
1
vote
1answer
303 views

Design the interface of a microservice to cater multiple service requests

I have been working on a project with multiple microservices whose communication happens through API calls. Lets say microservice A calls a service provided by microservice B. According to the current ...
0
votes
1answer
72 views

Designing a shared-role web apps

I have several Django services which all have their own login portal, and colleagues have a user/pass for each portal (if we've given them permission). We'd like to unite all of these portals and ...
-1
votes
1answer
66 views

Creating an app with a secured performing service the Microsoft way

This week I want to start a greater app project that is expected to handle much data. The app will provide an interactive forum, a media library that allows streaming and a task module with push ...
4
votes
2answers
65 views

Writing requirement for Response Time from Hosted Server

We are contracting with a group to create some cloud services for us, and would like to write a requirement for them stating that a particular API call will provide results within X seconds. They are ...
0
votes
1answer
34 views

SOA with dynamic forms

When building a Service Oriented Architecture (because the services will be used by automated systems or other consumers), how can I go about creating a simple, dynamic form-based web frontend for ...
4
votes
1answer
47 views

Should error/ack message be constructed in the client or in server?

Should messages that will be shown to the client be resolved in the client-side or in the server-side? Any design (dis)advantages that you can think of between the two approaches? If the system ...
3
votes
1answer
462 views

Is WSDL still used? [closed]

As today most of the development is towards the lightweight service and RESTful architecture, is WSDL still needed to describe these services? In today's world -- where cloud computing, mobile ...
2
votes
0answers
105 views

Self hosting map vector tiles for web application

I'm building a web application, which involves (currently) a REST backend and a frontend SPA. The backend is hosting massive geo-enabled data, and the frontend is displaying it on a mapbox map. I'm ...
1
vote
1answer
139 views

Check if a controller is doing too many things

There is REST endpoint in my application which handles POST request and then makes a HTTP post to another external application and when the resource is creating in the external resource then I create ...
2
votes
3answers
1k views

Integration Testing: Testing Service to Service

I'm looking for some advice on testing strategies for service to service communication. I have one service (service A) that makes a call to another service (B) - which is a rest API. Both services ...
1
vote
1answer
486 views

Is it better to have separate projects for Frontend and backend?

I am running an ecommerce website built in Java using Spring and Hibernate. If I have to briefly describe current architecture then it is like this: I am having two projects by name - store front and ...
1
vote
1answer
103 views

Global rate limiting to hit an API from workers that live on multiple machines?

I have to design a system where an API has to be hit to get the meta info about some data. We have multiple workers, that take jobs from multiple queues. Now the API has a rate limit of say 500 per ...
2
votes
3answers
302 views

How to avoid confusion between services as in “service layer” and services as microservices?

If I have microservice architecture and one or more microservices have layered architecture that contain service layer, how can I avoid naming confusion between microservices and structural units of ...
-4
votes
1answer
108 views

Rewrite legacy code or continue to live with it [duplicate]

Last year I decided to create a web-based SAP Business One extension system consisting of a JavaScript SPA written with Aurelia that communicates with two REST backends written in Go and Java (...
1
vote
0answers
107 views

Developing mobile device management system

I am trying to create a device management system for over-the-air updates. The system basically has 3 parts: Mobile client devices running android located at different places REST Backend written in ...