Hi Ayari, your code works.
You only must define width and height of your "map" div. Try:
<div id="map" style="width:100%; height:100%;"><div>
If you achieve a layer tree panel, legen panel, get info feature pop up tool or a pint tool, please show me how.
I tried to use OL with Extjs4 but i dont know how mix both correctly.