javaBeanFactory, javaBean to xml or xml to java bean