javaBeanFactory, java bean to xml or xml to java bean