In JAXB when using automatic class generation via xjc from xsd scheme.
alpha.xsd
If namespace of person from A will be equals namespace person from B, that xjc has to generate the correct classes.
person