on 03-26-2010 11:36 AM
Hi,
I have a requirement to create the xml file based on context data and in the later stages, I will be using this xml file to load the context data.
Please let me know if anybody has come accross with same scenario...I am working on CE 7. And please advice me which parser I need to use DOM or SAX.
Regards,
Patana
Hi,
You need to transfer data from context to a Java Bean Model.
/people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes
No need for EJBs. In the java bean model you can define business methods and in these methods you can use any parser methods to create\read\modify xml files.
You can try JDOM which is very simple to use. This link has a good example.
http://www.ibm.com/developerworks/java/library/j-jdom/
Regards
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.