Hi,
> All of the JAXB code samples I've seen so far have licenses saying
> developers need to apply either the GPL or CDDL license to their code if
> they derive it from the samples.
My projects are under BSD-style license:
http://confluence.highsource.org/display/HJ3/License
> If I develop a web app or an applet that
> uses JAXB, and I use some of the samples as starting points for accessing
> the JAXB API, what do I need to do so that I comply with the license?
> Do I need to release my source code? Is so, which parts? My entire program will
> not be derived from JAXB samples.
I thinkthe question is how the verb "derive" must be understood.
My point of view (non-legal, of course) is that if you browse through
source code of samples an gain experience on JAXB usage, your source
code is not necesserily derived from JAXB source code.
Over the past few years I've learned a lot of things from JAXB RI and
accompanying projects. I dug the source code of JAXB and XJC all the
way through, used it in a great number of projects, but I do not think
any of my work is "derived" from JAXB and I have never seen myself
obliged to release any of my source code to comply to JAXB licensing.
Bye.
/lexi