More a matter of which side of the Potomac than which side of the aisle.
Eisenhower's reference to the Military Industrial Complex in his farewell speech, three days before Kennedy's accession, and the same day the CIA killed Patrice Lumumba in the Congo, was his bold attempt to reverse a terrible thing he had discovered in the last three months of his government, after waiting several years for an answer.
In Tim Weiner's awesome book "Blank Check", this critical sentence occurs (p. 37):
"The President did not know -- because he was not told -- that the military planned an automatic and total escalation to nuclear war anytime that U.S. and Soviet soldiers clashed. Once that tripwire was triggered, once the war began, there was no way to control it. Presidential control of nuclear weapons had become a convenient fiction."
The succeeding three years saw Jack Kennedy pulling 180° opposite to the War Party, making peace with Khrushchev and Castro behind the scenes, while the military railed at him for "losing" the chance of nuclear confrontation (see the new book, "JFK and the Unspeakable" by James Douglass).
But remember, the CIA, the mob, the Cuban latifundist exiles, and especially Dick Nixon and his mentor Allen Dulles, were at the core of all these evils.