© 2004 ibm corporation bea weblogic server introduction and training

Post on 22-Dec-2015

220 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

© 2004 IBM Corporation

BEA WebLogic ServerIntroduction 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

© 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

© 2003 IBM Corporation

J2EE application model :

© 2003 IBM Corporation

2. Enterprise System Requirement :

High Availability

Load Balancing

Failover

Scalability

Security

maintainability

© 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

© 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

© 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

© 2003 IBM Corporation

4. WebLogic Server Terminologies :

© 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

© 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

© 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

© 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

© 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

© 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

© 2003 IBM Corporation

5. WebLogic Architecture :

© 2003 IBM Corporation

Web Client

Client Application

BEA WebLogic

Server

Client Application Logic Database

Database

HTTPHTTPSSSLT3IIOP

© 2003 IBM Corporation

Application Logic Layer :

JSPs Servlets HTML/XML

Session Beans

EntityBeans

Message Beans

Web Container

EJB Container

Presentation Logic

Business Logic

© 2003 IBM Corporation

6. WebLogic Platform ( Server only) installation

© 2003 IBM Corporation

Weblogic Platform Architecture

© 2003 IBM Corporation

Current Weblogic Server/Platform Version Download link :

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

© 2003 IBM Corporation

3 Types of Installations

1. Graphical2. Console3. Silent

Graphical Installation is explained …

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

Windows Start Menu :

© 2003 IBM Corporation

7. WebLogic Directory Structure

© 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

© 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

© 2003 IBM Corporation

Home Directories

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

© 2003 IBM Corporation

8. Defining environment Variables

- JVM- CLASSPATH

© 2003 IBM Corporation

1. JVM

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

© 2003 IBM Corporation

2. CLASSPATH

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

© 2003 IBM Corporation

Q&A

© 2003 IBM Corporation

1. Configuring Domain

© 2003 IBM Corporation

Windows :

UNIX :

<WL_HOME>/common/bin/config.sh

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

© 2003 IBM Corporation

Domain Directory Structure :

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

top related