licensing solution for  java application