add structure java applications