“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
For someone who knows Java really well then they may begin by thinking of a solution in Java.
The opposite could be true about someone who know NodeJS really well.
Invariably people have favorites for languages and frameworks which would guide the choice.Monica Shiralkar wrote:And what is someone knows both well?
So you will have to take this on a case by case basis.Bear Bibeault wrote:there isn't any magic formula. It depends on many factors including the knowledge level of the implementing team.
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Lakshmanan Arun
http://devtoolzone.com
Lakshmanan Arun
http://devtoolzone.com
Lakshman Arun wrote:Is your API depends on more IO and more computation needs (complex logic), then would suggest Java, for simple rest apis Node JS is good
...
With some example, for apis like which gets product description/user review comments Node JS is a better candidate. For APIs like, getOrderTotal Java Rest is a better choice
Tim Moores wrote:
Lakshman Arun wrote:Is your API depends on more IO and more computation needs (complex logic), then would suggest Java, for simple rest apis Node JS is good
...
With some example, for apis like which gets product description/user review comments Node JS is a better candidate. For APIs like, getOrderTotal Java Rest is a better choice
Both these have low complexity, and low I/O and CPU needs, so I don't see much of a difference. Not that I think a complex logic argues for using one language over the other, mind you.
Lakshmanan Arun
http://devtoolzone.com
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|