Java

Home » Java

Java getAllDocumentsByKey / getAllEntriesByKey Problem With Doubles

I try to avoid using the word “bug” too freely, because those who live by the word “bug” may die by the word “bug”! After all, we’re software developers whose own software may include bugs. Use the word freely and we can’t complain when others also do. But a little while ago I was battling

Java getAllDocumentsByKey / getAllEntriesByKey Problem With Doubles Read More »

OpenNTF Domino API: Understanding Listeners

Since M3 we’ve had Listeners implemented in the OpenNTF Domino API. Although there’s potential for even greater implementation of listeners through the API, they’re already extremely powerful. Think about triggering specific code whenever a document is saved from XPages. The concept is very powerful and there has been an example in the Demo database for

OpenNTF Domino API: Understanding Listeners Read More »

Method Parameters and The Importance of Final in Java

Most developers (certainly myself!) are lazy. We look to re-use code and write the briefest code we can. Sometimes it backfires! When writing a method, either in Java or LotusScript, we can often pass parameters around with little concern. I came across that some years ago with LotusScript when objects were being changed by a

Method Parameters and The Importance of Final in Java Read More »

Speaking at Engage.ug

Two weeks from now I’ll be speaking at Engage.ug, along with a host of illustrious names from IBM and the community. I’ll be speaking with Martin Jinoch about the OpenNTF Domino API. After speaking on the API solo at various user groups and during speedgeeking at IBM Connect, it will be interesting to co-host the

Speaking at Engage.ug Read More »

Back-End Developers Are From Mars, Front-End Developer Are From Venus

First of all, I’m not saying back-end developers are real men or are the only ones who have “Curiosity”! But I’ve begun to realise more and more that XPages developers are either back-end or front-end, features or look & feel. In the old days of Notes Client development, the two were so tightly coupled that

Back-End Developers Are From Mars, Front-End Developer Are From Venus Read More »

Number crunching for XPages Java Padawans

Integrating Java into XPages is not particularly challenging, once you are comfortable with SSJS. There are some gotchas around Domino objects (database.getTitle() and other such methods that return primitive values – strings, etc – still return the value even after the object has been recycled!), but those are the kinds of things the OpenNTF Domino

Number crunching for XPages Java Padawans Read More »

If You Write Java in XPages, Get FindBugs

If you’re coming to XPages from traditional Domino development, it’s a bit of a steep learning curve. But once you’ve got comfortable with SSJS and the partial refresh lifecycle, you should be looking to move to Java. Even though the Java compile-time validation is much tighter and avoids a lot of inadvertent errors from SSJS

If You Write Java in XPages, Get FindBugs Read More »

The Name Picker, Readers / Authors Fields and OpenNTF Domino API Helper Methods

Recently I’ve been working with the Name Picker where I was using the Name Picker to select values that would then be used for Readers and Authors fields.  I noticed that although it picks from address books, the names are stored by default in abbreviated format, e.g. Paul Withers/MyCompany rather than canonical format, e.g. CN=Paul Withers/O=MyCompany. This

The Name Picker, Readers / Authors Fields and OpenNTF Domino API Helper Methods Read More »

Scroll to Top