The
Java Media Framework can access a camera. Of course, you have to set up JMF on the client first, plus enable camera capture (it's a security risk to allow untrusted apps access to the camera).
I don't think the JMF has been updated in quite a while, so you may want to do some research before diving in.