Hi all,
Can anyone tell me how to read a test or ms word file using java.

Actually i want to write a java program that reads a file and generates a
summary of that file.

Can it be done using java beans?

please help me out, im a student and i have a give an exam for this.