Blog Archives

Getting To The Java Roots of XPages – Part 14

Adding additional methods to an existing class by extending it is not the only thing that you can do with Extends. You can also override existing methods in the extended class. In our StaffInfo class the getInternetAddress will return a

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 13

In todays part I’m going to talk about Extending a class in Java. The concept is very simple, There is an existing class that does 90% of what you need it to do but your application needs some extra functionality

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 12

So following on from the last part I now have two packages in the scary.java.demo package, StaffInfo and AboutMe. Both of these classes do pretty much the exact same thing, AboutMe goes to the nab and gets your information while

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 11

So far I’ve been dealing with a very simple class which just gets the current users information from the NAB, While this is useful wouldn’t it be better if I could get this info for any staff member? To do

Tagged with: ,
Posted in None

Getting To The Java Roots of XPages – Part 10

If I wanted to add some more methods to my class to get additional details it could be as easy as duplicating the code I already have and end up with something like this for each method. public String getMyIFirstName()

Tagged with: ,
Posted in None

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
Archives