Basic Java session.