Blog Archives

Getting To The Java Roots of XPages – Part 9

In the last part we looked at recycling domino handles in java but I mentioned that the class has some other serious issues. The biggest problem that I see now is that every time the getMyInternetAddress method is called it

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 8

Anybody who already knows java probably took a look at the java class that I created in the previous parts and saw all kinds of mistakes. This was done on purpose. If I had of shown a bigger java class

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 7

In the last part we setup our bean as an unmanaged bean by creating a DataContext and creating the bean in there. To make things even easier you can create what is known as a managed bean. Basically you setup

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 6

So we now have a java class that can be used as a bean. From a java point of view it is still just a java class, the bean bit comes into play over on the xpage side of things.

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 5

So in the last part we looked at how to call our new java class from ssjs but that still introduces a tiny bit of overhead as the ssjs interpreter is called to kick off the java code. To avoid using SSJS

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 4

So in the previous part we wrote our first bit of java code, a method ( getMyInternetAddress) in a class ( AboutMe ) in a package ( scary.java.demo ). So the question remains, how do I actually use that in

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 3

So here is the SSJS used in the previous part that gets the current users internet address from the addressbook. This is not an example of best practice for writing ssjs, I have purposely made it long-form so I can explain each

Tagged with: ,
Posted in None
Archives