https://www.kingsware.de/2011/03/31/script-your-remote-session-beans-with-groovy/
Script Your Remote Session Beans with Groovy