Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

other than Jtwain

 
Nesrin aboud
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

thax alot
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a diffrent solution

Why? What's the actual requirement? TellTheDetails
 
Nesrin aboud
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so can you suggest a way to keep image bytes save and in the same time keep performance
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer thank you very much
I made this solution to keep files thread safe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic