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?
"...the most elementary and valuable statement in science, the beginning of wisdom, is I do not know." - Lt. Commander Data, "Where Silence Has Lease"