How can I embeed Java program

Hi everyone I just want to ask on how can I embeed my program to my website that is made through java netbeans ?.