Late yesterday Jesse Gallagher released version 2.0.0 of OpenNTF Domino API (ODA). It’s been a while since the last release, even the last release candidate, but after some structural challenges, we’re back on track.
The release has also prompted some related releases of my own. I decided to package up OsgiWorlds as its own project. This is a bunch of Java files that allow a Vaadin OSGi application to interact with Domino via ODA, as well as including wrappers for e.g. ViewEntries, Calendar View Entries and Documents. The last of those is an extension of Tim Tripcony’s excellent work on a Document wrapper for XPages for NotesIn9 (part one, part two, part three and part four). It’s been the basis of the Key Dates OSGi application I’ve started a blog post series on (which I will be picking up shortly) as well as the Domino version of the new OpenNTF Domino API application.
And, on that topic, the first version of that application is also available on OpenNTF (yes, on reflection, muscle memory got to me on this one because there is no database in the project, just a web application!). There are two flavours – one that runs as a Domino OSGi application and one that runs on CrossWorlds. (I will be looking at setting up CrossWorlds in the near future to give instructions, if a new release is not out in the mean time.) The demo application includes code to generate the backend databases from the Extension Library demo database. It expects this to be at extlibnew/xpagesext.nsf and will, by default, create 10 instances of it in odademo_osgi folder for the OSGi app or odademo folder for the CrossWorlds app. Changing that path is easy for those used to web application development from CrossWorlds, but because the web.xml file is part of the compiled code in the plugin of the Update Site, it’s a bit harder to do for the OSGi version. The application also accesses those applications via a specific username, “Mickey Mouse/Disney”. You don’t need to add that user to your directory, but */O=Disney (or CN=Mickey Mouse/O=Disney) will need access to the server, if any restrictions are in place, and will need at least Editor access to that Extension Library Demo database. It’s also worth mentioning that currently only the Session, Database and XOTS pages are completed. If you are interested in helping out with the further development of the application (I’ll be taking a month or two off from it for other projects), by all means let me know. Although it’s built using Vaadin, it’s not rocket science and most confident XPages developers would probably be able to add pages without too many challenges. If you want to learn more about Vaadin and maybe win some prizes, there is a joint Vaadin and IBM contest going on until the end of November, aimed specifically at those who haven’t tried Vaadin yet.
For those interested in the source code, it’s available on GitHub or OpenNTF’s Stash:
STOP PRESS: it looks like Rene Winkelmeyer is well on track with a perfect 100 points from the first four tasks!