compare behaviour .ear and .war