Creating Domino agents with Netbeans
Introduction Netbeans is an open source IDE, that is created and executed in a Java environment. It is a flexible and powerful IDE, and if you are tired of the lack of debugging capabilities for Java...
View ArticleStringUtils class in Java
Goodies like explode, leftback, rightback, switchcase, implode, middle, trim, unique etc. can be found in this utility class. The Commons Lang project at Apache Jakarta also has some really great...
View ArticleJava versions in Lotus Domino and Notes
1.0 to 3.x: N/A 4.5 to 4.6.7a: JRE/JDK 1.1 5.0 to 5.0.13a: JRE/JDK 1.1.8 6.0 to 6.5.6: JRE/JDK 1.3.1 7.0 to 7.0.3: JRE/JDK 1.4.2 8.0 to 8.0.1: JRE/JDK 1.5.0 IBM also has a list of supported JDKs and...
View ArticleString to InputStream
Arguments in many methods in the Java APIs are of the type InputStream. This is how to get an InputStream from a String, where argument to getBytes, UTF-8, is the encoding to use: InputStream is = new...
View ArticleEcho XML from a file, String or InputStream in Java with SAX
Here is an example how to use the XMLEchoer class, that I have refurbished from Sun’s tutorial Echoing an XML File with the SAX Parser. It is of limited use, but can be a good start learning SAX....
View ArticleRemove characters in a Java String
Here is a simple method (actually two) for removing multiple characters from a String: /** * Removes the specified characters from the supplied String. * * @param s the String to remove characters in....
View ArticleSammanfattning av Lotusphere Comes To You
.inlineImageContainer {float:left; margin-right:10px;} H4 {padding-bottom:0px; margin-bottom:0px;clear:both;} P {margin-top:0px;padding-top:0px;} Detta är i korthet vad som sades under halvdagen den...
View Articleg33k date
I was a key speaker at the first g33k date ever yesterday, and it was Ekakan that held the meeting in their small but great office at Saltmätargatan in Stockholm. Quite a lot showed up, many of which...
View ArticleManaging logging with Log4j and Chainsaw
Those of you who haven’t used System.out.println(“My variable: ” + myVariable) in some Java classes to get debug information to the console, raise your hands please. None? ;-) I am very fond of logging...
View Article