Re: Operating document scanner from JSP page
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Mon, 31 Oct 2005 03:13:23 GMT
On 29 Oct 2005 14:44:22 -0700, "John F." <hikenboots@xxxxxxxxx> wrote,
quoted or indirectly quoted someone who said :
>If a user has a need to scan a document and upload it, is it possible
>for the client computer to operate an attached TWAIN scanner directly
>via a jsp page (server from a jboss app server)? If anyone has crossed
>this before, I'd love some advice.
Presumably you can get at the twain driver from C++ and you have docs
and a driver to do that. So some of your JNI choices are:
1. write a Java wrapper around every Twain function and do your work
from Java.
2. write a custom getDocument in C++ and invoke it is Java. It is not
general purpose.
3. Invent a higher-level interface for Java, pass the parms to C++ and
do the lower level twain stuff there.
My preference would be for (3) unless it turned out that Twain was
higher level than I would expect.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- Prev by Date: Re: Check out the new SPAMMER
- Next by Date: Re: display a grid with struts/tiles?
- Previous by thread: Re: Javadoc in JCreator
- Next by thread: Re: Javaholics
- Index(es):