Hi Neil,

thanks for your reply.

Am 20.07.2008 um 21:37 schrieb Neil MacLennan:

Johann,

You could either use a web app or a Java Client here. Many input devices simply emulate the keyboard and so can enter their scanned data directly into a regular INPUT element on a web page. Some Javascript here could automatically submit the form to your WOApp or do some Ajaxy stuff.

I did not think of that. That would make it really easy though only on situations when the user actively uses the device. If I want to display a page and automatically fetch input data from a device is JC the only way to go? If I would want to stay with a web app (just can't afford the time to learn Swing & Co. at the moment) would it be the only solution to have something like a local web server running that can be accessed by some Ajax stuff on the page and triggers a script that in turn polls the device and returns the data? Seems like breaking a fly on the wheel for such (seemingly) simple situation.

jw

However, I implemented a GUI JavaClient App when I needed to use a handheld barcode scanner. It's remarkably simple to hook up your JavaClient EOs to the WOApp on the server in order to send your input data to it.

http://web.mac.com/flor385/eSwamp/software/wojc_tutorial.html

Florijan's page is all you need, but if you want I could probably resurrect what I did to get you started.

.neilmac

On 20 Jul 2008, at 16:47, Johann Werner wrote:

Hi list,

I am just thinking about what possibilities exist to get input data from a device that is connected locally to the client (e.g. a security card reader or a barcode scanner) into WO. An app deployed as Java Client could easily interact with local devices but what if a have a "normal" WO app? AFAIK JavaScript cannot access resources other than the webbrowser itself and I didn't find any helpful information on that matter. Did anyone solve that problem or has any insight on how it could be done? I can't imagine that this is a totally uncommon situation.

jw

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/werner%40isd.uni-stuttgart.de

This email sent to [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to