modified HTML source:

<embed  src="CreateSphereEaiJava.wrl" height="300" width="300"/>
<object class="CreateSphereEai.class" codetype="application/java"/>

modified Java source: CreateSphereEai.java


original HTML source:

<embed src="create.wrl" height="300" width="300">
<applet code="create.class" mayscript height="1" width="1"></applet>

original reference: http://www.web3d.org/technicalinfo/specifications/ISO_IEC_14772-All/part2/javaBind.html#Examples