Initial version of java role