|
On Fri, 11 Jan 2002 09:18:26 -0000 "Price, Chris" <chris_price@nsb.co.uk> wrote: > This message is in MIME format. Since your mail reader > does not understand > this format, some or all of this message may not be > legible. > -- > [ Picked text/plain from multipart/alternative ] > Apologies if I'm barking up the wrong tree again Brad, > > >From your earlier comments, I assume you are running on > a PC accessing a > local Access DB. So I guess you are doing something like: > > * Open a dos window, and run the endless loop program by > running the "java" > command. This runs forever, so never returns to the > command line. > * Open a second dos window, and run the second program, > again by invoking > the "java" command. > Correct so far? > > If so then your test doesn't seem to work because each > time you run the java > command you are invoking a new JVM, with it own set of > static variables. For > get the kind of response I think your looking for, both > "programs" would > need to be invoked from within the same JVM, perhaps as > separate threads. > > Chris. You got it Chris. Makes sense. Thanks again! Brad www.bvstools.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.