Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Nils Myklebust — — source: Informix-list mailing list archive (1991-1998)
On Thu, 23 Apr 1998 19:46:01 -0500, Michael Segel
<Mikey@NOSPAM.King.of.mydomain.MAPSON.Segel.com> wrote:
>Ducks Kim wrote:
>
>> Anybody who knows how to make multiple connection to the ODS concurrently
>> help me.
>> Application uses java or esql/c.
>>
>
>There are two ways of doing this using esql/c.
>You can use threads() or fork().
>
>Use of threads means you need to use thread safe libraries.
>Using fork() you need to deal with IPC messaging between children
>and parents. (Or you could use shared memory for communication
>between children.)
>
>-Mikey
And if you use Java you simply create any number of connection objects
you want and use them in a single or multi treaded application as you
wish. Very nice for simple things like filling a list from the
database while you let the user continue with other work interactively
and can be used effectively for more complex things as well.
Another reason why Java is superior to the old ways.
Nils Myklebust
NM Data AS
Norway
E-mail: Nils.Myklebust@nmdata.com
FAQ at: http://www.iiug.org/techinfo/faq/faq_top.html
(Now with ODBC info under "Third party products".)
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.