Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Why can't you ... (WAS: Database access from another class - Java)
~Umberto Nongeroson 2.Oct.03 07:11 PM a Web browser
General All Releases Windows 2000


Not bad, Ben. That has all the elements that make for a decent GUI based Java Agent. The only think I would change is remove the NotesThread.stermThread() call. In essence, the JVM starts the AWT thread as needed and it lives for the life of the JVM. If you do an init/term each time, you are going to see a perfornace problem. So just do the init each time, it only really does something the first time through, everytime there after, it's pretty much a no-op with some call overhead. If you leave the stermThread() there, each time init is called it has to reinitialize Notes on that thread. If you want to you can do an stermThread() on the window closing event.

--Joe

Joseph Millar
Principal Software Engineer
Brightline Technology




Database access from another class ... (~Joseph Brenite... 30.Sep.03)
. . RE: Database access from another cl... (~Delores Dwonic... 30.Sep.03)
. . . . RE: Database access from another cl... (~Joseph Brenite... 30.Sep.03)
. . . . . . Why can't you ... (WAS: Database ac... (~Delores Dwonic... 30.Sep.03)
. . . . . . . . RE: Why can't you ... (WAS: Databas... (~Dan Zekpone 1.Oct.03)
. . . . . . . . . . RE: Why can't you ... (WAS: Databas... (~Joseph Brenite... 2.Oct.03)
. . . . . . . . . . . . RE: Why can't you ... (WAS: Databas... (~Dan Zekpone 2.Oct.03)
. . . . . . . . . . . . . . Additional comment re loop (~Delores Dwonic... 2.Oct.03)
. . . . . . . . . . . . . . It works ;) (~Joseph Brenite... 2.Oct.03)
. . . . . . . . . . . . . . RE: Why can't you ... (WAS: Databas... (~Naomi Nimkitex... 2.Oct.03)
. . . . . . . . . . . . . . . . Thanks Joe, that's useful to know! ... (~Delores Dwonic... 2.Oct.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS