If a component needs a name for the current instance of an Oracle Commerce Platform server, it can refer to the serverName property of the /atg/dynamo/service/ServerName component. The server can be named explicitly by setting the serverName property directly, or the name can be built from the combination of the server hostname (obtained dynamically) and the DrpServer port.

Services that require a server name should not set a server name property directly from this services serverName property. Instead, they should obtain a reference to the /atg/dynamo/service/ServerName component and call the serverName() method. This forces the ServerName component to be fully started, allowing the name to be built properly if necessary.

For more information about Oracle Commerce Platform servers, see the Platform Installation and Configuration Guide.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices