you're right. towers are your friend too. i'm not sure if the AI builds only one barracks though. i have 2 and the AI usually has as many men as i do
i should probably make a replay to find out. the AI is very inept against towers though
towers totally decimate the AI.