why we are using back end in java program.