All Questions
5 questions
-4
votes
1
answer
87
views
Which API building practice is better?
Im working on a ERP product, In which backend logics are to be APIs. Right now I have around
80 Tables.
Proposal 1: Creating CRUD APIs for all tables and manipulation of data to be handled in front ...
6
votes
2
answers
6k
views
Is it bad practice to call another API from a Filter?
I am using Java, Spring and Jersey.
I have a REST API A which receives a query parameter called q and sends this to another API B to get a response.
I need to implement a change where I first need ...
0
votes
1
answer
225
views
Should a Java wrapper around a 3rd party product's API be packaged as a Bean?
For the sake of personal use and for the educational reasons I wanna make a Java wrapper around a certain service's web API. That is, no additional software is required to use it on a client machine - ...
2
votes
1
answer
420
views
Should I separate a web api from the webserver?
Lets say I'm building a site similar to this or Quora (or some arbitrary blog-like site). I need a real-time component that will be using web-sockets/long-polling to notify the user of new posts, ...
8
votes
1
answer
16k
views
Return values for CRUD methods?
I'm writing a basic web API in Java that does what almost all others do: take input, validate it, then do CRUD operations on the DB. I've written several APIs before, and I've pretty much already ...