Hi all
I want to know if there is options to connect an applet to the installed scanners rather than Jtwain jar and its dll file
I need a diffrent solution
I want to create an applet that can connect to scanners , scan the pictures and save them to the a folder ,
but I need to check other solutions , if anyone know other solution please let me know
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32421
posted
0
It's hard to make other suggestions if you don't tell us why the one you already found is deficient. Its obvious drawbacks are that it requires the applet to be signed, and that it will only work on Windows, but those may both be acceptable in your context.
Nesrin aboud
Ranch Hand
Joined: Feb 08, 2010
Posts: 38
posted
0
I worked with Jtwain and tried to connect the applet from several PCs, I tried to scan different papers on each PC in the same time , the images appeared at the end destroyed , I mean each paper in the upper half is right and the lower half is of another picture scanned on the other PC, there is a conflict in bytes of scanned images as I think,
another issue was, when I made the part of code synchronized that collect the bytes of each PC, a performance issue dropped the application down
This message was edited 1 time. Last update was at by Nesrin Abdulmaksoud
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32421
posted
0
That sounds like a concurrency issue on the server side, not anything to do with the applet and/or scanning on the client side.
Nesrin aboud
Ranch Hand
Joined: Feb 08, 2010
Posts: 38
posted
0
so can you suggest a way to keep image bytes save and in the same time keep performance
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32421
posted
0
Not without knowing how exactly the server-side processing works. All processing must be handled in a thread-safe way, but how that might be accomplished while maintaining some degree of concurrency is highly dependent on the circumstances.
Nesrin aboud
Ranch Hand
Joined: Feb 08, 2010
Posts: 38
posted
0
Ulf Dittmer thank you very much
I made this solution to keep files thread safe