© 2004 ibm corporation bea weblogic server introduction and training
TRANSCRIPT
![Page 1: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/1.jpg)
© 2004 IBM Corporation
BEA WebLogic ServerIntroduction and Training
![Page 2: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/2.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/3.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/4.jpg)
© 2003 IBM Corporation
J2EE application model :
![Page 5: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/5.jpg)
© 2003 IBM Corporation
2. Enterprise System Requirement :
High Availability
Load Balancing
Failover
Scalability
Security
maintainability
![Page 6: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/6.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/7.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/8.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/9.jpg)
© 2003 IBM Corporation
4. WebLogic Server Terminologies :
![Page 10: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/10.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/11.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/12.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/13.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/14.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/15.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/16.jpg)
© 2003 IBM Corporation
5. WebLogic Architecture :
![Page 17: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/17.jpg)
© 2003 IBM Corporation
Web Client
Client Application
BEA WebLogic
Server
Client Application Logic Database
Database
HTTPHTTPSSSLT3IIOP
![Page 18: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/18.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/19.jpg)
© 2003 IBM Corporation
6. WebLogic Platform ( Server only) installation
![Page 20: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/20.jpg)
© 2003 IBM Corporation
Weblogic Platform Architecture
![Page 21: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/21.jpg)
© 2003 IBM Corporation
Current Weblogic Server/Platform Version Download link :
http://commerce.bea.com/products/index_eval.jsp
![Page 22: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/22.jpg)
© 2003 IBM Corporation
3 Types of Installations
1. Graphical2. Console3. Silent
Graphical Installation is explained …
![Page 23: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/23.jpg)
© 2003 IBM Corporation
![Page 24: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/24.jpg)
© 2003 IBM Corporation
![Page 25: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/25.jpg)
© 2003 IBM Corporation
![Page 26: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/26.jpg)
© 2003 IBM Corporation
![Page 27: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/27.jpg)
© 2003 IBM Corporation
![Page 28: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/28.jpg)
© 2003 IBM Corporation
![Page 29: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/29.jpg)
© 2003 IBM Corporation
![Page 30: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/30.jpg)
© 2003 IBM Corporation
![Page 31: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/31.jpg)
© 2003 IBM Corporation
![Page 32: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/32.jpg)
© 2003 IBM Corporation
Windows Start Menu :
![Page 33: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/33.jpg)
© 2003 IBM Corporation
7. WebLogic Directory Structure
![Page 34: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/34.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/35.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/36.jpg)
© 2003 IBM Corporation
Home Directories
BEA_HOME = c:\bea or /opt/beaWL_HOME = %BEA_HOME%\weblogic81
![Page 37: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/37.jpg)
© 2003 IBM Corporation
8. Defining environment Variables
- JVM- CLASSPATH
![Page 38: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/38.jpg)
© 2003 IBM Corporation
1. JVM
-Xms The minimum size of the dynamic heap-Xms The maximum size of the dynamic heap
![Page 39: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/39.jpg)
© 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: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/40.jpg)
© 2003 IBM Corporation
Q&A
![Page 41: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/41.jpg)
© 2003 IBM Corporation
1. Configuring Domain
![Page 42: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/42.jpg)
© 2003 IBM Corporation
Windows :
UNIX :
<WL_HOME>/common/bin/config.sh
![Page 43: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/43.jpg)
© 2003 IBM Corporation
![Page 44: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/44.jpg)
© 2003 IBM Corporation
![Page 45: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/45.jpg)
© 2003 IBM Corporation
![Page 46: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/46.jpg)
© 2003 IBM Corporation
![Page 47: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/47.jpg)
© 2003 IBM Corporation
![Page 48: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/48.jpg)
© 2003 IBM Corporation
![Page 49: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/49.jpg)
© 2003 IBM Corporation
![Page 50: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/50.jpg)
© 2003 IBM Corporation
![Page 51: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/51.jpg)
© 2003 IBM Corporation
![Page 52: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/52.jpg)
© 2003 IBM Corporation
![Page 53: © 2004 IBM Corporation BEA WebLogic Server Introduction and Training](https://reader030.vdocuments.site/reader030/viewer/2022032523/56649d875503460f94a6c44d/html5/thumbnails/53.jpg)
© 2003 IBM Corporation
Domain Directory Structure :
1. No boot.properties file is seen ! 2. Never started Admin Server , just created the domain.