Placement of service-location details for Web services

You can place the service-location details of a Web service in the requesting source code, but the best practice is to place those details in the EGL deployment descriptor.
By placing the details in a deployment descriptor, you have a few potential advantages. For example, if you place details in the deployment descriptor and a service-location detail changes:

When you place details in the EGL deployment descriptor, you specify the @BindService complex property when you declare a service-access variable. That property refers to an entry in the EGL deployment description, specifically, to an entry in the service-client bindings section of the EGL deployment descriptor.

Note these details about the different kinds of service access:
When you access a third-party REST service, you must distinguish between the following kinds of information:

Feedback