logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Sebastian
    • Posted on Tue 17 Sep 2002

    Your example is using local access. Here you'll have to create the NotesThread and the Session object on every request. You can't do it in another way. Therefor the sourcecode is correct. The only thing I can see you could optimize is to change NotesThread nThread = new NotesThread(); nThread.sinitThread();

    to

    NotesThread.sinitThread();

    That has the same effect, but you don't need to create an object instance.

    Have a look here: http://www.advisor.com/article/balab03 There are the two different access methods(local and remote) explained in detail.

    Cheers, Sebastian

    http://www.sebthom.de

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: