Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2249

Re: Need guidance using threads for a barcode scanner application

From markspace <-@.>
Newsgroups comp.lang.java.help
Subject Re: Need guidance using threads for a barcode scanner application
Date 2012-11-09 12:58 -0800
Organization A noiseless patient Spider
Message-ID <k7jqos$98c$1@dont-email.me> (permalink)
References <4214672f-b94f-4190-8414-21351b2ca087@googlegroups.com>

Show all headers | View raw


On 11/9/2012 12:17 PM, kedward777@gmail.com wrote:

> I am writing a simple java mobile application that runs on a handheld
> motrola bar code scanner using java 1.4 (NSI CrEME CDC).

>
> After googling, I seem to believe I need to create the GUI in a
> runnable object,


Well, as you're running Java 1.4, you don't really have a well-defined 
memory model.  The need to run gui's on the EDT exclusively didn't 
happen until they tightened up the memory model and found issues unless 
they did so.

So the first thing I think is to contact the manufacturer and ask about 
the memory model they are using.  It might be "none at all" or something 
similar, which will obviate most concerns about object visibility (which 
is mostly what the new memory model is about).  If there are explicit 
memory model concerns then the manufacture can spell them out for you.

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need guidance using threads for a barcode scanner application kedward777@gmail.com - 2012-11-09 12:17 -0800
  Re: Need guidance using threads for a barcode scanner application markspace <-@.> - 2012-11-09 12:58 -0800
  Re: Need guidance using threads for a barcode scanner application Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-09 16:28 -0500

csiph-web