TL;DR
The truth is that from the point of view of the client App, it makes no difference at all in which technology the Web Service is implemented. This is precisely the idea of Web Services to begin with.
Therefore, the factors that can lead to the decision of which platform or language to use are elsewhere.
Some are...
Two different environments?
Unless you’re already a developer. Proficient Net, if you already develop in Java for Android, using the same language on the server makes more sense.
Server cost
Unless it is a personal project financed from your pocket and without a significant return, the cost of hosting should not be a problem.
However, know that for Java the initial cost is higher, since a small instance of Java takes up a lot of memory. The advantage of Java is that memory is not proportional to the number of users.
In addition, there are services such as Openshift which allow limited use free of charge.
Other alternatives
On the other hand, if you want to keep a minimum cost or do not know well neither Java nor . Net and want a simpler environment, could even use PHP or Node.js to develop their Web Services.
Operating system
The operating system is also not important in the sense that both will support.
But in general, the linux environment is more flexible and lightweight. There are cloud distributions that work with little memory and little storage space.
The problem with Linux is that if you’re not used to this kind of environment and you don’t dominate the terminal, you can easily waste a lot of time punching a knife point until you can do simple things that in Windows, could resolve in a few minutes by clicking on some menus.
Marcio, welcome to Stackoverflow! I understand that this is the kind of question that comes up when we start developing something. However, it does not fit the scope of the site. Here the questions should be objective, about concrete programming problems. Your question will be answered based on opinion, which is not accepted here. I invite you to see how the site works on tour and what the type of question that fits.
– ramaral
Ramaral, I don’t understand the problem of opinion-based answers. If I wanted an objective answer to a specific case (technical problem) I would have asked objectively about the specific case, but this is not my need, because the intention was to know the opinion of the professionals who participate here before the experience they have in the development of applications of the type. In my opinion (I know it is forbidden to have an opinion here) is that this restriction only limits the exchange of experiences and knowledge, but okay, if it is site policy then I will respect.
– Marcio
+1 Marcio. I think there are cases and cases @ramaral. And in that case an answer based on opinion and experience is the most appropriate for Marcio’s question.
– Luiz
@Luiz The question is that, according to the rules, both the question and the answer should not have occurred.
– ramaral
Marcio, welcome to [en.so]! I edited your answer to prevent it from being too opinionated. This way, I believe it is possible to answer a little more objectively. If you are not happy, you can edit the question again. If you have other questions, I suggest you ask different questions, each one with a very specific goal in mind. Hug.
– utluiz