XPages Extension Library

Paul Hannan, Declan Sciolla-Lynch, Jeremy Hodge, Tim Tripcony, Paul Withers

Mentioned 1

Use the new XPages Extension Library to build state-of-the art web and mobile applications more easily - and get them to market faster! * *The first and only complete guide to next-generation Domino development with IBM's powerful new XPages Extensibility Framework. *Begins where Mastering XPages left off: gives a loyal community of IBM Lotus XPages users crucial information on the XPages Extension Library's breakthrough capabilities. *By an all-star team of XPages experts inside and outside IBM. The XPages Extensibility Framework is one of the most powerful new features built into IBM Lotus Notes Domino 8.5.2. Using it, developers can build their own artifacts and move far beyond XPages' out-of-the-box features. XPages extensibility has already spawned the creation of many exciting new user interface components that are freely available to the global Lotus development community. Now, a team of all-star XPages experts from inside and outside IBM show developers how to take full advantage of the XPages Extensibility Framework, Extension Library, Extensibility API, and the growing portfolio of components built with them. The authors walk through installing and configuring the XPages Extension Library, integrating it with Lotus Notes Designer, and using new XPages components to quickly build state-of-the-art web and mobile applications. Combining reference material and practical use cases, it serves as a step-by-step guide for XPages developers at all levels of experience.

More on Amazon.com

Mentioned in questions and answers.

As part of my ongoing JDBC/Oracle saga, I solicited the help of one of our Java/JDBC experts and after receiving some more input via my last question "For JDBC in XPages, how does the server know the connection information?" we imbarked on creating a plugin for my ojdbc14.jar file. We got the plugin created and tried to complile it. It complained that it could not find the JDBCProvider Interface. My question is where do I find this? Is this part of the Extension Library files on the Server or is this something completely different?

As always, any help will be greatly appreciated.



You'll want to pick com.ibm.commons.Extension in the Extension Point dialog, and then set the type as com.ibm.commons.jdbcprovider. Set the class to your JDBC driver provider class (named com.ZetaOne.JDBC.drivers.DB2.DB2DriverProvider for example) which i've provided sample code for below that looks like this (customized to your particular driver, etc)

package com.ZetaOne.JDBC.drivers.DB2;

import java.sql.Driver;
import java.sql.SQLException;

import com.ibm.commons.jdbc.drivers.IJDBCDriverAlias;
import com.ibm.commons.jdbc.drivers.JDBCProvider;

public class DB2DriverProvider implements JDBCProvider {
    public DB2DriverProvider() {

    public Driver loadDriver(String className) throws SQLException {
      if(classNmae.equals(com.ibm.db2.jcc.DB2Driver.class.getName())) {
        return new com.ibm.db2.jcc.DB2Driver();
      return null;

Assuming you've done everything else needed for the plugin, you should be able to export / create your update site and install the driver.

BTW, you'll be able to read how to setup & deploy and use the JDBC package in ExtLibX in our upcoming book "XPages Extension Library: A Step by Step Guide to the Next Generation of XPage Controls" - available on amazon pre-order at http://www.amazon.com/XPages-Extension-Library-Step---Step/dp/0132901811

Hope this helps.