finished server action migration to java 1.8, with method pointers