Blog Archives

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

Getting To The Java Roots of XPages – Part 2

You may be asking yourself why you even need to care about Java when it comes to your XPage applications, your xsp file is converted to java and then compiled and ran on the server when called by the browser.

Tagged with: ,
Posted in None

Getting To The Java Roots Of XPages – Part 1

If you have been developing XPage applications you have been developing in Java even if you didn’t know it. When your web browser hits a .xsp url it is not receiving the xsp file that you have written in DDE,

Tagged with: ,
Posted in None
Archives