A. Write a java program to do the following

1. Read text files from Directory
2. Use the xml tags on the text files to
i. determine field names
ii. extract actual value
3.write details of i and ii above into a database (eg. mysql) table.


B.
i. Read the database-table fields
ii. Use the record ID of the records to write the records into
xml-based files to a given directory.


//i need a guide on the easiest way to achieve this as soon as possible, thanks.

Learn, read, study. It is the easiest way.
If you run into a problem doing your homework come back for help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.