700 likes | 1.08k Views
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
E N D
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 7. WebLogic Directory Structure 8. Defining environment Variables 9. Configuring Domain
J2EE Overview • The Java 2 Platform, Enterprise Edition (J2EE) defines the standard for developing multitier enterprise applications. • Portable and scalable standards
2. Enterprise System Requirement : • High Availability • Load Balancing • Failover • Scalability • Security • maintainability
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
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
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
Web Client • Web Server • Application Server • Proxy Server • Firewall • Server ….explained • Machine ….explained • Cluster ….explained • Domain ….explained • Administration Server ….explained • Managed Server ….explained
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 -- Machine 1 -- -- Machine 2 -- Server A Server E Cluster Server B Server D Server C
Machine : • A Machine is a physical computer that hosts Weblogic Server. • Can host multiple WebLogic Server Domain - A -- Machine 1 -- -- Machine 2 -- Server A Server E Cluster Server B Server D Server C
Cluster : -A Cluster is a logical group of WLS server -Provides automatic Fault Tolerance, High Availability, Load balancing -Transparent to client Domain - A -- Machine 1 -- -- Machine 2 -- Server A Server E Cluster Server B Server D Server C
Domain : -Provides ONE point of Administration Server -A domain is a logically related group of WebLogic Server resources that you manage as a unit Domain - A -- Machine 1 -- -- Machine 2 -- Server A Server E Cluster Server B Server D Server C
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
Database Application Logic Client BEA WebLogic Server Web Client Database Client Application HTTP HTTPS SSL T3 IIOP
Application Logic Layer : JSPs Servlets HTML/XML Presentation Logic Web Container Message Beans Entity Beans Session Beans Business Logic EJB Container
Current Weblogic Server/Platform Version Download link : http://commerce.bea.com/products/index_eval.jsp
3 Types of Installations • Graphical • Console • Silent Graphical Installation is explained …
Bea : BEA home directory Ext_components : Controls for third-party products jdk142_08 : Standard Sun Java 2 SDK 1.4.2 jrockit81sp5_142_08 : WebLogic JRockit java 2 SDK 1.4.2 Logs : Install History Utils : Utility JARs Weblogic81 : WebLogic 8.1 product directories UpdateLicense.cmd : Utility to update the license.bea file License.bea : XML-format license file Registry.xml : Record of installed products
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
Home Directories BEA_HOME = c:\bea or /opt/bea WL_HOME = %BEA_HOME%\weblogic81
8. Defining environment Variables • JVM • CLASSPATH
JVM -Xms The minimum size of the dynamic heap -Xms The maximum size of the dynamic heap
2. CLASSPATH To run WLS, you must configure : • Path to include all executable programs (including JAVA interpreter) • CLASSPATH to include dependencies
Windows : UNIX : <WL_HOME>/common/bin/config.sh