 The episode featured several references to war films . Several lines of dialogue , Bart slapping one of his soldiers for " being a disgrace " , and the music was lifted directly from the film Patton from 1970 composed by Jerry Goldsmith . Fox owned the rights to this film , so it was no problem to use the soundtrack . The marching sequence is a nod to Stanley Kubrick 's Full Metal Jacket from 1987 . The Longest Day from 1962 is also referenced . The silhouettes of the children climbing the jungle gym against the setting sun are a reference to Stanley Kubrick 's 1987 film Full Metal Jacket . The episode parodies the famous sailor kissing a girl in Times Square photograph taken on V @-@ J Day , where a random boy in a sailor suit kisses Lisa , before she slaps him in the face . Bart concludes the episode by stating that the only " good wars " are the American Revolution , World War II , and the Star Wars trilogy . 
