Audience
Web server administrators, project managers, developers and consultants who want to gain the knowledge of WebLogic Server administration.
Prerequisites
Knowledge and experience of network management and protocols, and RDBMS.
Duration
5 days.
This course is available on site only. Please call for details.
Course Objectives
This course teaches the basics of the administration and deployment of Web applications in Oracle WebLogic 12c.
At the completion of this course, students will be able to:
- Understand WebLogic architecture
- Understand deployments of EJB and Web applications
- Understand how to run WebLogic as a Web server
- Set up WebLogic Server test environments for developers
- Start/stop servers, problem detection and trouble shooting
- Use the WLST for command-line administration
- Use clustering for fault tolerance and load balancing
- Configure and monitor resources in a production environment
- Conduct security planning and implementation
- Handle large throughput and concurrency
- Understand performance tuning
Course Content
Java EE Overview for Administrators
Java EE Components.
Java EE Vendor Specifications.
Containers.
Java EE Blueprint.
Services.
JDBC.
Data Sources.
Java Naming and Directory Interface.
Java Message Service.
JavaMail.
Java EE Connector Architecture.
Java Transaction API.
Security.
Lifecycle Management.
Application Server Architecture.
Java EE Application Structure.
EAR File.
What are Modules?
Java EE Deployment Descriptors.
Web Module.
EJB Module.
Client Module.
WebLogic Server Family History.
What's New in WebLogic Server 12c.
Introduction to WebLogic Server 12c
WebLogic Server Instances.
The Java Virtual Machine.
JVM Providers.
Threads vs. Processes.
WebLogic Server Domains.
Servers And Domains.
Domain Configuration.
WebLogic Administration Domain.
Directory Structures.
Getting Started Roadmap.
Install WebLogic Server.
The Configuration Wizard: Creating A New Domain.
Starting The Administrative Server.
The Administration Console.
Administrative Tasks.
Change Center.
Other Administrative Tools.
Setting the Domain Environment.
Automatically Starting Admin Servers.
Managed Servers.
Creating A Managed Server.
Server Details.
Starting A Managed Server.
Password boot.properties.
Examining Server Status.
Shutting Down Servers.
Admin Server Shutdown.
Admin Server Backup.
Start Scripts.
config.xml.
WLST: The WebLogic Scripting Tool
The WLST.
WLST Details.
WLST Tasks.
MBeans And JMX Administration.
Layered JMX Architecture.
MBeans And WLST.
Starting WLST.
Simple WLST Commands.
Navigating WLST.
MBean Operations.
Other WLST Commands.
Scripting With WLST.
Recording WLST Scripts.
Configure Recording.
Start Recording.
Sample Recorded Script.
Logging
Introduction.
WebLogic Logging Services.
Java Logging API.
Log4j.
Specifying the Logging Implementation.
Message Severity.
WebLogic Server Logs.
Server Log.
Configuring Server Log.
HTTP Access Log.
Configuring HTTP Access Log.
JMS Log.
Domain Log.
Viewing Logs.
Using WebLogic as a Web Server
Web Server Overview.
Using WebLogic Web Server.
Configuring The WebLogic Web Server.
Creating Virtual Hosts.
Specifying Virtual Host Names.
Targeting Virtual Hosts to Server.
Access Log.
External Web Servers.
Apache HTTP Server Plug-In.
Installing Apache HTTP Server Plug-In.
Configuring Apache HTTP Server Plug-In.
Keep-Alive Connections.
Assembling Applications
Java Web Application Architecture.
JEE Architecture.
Web Application Programming Model â?? MVC.
An MVC Example.
The Infrastructure for Enterprise Web Applications.
What is Application Assembly?
JEE Modules.
JEE Application Assembly.
Web Module.
Web Module - Deployment Descriptor.
web.xml.
weblogic.xml.
WEB-INF Directory.
Web Application Directory.
EJB Modules.
EJB Deployment Descriptors.
ejb-jar.xml.
Enterprise Application Modules.
Enterprise Application Deployment Descriptor.
Accessing Web Applications.
Deploying Applications
The Process.
Deployment Overview.
Archive Vs Expanded Directory.
Default Deployment Names.
Deployment Methods.
Auto-Deployment.
Console Deployment.
Starting an Application.
Stopping an Application.
Updating Applications.
Deleting Applications.
Testing a Deployed Application.
Monitoring Deployed Applications.
Editing Deployment Descriptors.
Using Command Line Deployment.
weblogic.Deployer Command Syntax.
Protocol Overview.
weblogic.Deployer Usage.
wldeploy Ant Task.
WebLogic Scripting Tool (WLST).
WebLogic Scripting Tool (WLST) Scripts.
Deployment Plans
What Is A Deployment Plan?
Deployment Plan Overriding.
Creating A Plan.
Using A Plan.
Best Practices.
Database Access and WebLogic
Introduction to JDBC.
Types of JDBC Drivers.
Working with a Database via JDBC (Client side).
The Need for Connection Pooling.
Connection Pooling and Data Sources.
Connecting with Data Source.
Steps in using Connection Pooling.
Admin Tasks for Connection Pools and Data Sources.
JDBC Driver Support in WebLogic Server.
Database Access Using WebLogic.
Working with Data Sources.
Creating a Data Source.
Monitoring Data Source and Connection Pools.
WebLogic and JMS
Messaging Introduction.
Messaging Example.
Messaging Components.
Messaging Types.
JMS (Java Messaging Service).
Message Driven Beans (MDB).
MDB as Message Consumer.
JMS Resources.
Durable Subscription.
Deployment Descriptor Entry.
Binding the Queue or Topic.
Transactions & Guaranteed Delivery.
WebLogic JMS Server.
Creating a JMS Server.
Creating a Connection Factory.
Creating a Topic.
Threshold and Quota.
Configuring Threshold and Quota.
Distributed Destination.
Creating a Distributed Topic/Queue.
Creating a Distributed Topic.
Monitoring JMS in WebLogic.
Messaging Bridge.
Remote Administration
Node Manager Overview.
Node Manager Functionality & Configuration.
Starting an Administration Server from Node Manager.
Starting a Managed Server from Node Manager.
Restarting a Administration Server from Node Manager.
Restarting a Managed Server from Node Manager.
Shutting Down a Server Instance From a Node Manager.
Working with Security.
Working with Machines.
Creating a Machine.
Adding Server Instances To a Machine.
Starting The Node Manager.
Monitoring Managed Servers.
Node Manager Logs and Configuration Files.
Security
WebLogic Server Security.
Authentication / Authorization.
Resources That Can Be Secured.
Authentication Mechanisms.
WebLogic Security Diagram.
Overview: Security Tasks For Securing Resources.
WebLogic Security Realms.
Configuring A User Registry.
The Embedded LDAP Server.
Managing Users/Groups.
User Lockout.
Managing Roles.
Securing A Resource.
WebLogic Server Policies.
Specifying A Policy Condition.
Policies And Roles.
Creating A Scoped Role.
Declarative Security.
Encryption.
SSL.
Public Key / Private Key Encryption.
Secure Communication Over The Web â?? SSL.
SSL And WebLogic Server.
Creating A Digital Certificate.
Dealing With A CA.
Configuring WebLogic Server SSL: Keystores.
Configure WebLogic SSL Settings.
Configuring WebLogic Server SSL: Setting a Listen Port.
Clustering
What Is Clustering?
What Components Can Be Clustered?
Basic Cluster Diagrams.
The Load Balancer.
Web Container Load Balancing.
Horizontal Vs. Vertical Clustering.
Horizontal Clustering.
Clustering WebLogic Server.
WebLogic Cluster Requirements.
Configure Domain For Clustering.
Create A Cluster.
Multicasting vs. Unicasting.
Create A Cluster.
Configure Application Resources.
Deploy Applications To The Cluster.
Configure A Load Balancer.
Load Balancer Options.
Hardware Load Balancers.
Proxy Plug In Load Balancers.
HttpClusterServlet Load Balancer.
Session State.
Clustered Session State.
Session State Strategies.
In-Memory Replication.
Configuring Session State Replication.
JDBC Session Persistence.
JDBC Multi Data Sources.
Creating A Multi Data Source.
EJB Clutering.
EJB Load Balance Algorithm.
Performance Tuning
Performance Tuning.
Response Time.
Throughput.
Throughput Curve.
The Significance of Throughput.
Response Time Curve.
Think Time.
Saturation.
Response Time at System Saturation.
Response Time Past the Buckle Point.
Interpreting Response Time Trends.
Basic Tuning Methodology.
Areas To Tune.
Tuning Hardware.
Tune the Operating System.
Tune the JVM.
JVM Choices.
Tuning WebLogic Server.
JDBC Settings.
Thread Settings.
Socket Readers.
Socket Implementation.
Monitoring Threads.
Connection BackLog.
Tuning the Back End.
WLDF Console.
Enabling the WLDF Consol.
WLDF Console Views.
Data View.
Creating A View.
Adding Metrics.
Custom Views.
Using the WLDF Console.
Java Memory Management
Java Heap Space.
Heap Size Limits.
Default Size Limits.
Garbage Collection Basics.
Allocation Failure (AF).
Free Space Threshold.
Garbage Collection Mechanism.
GC Performance Improvements.
Generational Garbage Collection.
Thread Local Heap (TLH).
Memory Tuning Goals.
Steady State Heap Size.
Analyzing Steady State Behavior.
Effect of Initial Heap Size on GC.
Optimizing GC Duration.
JRockit 1.6 Memory Management
Generational GC.
Dynamic GC Modes.
GC Strategy.
Thread Local Heap (TLH or TLA) Configuration.
Tuning TLH.
Tuning Compaction.