benpoole.com

“It is a very sad thing that nowadays there is so little useless information.”

Java agents

Coding a big Java agent in Domino? Do you have any control over your server environment? If so, run, don’t walk, over to Nik Shenoy’s weblog and read his post Java Agent Performance in Domino R5. Very useful, with some interesting pointers as to how the Domino Java class loader appears to function. He performed a number of tests with fellow developer Weidong Huang. Check this out:

Wei discovered that classes loaded via the JavaUserClasses statement having static members are cached across agent calls.

Useful to know eh! But watch your threads...

Posted at 09:19 on 04 Mar 2004  |  Categories: See other weblog entries under the 'Notes and Domino' category See other weblog entries under the 'Java' category  |   (3 comments)




Comments

  1. What a fab blog .. cheers ben
    on 04 Mar 2004 by Spug-a-hoola (#)
  2. But wait, there’s more! Nik has coded a Lotusscript take on JUnit:

    LSUnit
    on 04 Mar 2004 by Ben Poole (#)
  3. Hey, thanks for the plug, Ben. I haven't ever had that many people visit my site in a single day [smiley smile]

    And yes, I do have an implementation of LSUnit. It's slightly different from the JUnit implementation, mainly because LotusScript doesn't do reflection, but it seems to work. I'm still working on an example, which will hopefully be posted in the near future.
    on 05 Mar 2004 by Nik Shenoy (#)










(HTML OK. Line breaks & links converted, so don’t use anchor refs)