Stammer was a student of Paul Buchner (1886–1978), the director of the zoological institute of the University Greifswald.
Stammer fellowed Buchner to the University Breslau, where he began doing research in the field of ecology.
As an ecologist and zoologist he was interested in unusual and small habitats, which were only poorly studied or completely unknown concerning their biodiversity.
Besides free living and non-parasitic organisms, Stammer also made research in the field of parasitology.
The evolutionary biologist Günther Osche started his career with a nematode-research (genus Rhabditis) having Stammer as his scientific supervisor .