The glycocalyx is referred to as a capsule if it is firmly attached to the cell wall, or as a slime layer if loosely attached.
The capsule is the layer outside the cell wall in a prokaryote.
The capsule<>is<>the layer outside the cell wall in a prokaryote