Running clients and services in the same container
Note that ideally, when running the Rent-a-Car example, the Service Locator server, every service and every consumer (app-reservation) are in different containers. But this method is still valid if the application or service runs in the same container with Service Locator server.
You just have to keep in mind, that all the consumers or services in the same container use the same locator client with the same credentials (set by the properties authentication.name and authentication.password in org.talend.esb.locator.cfg).