bea.com | products | dev2dev | support | askBEA |
|
e-docs > WebLogic Platform > Configuration Wizard Template Reference > WLS Examples Domain Template |
Configuration Wizard Template Reference |
The following WebLogic Server (WLS) Examples template topics are discussed in this section:
The WebLogic Server Examples template is a domain template that creates a WebLogic Server domain configured to be used for building and deploying applications similar to WebLogic Server Examples sample. This template is available upon installation of WebLogic Server and includes the scripts to run the Examples sample application.
The WebLogic Server Examples template is intended for initial development of WebLogic Server applications. The WebLogic Server Examples template creates the environment and start scripts necessary for starting the Examples sample application in this domain. This will provide a comparable domain directory and configuration to the Examples sample application and allow for extending the sample application. This directory structure, user_projects/domain, will allow for development of applications outside of the samples directory structure. This will reduce the possibility of this domain directory being overwritten when applying WebLogic Platform maintenance.
Creating a Domain Based on the WLS Examples Template
This section describes how to create a functional domain based on the WLS Examples template. It includes the following topics:
The following table provides an overview of the steps required to create a domain based on the WLS Examples template.
Using the Configuration Wizard at the following URL: http://download.oracle.com/docs/cd/E13196_01/platform/docs70/confgwiz/index.html |
|
Using the Configuration Wizard at the following URL: http://download.oracle.com/docs/cd/E13196_01/platform/docs70/confgwiz/index.html |
|
3. Set up optional domain definitions for network connections, node manager, database connection pools, clusters, etc. Note: This is an optional step depending on your domain requirements. |
Creating and Configuring WebLogic Domains at the following URL: http://download.oracle.com/docs/cd/E13222_01/wls/docs70/admin_domain/index.html Using WebLogic Server Clusters at the following URL: http://download.oracle.com/docs/cd/E13222_01/wls/docs70/cluster/index.html |
"Starting and Stopping WebLogic Servers" in the BEA WebLogic Server Administration Guide at the following URL: http://download.oracle.com/docs/cd/E13222_01/wls/docs70/adminguide/startstop.html |
The mode under which the server is running will determine the method of deploying applications in this domain. The modes for deploying applications are:
When the server is running in development mode, applications or modules in this domain directory are deployed automatically. This is the default behavior of the domain.
Deploying Applications Automatically
One of the following actions allow applications in this domain to be deployed automatically:
When you deploy the applications automatically, the server automatically adds an entry for your application or module to the config.xml file for the domain. You do not need to manually edit the config.xml file.
The default security mode for the WebLogic Server Examples template is the new LDAP security mode. For applications that are only using WebLogic Server and WebLogic Workshop, LDAP security is recommended.
Note: If you are developing WebLogic Server applications that will use either WebLogic Integration or WebLogic Portal components or both components, you must use the realm-based security model.
For more information about WebLogic Platform security, refer to Introduction to WebLogic Platform 7.0 Security at the following URL:
http://download.oracle.com/docs/cd/E13196_01/platform/docs70/secintro/index.html
Configuration and Supporting Files
The WebLogic Server Examples template creates various directories and scripts under the user_projects/domain directory, where domain is the name of the WebLogic Server Examples domain. The scripts and files vary depending on the configuration selected (standalone or clustered). The following table is a list of some of the basic directories and files that are installed with the domain. These scripts and files must be configured properly for the server to boot in the domain.
Note: The following table is not a complete list of all directories and files. The list varies depending on the configuration selected.
For additional information about configuring your WebLogic Server Examples domain, refer to Creating and Configuring WebLogic Domains at the following URL:
http://download.oracle.com/docs/cd/E13222_01/wls/docs70/admin_domain/index.html
For information about configuring WebLogic Server clusters, refer to Using WebLogic Server Clusters at the following URL:
http://download.oracle.com/docs/cd/E13222_01/wls/docs70/cluster/index.html
This template creates a comparable configuration to that of the Examples sample domain. This domain supports an environment that can be extended to develop and deploy additional applications other than Examples. The following applications are deployed with this domain:
After creating a domain with the WebLogic Server Examples template, you can start the server. When you start the server, a Pointbase database connection is initiated for the domain.
Types of Applications to Deploy
The WebLogic Server Examples domain supports the following types of applications or files: