please refer https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html