Prepared controllers methods to be accessed from JAVA