All,
We have a method in our stateless
EJB which query's our tables abd returns the result. We have designed the API thinking this should be one time call I mean user should call once this method in there flow.
Example: We are trying to get the history of work done by an Employee and I pass EmployeeID to get the detail
What is happening there are some systems which are using our API (the above method) and they are trying to call the method as a bulk query. Someone is using a for loop to get employee details for say 1000 employees and this is causing our System to hang.
My question is, Is there a way I can implement something so the calling system cannot call my API in a bulk query.
Thanks