Deploy on save/publish on save in Eclipse

I am using a remote Glassfish server and Eclipse published my web app every time when I saved or created any file. Publishing was very slow. I found this to disable auto deploy/publish:
1. In Eclipse menu click “Window->show view->servers”, it shows your servers.
2. RightClick on server -> Open
3. Expand tag Publishing, click on your choice and save it – ctrl+s