if i develop a application in Developer 6i and want to run it on Browser..........what exactly i need to do

secondly can i generate Java Code for that application using Developer 6i............