try {
this.entityBrokerCoreServiceManager = new EntityBrokerCoreServiceManager();
EntityBrokerManager ebm = this.entityBrokerCoreServiceManager.getEntityBrokerManager();
// create the EB REST services
this.entityRESTServiceManager = new EntityBrokerRESTServiceManager(ebm);
erh = this.entityRESTServiceManager.getEntityRequestHandler();
if (erh == null) {
throw new RuntimeException("FAILED to load EB EntityRequestHandler");
}