both java and grails