They are all lower class of the human society. No body really respect them though social ethics may encourage them to do so. Actually those ethics is just a tool to trick them to work hard for the higher class. Both of them suffer for their whole life and don't get much payment. Does soldier get paid anyway? Though they spend billions of dollars everyday, which may be taken as a compensation for their poor live, but the money is not for themselves because if they don't do well, they will be sued or dead.
Who is the king, or higher class of current human society? The answer is almost for sure: rich people. They may not be as smart as a scientist, or as brave as a soldier, but they can do whatever they want to do. The only limit is their imagination, which is ironically abundant for scientist. But this is even not a problem because they can hire scientist to work for them. Maybe as an individual, they don't have as much money as those government can invest on the research, but in a deeper sense, is politics a still game for those rich people? The Iraq war is a vivid example.
Those people who work all day long in the lab or risk lives in the battle field, are not essentially different from the slaves in the ancient Egypt building pyramid for the Farad. Working hard doesn't make them feel better about live.
Does anyone still remember the movie: the first blood? maybe the only amusement for soldier is that they are free to use billions of dollars valued weapon to kill some unknown people before they are killed. For scientist, in my opinion, as a perspective scientist, perhaps the only consolation is that they have the ability to imagine.