java/scala mixing project;