adding project based samples for Java