53
© 2004 IBM Corporation BEA WebLogic Server Introduction and Training

BEA WebLogic Server Introduction and Training

Embed Size (px)

DESCRIPTION

BEA WebLogic Server Introduction and Training. Index : J2EE Overview Enterprise System Requirements J2EE Components - JNDI - JDBC - JTA - JMS 4. WebLogic Server Terminologies 5. WebLogic Architecture 6. WebLogic Platform ( Server only) installation - PowerPoint PPT Presentation

Citation preview

Page 1: BEA WebLogic Server Introduction and Training

© 2004 IBM Corporation

BEA WebLogic ServerIntroduction and Training

Page 2: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Index :

1. J2EE Overview2. Enterprise System Requirements3. J2EE Components - JNDI - JDBC - JTA - JMS4. WebLogic Server Terminologies5. WebLogic Architecture6. WebLogic Platform ( Server only) installation7. WebLogic Directory Structure8. Defining environment Variables9. Configuring Domain

Page 3: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

1.J2EE Overview

The Java 2 Platform, Enterprise Edition (J2EE) defines the standard for developing multitier enterprise applications.

Portable and scalable standards

Page 4: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

J2EE application model :

Page 5: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

2. Enterprise System Requirement :

High Availability

Load Balancing

Failover

Scalability

Security

maintainability

Page 6: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

3. J2EE Components :

Enterprise Java Bean (EJB)

JavaServer Page (JSP)

Java Naming and Directory Interface (JNDI)

Java Messaging Service (JMS)

Java Database Connectivity (JDBC)

Java Transaction API (JTA)

Remote Method Invocation/Internet Inter-ORB Protocol (RMI-IIOP)

J2EE Connector Architecture

Java Authentication and Authorization Service

Page 7: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

JNDI ( Java Naming and Directory Interface ) :

Naming and directory Services are used to form a structured hierarchy of items that must be made available to distributed program.

JMS :

Java messaging Service

-Is a Java API for accessing message-oriented middleware

Page 8: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

JDBC :

Java Database Connectivity

- A standard Java Interface for accessing heterogeneous database- A specification that defines four drivers type for connecting to database

JTA :

Java transaction API

- A Java Transaction API is a standard java API for demarcating transactions within a program- WebLogic Server Supports local and distributed transactions

Page 9: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

4. WebLogic Server Terminologies :

Page 10: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Web Client

Web Server

Application Server

Proxy Server

Firewall

Server ….explained

Machine ….explained Cluster ….explained

Domain ….explained

Administration Server ….explained

Managed Server ….explained

Page 11: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Server :

-A Server is an instance of weblogic.Server executing in JVM-Runs on designated WLS machine-Has a dedicated amount of RAM-Is multithreaded

Domain - A

Cluster

-- Machine 1 -- -- Machine 2 --

Server A

Server DServer C

Server B

Server E

Page 12: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Domain - A

Cluster

-- Machine 1 -- -- Machine 2 --

Server A

Server DServer C

Server B

Server E

Machine :

-A Machine is a physical computer that hosts Weblogic Server.-Can host multiple WebLogic Server

Page 13: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Domain - A

Cluster

-- Machine 1 -- -- Machine 2 --

Server A

Server DServer C

Server B

Server E

Cluster :

-A Cluster is a logical group of WLS server-Provides automatic Fault Tolerance, High Availability, Load balancing-Transparent to client

Page 14: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Domain - A

Cluster

-- Machine 1 -- -- Machine 2 --

Server A

Server DServer C

Server B

Server E

Domain :

-Provides ONE point of Administration Server-A domain is a logically related group of WebLogic Server resources that you manage as a unit

Page 15: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Administration Server :

-An administration Server is the central point of control for domain-Stores the configuration information and logs for a domain-Runs Weblogic administration console

Managed Server :

-Any server in the domain that is not the Admin Server-Contacts Admin server for configuration information

Page 16: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

5. WebLogic Architecture :

Page 17: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Web Client

Client Application

BEA WebLogic

Server

Client Application Logic Database

Database

HTTPHTTPSSSLT3IIOP

Page 18: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Application Logic Layer :

JSPs Servlets HTML/XML

Session Beans

EntityBeans

Message Beans

Web Container

EJB Container

Presentation Logic

Business Logic

Page 19: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

6. WebLogic Platform ( Server only) installation

Page 20: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Weblogic Platform Architecture

Page 21: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Current Weblogic Server/Platform Version Download link :

http://commerce.bea.com/products/index_eval.jsp

Page 22: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

3 Types of Installations

1. Graphical2. Console3. Silent

Graphical Installation is explained …

Page 23: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 24: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 25: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 26: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 27: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 28: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 29: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 30: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 31: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 32: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Windows Start Menu :

Page 33: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

7. WebLogic Directory Structure

Page 34: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Bea : BEA home directoryExt_components : Controls for third-party productsjdk142_08 : Standard Sun Java 2 SDK 1.4.2jrockit81sp5_142_08 : WebLogic JRockit java 2 SDK 1.4.2Logs : Install HistoryUtils : Utility JARsWeblogic81 : WebLogic 8.1 product directoriesUpdateLicense.cmd : Utility to update the license.bea fileLicense.bea : XML-format license fileRegistry.xml : Record of installed products

Page 35: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Weblogic81 : Weblogic Platform 8.1 directory

Common : Files shared by Weblogic Platform products

Javelin : BEA Javelin extensible compiler framework

Server : Weblogic Server products files

Uninstall : Weblogic workshop products

Workshop : Weblogic Workshop product files

Page 36: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Home Directories

BEA_HOME = c:\bea or /opt/beaWL_HOME = %BEA_HOME%\weblogic81

Page 37: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

8. Defining environment Variables

- JVM- CLASSPATH

Page 38: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

1. JVM

-Xms The minimum size of the dynamic heap-Xms The maximum size of the dynamic heap

Page 39: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

2. CLASSPATH

To run WLS, you must configure : -Path to include all executable programs (including JAVA interpreter)-CLASSPATH to include dependencies

Page 40: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Q&A

Page 41: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

1. Configuring Domain

Page 42: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Windows :

UNIX :

<WL_HOME>/common/bin/config.sh

Page 43: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 44: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 45: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 46: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 47: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 48: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 49: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 50: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 51: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 52: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Page 53: BEA WebLogic Server Introduction and Training

© 2003 IBM Corporation

Domain Directory Structure :

1. No boot.properties file is seen ! 2. Never started Admin Server , just created the domain.