JAXB under Netbeans 8.1

"ctajuggler" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hi,

I have a netbeans platform application project which requires marshalling/unmarshalling java classes to/from xml. I am using the JAXB interface to acheive this. My application has three modules.

Does anyone know if it's possible to marshall a class in module A that is an extension of an abstract class in module B?

The critical line in a marshalling operation would be something like:

String packageList = "moduleB.abstractclasspackage";

JAXBContext context = JAXBContext.newInstance(packageList, moduleAClass.class.getClassLoader());

I'm basically having trouble getting the dependencies listed correctly in packageList.

Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.