presentation model for java