I'm looking for a solution to capture the image from webcam and microphone,
in pure java without any 3-part applications.
By '3-part' do you mean '3rd party'?
For the microphone capture, look to the classes of the
For webcam capture, about the only tech. (supplied by Sun)
that could do it would be the JMF. Unfortunately Sun
abandoned it a long time ago, so it doesn't support a lot
of the latest webcams. If you are looking to support a
known set of webcam types, it might be OK, but I would
expect it is unfit to distribute to end users as a general
solution to access their (random) webcam.