A WebLogic team is developing an enterprise application from their desktop WebLogic
environment. All development systems are connected to the same eight data sources for testing.
As a WebLogic Administrator supporting this team, which two actions should you perform to free
the developers from creating and configuring all the data sources on their desktop WebLogic
environment?
A.
Provide the team with a WebLogic domain template with the testing data sources configured.
B.
Provide the development team with a preconfigured domain archive file.
C.
Provide the development team with the [datasource] -jdbc.xml file to overwrite their local copy.
D.
Create the data sources on behalf each of the developer.
E.
Provide the development team with WLST scripts to create and configure the testing data
sources.
Explanation:
WebLogic Administrators typically use the Administration Console or the WebLogic
Scripting Tool (WLST) to create and deploy (target) JDBC modules.
Note:
* (not A) Domain template—defines the full set of resources within a domain, including
infrastructure components, applications, services, security options, and general
environment and operating system options.
* Extension template—defines the applications and services that you can add to an
existing domain, including product component functionality and resources such asJDBC or JMS.
* (not B) Each domain describes its configuration in an XML document that is located in the
domain’s configuration directory. At run time, each WebLogic Server instance in a given domain
creates an in-memory representation of the configuration described in this document.
The central configuration file for a domain is DOMAIN_NAME/config/config.xml. This file specifies
the name of the domain and the configuration of each server instance, cluster, resource, and
service in the domain. The file includes references to additional XML files that are stored in
subdirectories of theDOMAIN_NAME/config directory. These included files are used to describe
major subsystems of WebLogic Server.
Reference: Configuring WebLogic JDBC Resource
C & E
For C, check the below link:-
http://docs.oracle.com/cd/E24329_01/web.1211/e24367/config.htm#JDBCA120
CE is the best, but invalid as exam develper think. The question ties to “Create and use WLS Domain Templates”.
D – invalid, because it is too hard to create datasource in the each computer.
C – “provide file”, but it is needed “provide 8 files” and not “to overwrite”, but to add. This technique is the best for creating application module and pack it in the EAR. But it seems, it is needed to add a system module.
B is invalid, because development tools can be installed in the different directories.
Hence, AE is the right answer.