Order depends on two things:- russion doll packaging (you can have a jar and a war in a ear)- order of extensions, which is SAR, RAR, *ds.xml, *service.xml, JAR, WAR, WSR, EAR, ZIP, BSH, last