I would distract him with a toy. If this doesn't work, keep the spray-bottle ready: everytime he bites, spray water on him.

But like I said, I would try the "gentle" trick-with-toy first