Logic-less and semantic templates with Java