This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

check scanner

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Friends,

My company Bought a check scanner which has only a c++ driver.

There is only a jar file and there is no event handler or even JavaScript source code. I should communicate with this scanner in java web application in the shortest time.

I think the only way could be "web service" but without any events handling how cloud be possible? Is there any idea or solution?

Thanks in advance
 
Saloon Keeper
Posts: 5710
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So this scanner is attached to a client computer where the web app runs in a browser? If so, you'll need some native code for the web page to interact with the device, and that code needs to break out of the browser sandbox - possible ways to do that would be Java applets (obsolete and not recommended), Flash (also on its way out) or Microsoft technologies like ActiveX or Silverlight that limit you to IE/Edge on Windows. Browser plugins may also be a way to to this.

I recommend to consult the documentation of the device to see what they have to say about interfacing with it; there should be code examples as well.

Web services do not sound like the right approach for this.
 
mahtab tabrizi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Dear Mr. Moores

Thank you so much your reply was very helpful.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!