Where to include jaxb.properties file? -


i have rest (jersey) webservice makes use of data objects marshalled/unmarshalled to/from xml. data objects in separate project/jar webservice war depends on.

i'm using moxy jaxb implementation since i'm deploying glassfish , that's included. know need jaxb.properties file set jaxb implementation moxy entry:

javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.jaxbcontextfactory 

the question is, should jaxb.properties file included in data object jar or in webservice war or both?

you package jaxb.properties file model classes. glassfish not include moxy bundle yet, can add easily. check out blog more info:


Comments

Popular posts from this blog

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

php - Change action and image src url's with jQuery -