If your library is a driver (such as a JDBC driver), you must put it in the library extensions directory so that it is activated in the correct order.
To override an older version with a newer version or to provide access to an alternative driver.