which is the best method to ensure that the application deploys successfully in both?

An application requires a JDBC data source, which you create in the domain. You name it but the
administrator allot another domain name the same data source DatasourceB.
Without modifying either domain, which is the best method to ensure that the application deploys
successfully in both?

An application requires a JDBC data source, which you create in the domain. You name it but the
administrator allot another domain name the same data source DatasourceB.
Without modifying either domain, which is the best method to ensure that the application deploys
successfully in both?

A.
Create a separate application archive to use with each domain.

B.
Create a separate deployment plan file to use with each domain.

C.
Create and register a custom deployment listener.

D.
Modify the application code to determine the current domain.

Explanation:
A WebLogic Server deployment plan is an optional XML document that you use to
configure an application for deployment to a specific WebLogic Server environment, such as a
domain.

Reference: Deploying Applications To WebLogic Server, Configuring Applications for Production
Deployment



Leave a Reply 1

Your email address will not be published. Required fields are marked *