Servlet ClassLoader

I am currently working on a system that has Servlet as a Front Controller(WEB-INF/Classes), and the business logic classes are placed in the DB.

The product provides a mechanism of External Class loader that adds the DB classes to the current context. What I am not able to understand, how I can add this class loader to my Servlet, so the servlet has access to the DB classes.