Very often , applets are written in Java .
However , the term typically also refers to Java applets , i.e. , programs written in the Java programming language that are included in a web page .