Powers of Army Chief & Blue Book

If the two are different things then why does officers of armed forces take an oath on constitution?

And is constitution a hinderance to defence of the country? if yes which things in constitution make it difficult for army to defend the country?