Is not necessary indeed. You use it if you want to avoid jaxb to put something strange in your code like ns2 or whatever. If you don't like to see strange things in your xml you should put package-info.java in your packages to clearly define things: eg the namespace.
here's a clear example of what i mean Jaxb generated xml - problem with root element prefix