Hello Mx Community, I would like to find some answers regarding the efficiency and the effectiveness of a JAVA action and a GET REST call to obtain a value. The answers I am seeking are first and foremost for my app's effectiveness, security and stability, and secondly for educational purposes. I want to calculate a duration from a video object, obviously from the difference of 2 attributes. I have the following options: 1) Use purely Mendix functions and microflows, 2) Use Java code to make the calculation, 3) Call a REST service with a GET method to obtain the number I look for. Between options 2 and 3, what is the best option regarding speed, security, effectiveness, and efficiency? Thank you in advance! Kind Regards, George
asked
George Karalis
1 answers
2
I think it depends on what skills your team has.
If there is always going to be someone with Java skills in the team, then that may be faster and more efficient. However, if Java isn't your strong point, it could become difficult to maintain and support in the future.
Calling the REST Service will be slower, and you also have a dependency on an external resource. However, calling a REST Service is very well supported in the Mendix platform and long term support would be easier.