Chapter 15. XPages Unplugged and Debugged

A dedicated chapter on debugging is perhaps the most fitting way to conclude this section on programmability. After all, you are now well versed with the XPages programming model and have worked through many practical development examples using the XSP markup language, JavaScript, Java, agents, and so forth. Now is the perfect time to learn what to do when things are not working out according to plan.

Because XPages is a server-side application development framework with JavaScript as its default programming language, it makes sense to start these debugging excursions with server-side JavaScript (SSJS). You then move from debugging JavaScript to debugging Java, and finally move to the flip-side of the ...

Get Mastering XPages: A Step-by-Step Guide to XPages Application Development and the XSP Language, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.