Monday, 28 March 2016

WebLogic Server Domain Overview

Weblogic Domain Structure

A weblogic domain is a logical group of weblogic server resources that is managed as a unit. A domain always includes a minimum of a single server instance known as Administration Server or in other words Admin Server. The Administration Server is a central point of contact for all domain resources. An Administration Server handles all administrative tasks within a weblogic server domain. You can access the domain via a web-based console that gets deployed to the Administration Server upon it`s restart. There can be only one Administration Server in a Domain. The domain can also include additional servers known as Managed servers, clunster or multiple clusters.
A managed server can be an independent server or can be part of a cluster within the weblogic server domain. A cluster is a group of weblogic servers that works as a single unit to provide high-availability. It is highly recommended to deploy all applications on managed servers in production mode. There can be multiple managed servers within a domain. Managed servers can either be clustered or non-clustered. There can be multiple servers within a cluster. When clustered, managed servers can perform their tasks as a single unit that provides high-availability and load-balancing.
Following resources are available in the domain that are required by managed servers and deployed applications
Application components: JSP, Servlets, EJB ...etc.
JDBC & JMS
Security Realm
Persistent Stores
Store and Forward Services
Monitoring Services
Startup Classes
Adapters
There are two modes in which a domain can run.
1. Development Mode: A domain running in development mode is less secure then a domain running in production mode. In development mode, an Administration Server can act as a Managed Server as well, since you can deploy applications to this single standalone Administration Server (not recommended in production mode). A domain running in development mode does not require a password when starting the Administration Server. The maximum number of connections allocated to the JDBC connection pool is 15. Demo certificates can be used in development mode. In development mode, log rotation happens during the server sartup. The auto-deployment feature is enabled in development mode.
2. Production Mode: A domain running in production mode is highly secure. The maximum number of connections allocated to the JDBC connection pool is 25. Demo certificates can be used in a production mode but a warning message is displayed in the log files. In production mode, the log rotation happens when the log size reaches to 5000k. The auto-deployment feature is disabled in production mode.
Detailed information on all components and resources of Weblogic Domain Architecture will be covered in upcoming articles.

WebLogic Scripting Tool

Based on Jython Programming Language, WLST (weblogic scripting tool) is a command line scripting environment to do the weblogic administration task. You can create, manage and monitor weblogic server domains using the WLST.
You can use WLST in two ways:
1. WLST Online
2. WLST Offline
1. WLST Online --> WLST (Weblogic Scripting Tool) Online means that you can use WLST to connect to a running Administration Server to do the weblogic administration tasks. For example configuring domain resources..etc.
2. WLST Offline --> WLST Online means that you do not have to connect to a running Administration Server to do the weblogic administration tasks. For example creating the weblogic domain ... etc.

WebLogic Introduction

In September 1995, Paul Ambrose and Carl Resnikoff co-founded WebLogic, Inc. which was then, took over by BEA Systems in 1998 and was named BEA Weblogic. Oracle acquired BEA in 2008 and named BEA weblogic to Oracle Weblogic. Today, Weblogic Application server is one of the most popular application server in the market. Oracle weblogic is a server software application that runs on a middle tier and commonly used with UNIX, Linux and Windows Operating System. That is, between the database and browser-based thin clients.

Below are the weblogic relases:
Version
WebLogic Tengah
WebLogic Tengah 3.0.1)
WebLogic Tengah 3.1
WebLogic Server 4.0
WebLogic Server 5.1
WebLogic Server 6.0
WebLogic Server 7.0
WebLogic Server 8.1
WebLogic Server 9.0
WebLogic Server 9.1
WebLogic Server 9.2
WebLogic Server 10.0
WebLogic Server 10.3
WebLogic Server 11g (10.3.1)
WebLogic Server 11gR1 (10.3.2)
WebLogic Server 11gR1 (10.3.3)
WebLogic Server 11gR1 PS4 (10.3.5)
12c Release 1 (12.1.1)