Get barcode into an application when using Voyager MS9540

I’m using Voyager MS9540 barcode reader to detect barcodes and this code appears on the MS DOS prompt. I need to get that ID into my web based application. The barcode reader is attached to the keyboard port. so I think it should be got using keyboard input. To do that I need to write a java bean. I don’t have good idea about that. Please help me.

i am madhu , how r u
I think u got the answer for u r problem,
I am also facing the same problem in our project.
if u dont mind please send me the information .

thanks in advanse