Entries for the ‘Tech stuff’ Category

Domino Linux startup script – Addon

An error has come to my attention. Linux startup script for domino does not work by default. Instead it returns an error in a form of: “tty is disabled during system start up”. What you can do, if you have sufficient rights (otherwise, ask your admin to do it), is to add the following line […]

Installing Sametime Gateway 8

A long time ago, at work, we decided that since we have a working Sametime environment, we could top that and also install Sametime Gateway and thus connect our Sametime community to other IM communities like Yahoo and Google Talk.

Securing Web Services

Last week I wrote my first web service (yay!). I am not going to write about that, as process of creating web services is nicely described at IBM developerworks. But, back to my service. The service is used to do some work that only my consumer application should be able to do. However, due to […]

Design patterns – Part 3: Singleton pattern

The simplest way to describe singleton class is to look at the definition: The Singleton Pattern ensures a class has only one instance, and provides a point of access to it. So why would you need that? Well, there are many objects you only need one of in your application (e.g. Logging, text trimming, for […]

Domino Linux startup script

As mentioned last week, you need to write your own shell script to start and stop domino on system start-up/shutdown. There is a great draft of the script on SearchDomino site. I did some remodelling so that the script would start Notes with Java controller and would fit our system. The code is pasted below.

Upgrading Domino running Sametime to 8.0.2 on Linux platform

One of the Achilles tendons for Domino thus far, has always been Linux release. There is not many users, not much of documentation, installers don’t always run without meddling with the code and you have to write your own code to start and stop Domino on system start/shut down. So why use Domino on Linux […]

Design patterns – Part 2: Decorator pattern

For those, skilled in Java development, Decorator patterns are nothing new, as they are quite common in Java, i.e. FileInputStream with it’s decorator BufferedInputStream class. The definition says: The Decorator Pattern attaches additional responsibilities to an object dynamically. More theoretical background can be found on Wikipedia.

Design patterns – Part 1: Strategy pattern

One of the simplest and most commonly used patterns is definitely strategy pattern. We cannot pass a boring definition, so here you go: The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy algorithm vary independently from clients that use it. You will find out that all strategy pattern […]

Design patterns and LotusScript

Design patterns are here to ease work to us developers. They present already made solutions to known problems. I will not go into philosophical debate about why they are practically not used in LotusScript. Instead, in future articles, I will try to present basic design patterns translated to LotusScript. For those that are already interested […]

Transaction logging class for Google Analytics

At work, we are using Google Analytics tool to monitor user behaviour on our web pages. One of the things we really desired in earlier versions and is now finally available is e-commerce transaction logging. This extension uses passed data in many cool ways, creating several impressive reports (e.g. how many times a user visited […]