Hi.
I was wondering if anybody knows how I can use JAXB together with the Builder Pattern? The builder pattern wants you to set the constructor as private, and JAXB says
"1 counts of IllegalAnnotationExceptions myClass does not have a no-arg default constructor"
Is there somehow I can tell JAXB that I don't want no-arg default constructor, and that it can create a new instance using the Builder pattern somehow?
Update I should note (even though it shouldn't be relevant) that I am using Axis 2 to generate my stub files.