And the "hostile" country was a country of german people of the who didn't want anything more than to live on the other side of the wall
Yes, that's exactly the situation around Gaza, except the Israelis are not German.
The Wall was to avoid people getting inside into your area not to keep you out, thats a very big difference.
Yes, that is a big difference. While East-Germany _claimed_ that the wall was supposed to keep fascists _out_ of East-Germany, it was really to keep East-Germans _in_.
Israel's wall is indeed supposed to keep fascists out. And it works.
You compare apples and orang-utans here.
That was my point exactly. But the main difference was simply that _we_, the people of West-Berlin, did _not_ try to exterminate East-Germans (or Russians) and didn't attack East-Germany.
The Russians were well-prepared for an attack, but we never did.
That's how an occupation can work.
But it required me to learn the three things listed.