Hi, I'm an experienced Java developer, and I'm interested in your project.
It may need face recognition, and then isolate the corresponding color channels to measure heart rate. Interesting idea, but I have to do some experiment to see if it really works.
What operating systems are you targeting? For Java applet to access local camera, some native libs may be required.