Regarding the CDDL and Jukka's posting:
As far as I understand the CDDL, your're not required to publish your proprietary software in source code form! Reason:
Section "3.1 Availability of Source Code" refers only to "Covered Software" and that type of software is:
1.3. Covered Software means (a) the Original Software, or (b)
Modifications, or (c) the combination
of files containing Original Software
with files containing Modifications,
in each case including portions
thereof.
In other words: "Covered Software" is the "jar" released under the CDDL and any modifications on that "jar", if there are any. Software that is just using this "jar" in the classpath is mentioned as "Larger Work" and therefore must not published in source code form.
HTH
Stephan