I need to connect physical scanner device and send scanning request then get the image. I got it by using asprise-imaging-core.jar but unfortunately its not free
Morena seems to be a free Java TWAIN library for non-commercial use (I haven't used it).
Also see