Sorting a NotesDocumentCollection by multiple field values (Show’n Tell Thursday)

I have been using Joe Littons sortCollection function with success to sort a NotesDocumentCollection by the value in a specific field name. However the function can only sort by one field value and I recently had the requirement to be able to sort by multiple field values.

Max Flodén has created a function that does exactly that: sorts a NotesDocumentCollection by one or more field values. But the code from Max uses Evaluate and @Sort to do the actual sorting – and therefore has problems with quotes in the values and apparently also a problem with large collections (see comments to his post).

So I have combined the best from the two sort functions – the sortValues function from Joe Litton that uses Shell sort and the option to sort by multiple field values from Max Flodén – to get a function that sorts a NotesDocumentCollection by one or more field values.

Update: I have updated the sort function to use a fast and easy way of creating an empty NotesDocumentCollection introduced by Peter von Stöckel.

Update November 21: During testing I found an unnecessary loop in the sortCollection function. I have therefore updated the sort function.

Update December 9, 2011: The function is now available on the new OpenNTF XSnippets site.

Lotus Domino and 64-bit support

Starting with release 7.0.1 Lotus Domino is supported on 64-bit versions of Windows, Linux, Solaris, AIX, and i5/OS. 64-bit enables the Lotus Domino server to address memory above 2 GB.

The current Lotus Domino server is still 32-bit based. A 64-bit version of the Lotus Domino server will enter beta testing at the same time that Hannover and Domino Next ship.

[Via dominoblog.com]

For more information on Domino and 64-bit please see the article called “The 64-bit question?” on the Lotus Notes & Domino pages and the FAQ on the Lotus Domino support pages.

Technorati tags:

Domiclipse 0.2.4

Domiclipse 0.2.4 has been released.

“Domiclipse Java is a plugin for Eclipse which allows you to replicate your Java agents and script libraries to the Eclipse environment and then replicate changes back to Domino.”

Update: Ben Poole has posted a short “review” of Domiclipse 0.2.5 – with comments from Keith Smillie himself from the Domiclipse project.

Technorati tags:

LAUNCH – The Movie!

On October 3rd IBM will be launching a number of SOA announcements. To create a lot of buzz around the whole SOA thing a very interesting trailer to an upcoming movie has been released.

So check out the awesome trailer to the upcoming movie called LAUNCH!

According to comments to the trailer on YouTube the short film will be released on October 9th.

Was that Morgan Freeman appearing in the trailer?

Technorati tags:

Tutorial: Design SOA services with Rational Software Architect

A new tutorial called “Design SOA services with Rational Software Architect” has been posted on developerWorks. The tutorial is part 1 of a series and “you will learn about the relationship between a set of tools in the IBM® Rational® Software Development Platform that you will use as you design an SOA-based service using Model-Driven Development (MDD). You’ll see how to access requirements from different sources, use a customized software development process, and then start to model a design for the required service”.

Rational Software Architect V7.0 open beta program

You can now preregister for the Rational Software Architect V7.0 and Rational Functional Tester V7.0 open beta program. The beta program is set to start in October 2006.

From the press release:

“Clients participating in the beta program can experiment with new and improved features that help implement service oriented architectures, systems development, and geographically distributed applications.”

New features in the upcoming Rational Software Architect V7.0 includes:

  • Easier installation experience
  • Improved Web Diagram editor
  • Improved C++ support
  • Expanded unit testing, with WebSphere® Application Server V6.1
  • Improved Web Security tools
  • New team modeling capabilities

Since the release of Rational Software Architect (RSA) V7.0 is getting closer we should expect Rational Application Developer (RAD) V7.0 to be released soon also.

Update December 2006: Rational Application Developer V7.0 and Rational Software Architect V7.0 has been released.