InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Are Weblogic Clusters? |
|
Answer» A WebLogic Server cluster consists of multiple WebLogic Server server instances running simultaneously and working together to provide increased scalability and reliability. A cluster appears to clients to be a single WebLogic Server instance. The server instances that CONSTITUTE a cluster can run on the same machine, or be located on different machines. You can increase a cluster's capacity by ADDING additional server instances to the cluster on an existing machine, or you can add machines to the cluster to host the INCREMENTAL server instances. Each server instance in a cluster must run the same version of WebLogic Server. Benefits of clustering: Scalability: The capacity of an APPLICATION deployed on a WebLogic Server cluster can be increased dynamically to meet demand. You can add server instances to a cluster WITHOUT interruption of service, the application continues to run without impact to clients and end users. High-Availability: In a WebLogic Server cluster, application processing can continue when a server instance fails. You "cluster" application components by deploying them on multiple server instances in the cluster, so, if a server instance on which a component is running fails, another server instance on which that component is deployed can continue application processing. A WebLogic Server cluster consists of multiple WebLogic Server server instances running simultaneously and working together to provide increased scalability and reliability. A cluster appears to clients to be a single WebLogic Server instance. The server instances that constitute a cluster can run on the same machine, or be located on different machines. You can increase a cluster's capacity by adding additional server instances to the cluster on an existing machine, or you can add machines to the cluster to host the incremental server instances. Each server instance in a cluster must run the same version of WebLogic Server. Benefits of clustering: Scalability: The capacity of an application deployed on a WebLogic Server cluster can be increased dynamically to meet demand. You can add server instances to a cluster without interruption of service, the application continues to run without impact to clients and end users. High-Availability: In a WebLogic Server cluster, application processing can continue when a server instance fails. You "cluster" application components by deploying them on multiple server instances in the cluster, so, if a server instance on which a component is running fails, another server instance on which that component is deployed can continue application processing. |
|
| 2. |
What Are The Admin Default Ports? |
Answer»
|
|
| 3. |
What Is A Domain Template? |
|
Answer» A domain template is a JAR file default one is wls.jar file, which is '/bea/weblogic81/common/templates/domains/, it has all the features that is required for the STANDARD WEBLOGIC domain, we can even create domain template of our own configuration. by this template we dont have to configure EVERY time we create a NEW domain. By using template we can:
A domain template is a jar file default one is wls.jar file, which is '/bea/weblogic81/common/templates/domains/, it has all the features that is required for the standard weblogic domain, we can even create domain template of our own configuration. by this template we dont have to configure every time we create a new domain. By using template we can: |
|
| 4. |
How To Configure Jms? |
Answer»
Enable any desired WebLogic JMS features, such as: Server clustering using multiple connection factories.
Enable any desired WebLogic JMS features, such as: Server clustering using multiple connection factories. |
|
| 5. |
What Are The Modes Of Operation For Weblogic Server Domains? |
|
Answer» There are two MODES: Development and production mode: Development mode:
The default capacity is 15 JDBC connections. Production mode:
There are two modes: Development and production mode: Development mode: The default capacity is 15 JDBC connections. Production mode: |
|
| 6. |
How To Configure A Db Connection Pool? |
Answer»
|
|
| 7. |
How To Make A Managed Server? |
Answer»
|
|
| 8. |
How To Change From Default Jvm To Other? |
|
Answer» When you upgrade a domain to WebLogic Server 8.1, consider upgrading your JVM to JRockit. WebLogic JRockit is a JVM designed for running server-side applications in Windows and Linux running on Intel architectures. For server-side applications, JRockit has these advantages over other virtual machines: It employs adaptive optimization, which detects and removes bottlenecks in the deployed APPLICATION. It is designed specifically for the special requirements of server-side applications, which tend to be parallel and thread-intensive, to RUN for longer periods of time, and not to use graphical interfaces. You can monitor JRockit using the WebLogic Server Administration Console. Steps to change: In the server start scripts, set JAVA_HOME (or equivalent) shell variables to point to the JRockit root directory. For example, change: @rem Set user-defined variables. set JAVA_HOME=WL_HOMEjdk131 where WL_HOME is the WebLogic Server 7.0 installation directory, to @rem Set user-defined variables. set JAVA_HOME=WL_HOMEjrockit81_141_02 where WL_HOME is the WebLogic Server 8.1 installation directory. Change the domain’s config.xml to use the JRockit javac.exe. For example, change JavaCompiler="WL_HOMEjdk131binjavac" where WL_HOME is the WebLogic Server 7.0 installation directory, to JavaCompiler=WL_HOMEjrockit81_141_02binjavac” where WL_HOME is the WebLogic Server 8.1 installation directory. Remove from server start scripts any switches specific to the Sun JVM. For example, from the start command: ECHO on "%JAVA_HOME%binjava" -HOTSPOT .... weblogic.Server delete “-hotspot”. When you upgrade a domain to WebLogic Server 8.1, consider upgrading your JVM to JRockit. WebLogic JRockit is a JVM designed for running server-side applications in Windows and Linux running on Intel architectures. For server-side applications, JRockit has these advantages over other virtual machines: It employs adaptive optimization, which detects and removes bottlenecks in the deployed application. It is designed specifically for the special requirements of server-side applications, which tend to be parallel and thread-intensive, to run for longer periods of time, and not to use graphical interfaces. You can monitor JRockit using the WebLogic Server Administration Console. Steps to change: In the server start scripts, set JAVA_HOME (or equivalent) shell variables to point to the JRockit root directory. For example, change: @rem Set user-defined variables. set JAVA_HOME=WL_HOMEjdk131 where WL_HOME is the WebLogic Server 7.0 installation directory, to @rem Set user-defined variables. set JAVA_HOME=WL_HOMEjrockit81_141_02 where WL_HOME is the WebLogic Server 8.1 installation directory. Change the domain’s config.xml to use the JRockit javac.exe. For example, change JavaCompiler="WL_HOMEjdk131binjavac" where WL_HOME is the WebLogic Server 7.0 installation directory, to JavaCompiler=WL_HOMEjrockit81_141_02binjavac” where WL_HOME is the WebLogic Server 8.1 installation directory. Remove from server start scripts any switches specific to the Sun JVM. For example, from the start command: echo on "%JAVA_HOME%binjava" -hotspot .... weblogic.Server delete “-hotspot”. |
|
| 9. |
What Is The Default Jvm Used For Weblogic? |
|
Answer» Sun Hotspot JDK default for Development installation, JRockit is for Production mode for WebLogic 11G and 12C. Operating ENVIRONMENT also factor to select the Certified JDK JVM. If you want to change you need to specify it. Sun Hotspot JDK default for Development installation, JRockit is for Production mode for WebLogic 11g and 12c. Operating environment also factor to select the Certified JDK JVM. If you want to change you need to specify it. |
|
| 10. |
What Is The Difference In The Web.xml And Weblogic.xml? |
|
Answer» An APPLICATION-specific XML-based deployment descriptor file named web.xml, which lists your application's J2EE components and their configurations as J2EE modules. Each J2EE module is a collection of one or more J2EE components of the same container type (Web or EJB) that are REPRESENTED by one component deployment descriptor for that type in the web.xml file. A WEBLOGIC-specific deployment descriptor file named weblogic.xml, which DEFINES how named resources in the web.xml file are mapped to WebLogic Server resources. Examples of weblogic.xml attributes include HTTP session parameters, HTTP cookie parameters, JSP parameters, resource references, SECURITY role assignments, and container attributes. An application-specific XML-based deployment descriptor file named web.xml, which lists your application's J2EE components and their configurations as J2EE modules. Each J2EE module is a collection of one or more J2EE components of the same container type (Web or EJB) that are represented by one component deployment descriptor for that type in the web.xml file. A WebLogic-specific deployment descriptor file named weblogic.xml, which defines how named resources in the web.xml file are mapped to WebLogic Server resources. Examples of weblogic.xml attributes include HTTP session parameters, HTTP cookie parameters, JSP parameters, resource references, security role assignments, and container attributes. |
|
| 11. |
What Are Deployment Descriptors? |
|
Answer» Modules and applications have DEPLOYMENT descriptors—XML documents—that DESCRIBE the contents of the directory or JAR FILE. Deployment descriptors are text documents formatted with XML tags. The J2EE specifications DEFINE standard, PORTABLE deployment descriptors for J2EE modules and applications. Modules and applications have deployment descriptors—XML documents—that describe the contents of the directory or JAR file. Deployment descriptors are text documents formatted with XML tags. The J2EE specifications define standard, portable deployment descriptors for J2EE modules and applications. |
|