Re: Scotty and his military comment
By definition a military is the armed forces of a sovereign entity. Since Starfleet fights in its battles and defends its citizens they are a military. What a state or government does with its military is entirely up to that entity. How Switzerland organizes and utilizes its military can be entirely different than the Russian military's purpose.
If Starfleet isn't the Federation military, then who is?
"Just give me two seconds, alright, you mad bastard!" - Montgomery Scott, Star Trek Into Darkness