Hi,
(this question would be more appropriate for users_at_jaxb.java.net.
When you create a JAXB context with context path (i.e. package names),
JAXB needs to know which classes should it load/map. There are mainly
two ways to achieve this: ObjectFactory class and a jaxb.index
resource. Normally XJC generates the ObjectFactory, you don't have to
generate or jaxb.index at all.
Bye,
/lexi
On Fri, May 17, 2013 at 10:49 PM, Михаил Зайцев <flashed_at_mail.ru> wrote:
> Hello! My name is Mikhail. I'm using JAXB in my projects. I wonder why you
> use jaxb.index file? Why create this file?
>
> Thanks.