Bob Balaban's Blog

     
    alt

    Bob Balaban

     

    "Programming Domino With Java": Chunk the Second

    Bob Balaban  November 9 2011 04:28:19 PM
    Greetings, Geeks!

    Here's the second installment of the book. Thanks again for all the positive feedback.
    The first installment can be found here

    All of the book content (as is all of the content on this blog) is Copyright 1998 and 2011 by Looseleaf Software, Inc. You may not reproduce or distribute the book's content without permission from me.

    Some Caveats and explanations:

      - This book is now 12 years old. There are lots of things in it that are amusingly dated, even laughable. One example: the absurd emphasis on Java Applets. They died an unlamented death due to bloating a long time ago, but at the time I wrote the book, they were a hot technology.
      - The formatting is not exactly as it first appeared in the book, and some of it is downright awkward. Sorry! The publisher converted the original files to Word for me, perhaps they forgot to select the "high-def" option.
      - The Java package described in the book (lotus.notes) was superseded by lotus.domino in R5 (1999? I think). The methods are all mostly the same. Of course, IBM have added lots more classes and methods than existed when the book was written. Also, the "recycle()" method had not yet been invented in Domino 4.6, so the memory issues that call addresses are not really covered.
      - The figures (screen shots and so on) referred to did not make it into any file format I can deal with, so I had to leave them out. Sorry! The code samples are mostly there, and I'll also post all of the files that were on the CD that came with the original book.

    This Installment


    I'm including 3 chapters in this post:

    Chapter 3 (NOI Part 2) -- was supposed to be in the previous posting, but ooops. Sorry: Chapter 03.pdf

    Chapter 4 (NOI Part 3): Chapter 04.pdf

    Chapter 5 ( Yes! You guessed it...NOI Part 4): Chapter 05.pdf

    Don't worry, the chapter titles get a little more inventive starting with Chapter 7.

    Release Notes


    Chapter 3:
    Page 98, All of the "Item.appendXXX" method names should have capitalized "Value"

    Page 113, discussion of "auto-update", it describes how you can use getNextDocument(), etc. "That'll work okay". It won't work ok, it'll potentially cause an infinite loop. Ooops.

    Page 117, Listing 3.6, the "for" loop starts an index at 0, should be 1. Same for the loop on Page 118 as well.

    Page 119, mentions a property on View named "IsHierarchical". There is no such property (or at least, there wasn't in 4.6)

    Chapter 4:
    No bugs!

    Chapter 5:
    No bugs!

    Enjoy! More soon. Geek ya later

    (Need expert application development architecture/coding help?  Want me to help you invent directory services based on RDBMS? Need some Cloud-fu or some web services? Contact me at: bbalaban, gmail.com)
    Follow me on Twitter @LooseleafLLC
    This article ┬ęCopyright 2011 by Looseleaf Software LLC, all rights reserved. You may link to this page, but may not copy without prior approval.