storage of java/scala program