How can i capture and transmitt and recieve audio and video using jmf ?

Is is possible to provide gui to clients on applet and make authentication mechanism and database connection aur user credential through java servlet?

How can i provide feature of adding friends and showing online status of friends which are online ?

Please help as soon as possible

Thanks in Advance