Hi, As far as I know, It is not possible to write device driver using java. Because writing Device Driver is low level programming task and one need to interact with hardware constantly. To achieve this, language must have ability to address arbitrary locations in memory and Java does not have that capability. This is based on my knowledge. It could be wrong too.
If you want to become a rich, do not work for others but make others to work for you.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com