Pensieve Header: JavaView experiments; more at pensieve://2004-03/ and at pensieve://Classes/0405-1300/.

SetDirectory["C:\\drorbn\\AcademicPensieve\\Projects\\AcademicPensieve"];
<<JavaView`JLink`
InstallJavaView[];

cube = Graphics3D[Cuboid[{5,2,1}],PlotLabel->"Cuboid"]

JavaView[cube]

WriteHtml[cube, "..\\..\\..\\..\\..\\..\\..\\drorbn\\AcademicPensieve\\Projects\\AcademicPensieve\\cube.html",
Codebase->"C:\\Program Files\\Wolfram Research\\Mathematica\\8.0\\AddOns\\Applications\\JavaView\\", PathToArchive->"Java\\"]