You also learn to perform basic management tasks, such as starting and stopping OracleAS Infrastructure and middle-tier components by using • To configure WebDAV support in Oracle HTTP S
Trang 1Copyright © 2005, Oracle All rights reserved.
Introduction
Trang 21-2 Copyright © 2005, Oracle All rights reserved.
Objectives
After completing this course, you should be able to do
the following:
Oracle Application Server
Middle Tier
components
Course Objectives
This course describes how to perform Oracle Application Server administration tasks, such as:
• Installing and configuring Oracle Application Server components
• Deploying applications
• Implementing access control and security
• Monitoring the performance and availability of Oracle Application Server and the deployed applications
Trang 31-3 Copyright © 2005, Oracle All rights reserved.
Course Objectives
components, such as:
– Oracle Internet Directory
– OracleAS Single Sign-On
Certificate Authority
OracleAS Infrastructure and OracleAS Middle Tier
Trang 41-4 Copyright © 2005, Oracle All rights reserved.
5 Managing Access Control
6 Performance and Availability
Trang 51-5 Copyright © 2005, Oracle All rights reserved.
Unit 1: Product Overview
This unit covers the following lesson:
Features
Unit 1: Product Overview
You learn about the Oracle Application Server solution areas and product components, and the installation type that is necessary for your business goals The following are the key solution areas addressed by Oracle Application Server:
• Deploying and managing J2EE applications
• Deploying and managing portals and wireless-enabled applications
• Accelerating performance with caching
• Managing and securing the Web infrastructure
Trang 61-6 Copyright © 2005, Oracle All rights reserved.
Unit 2: Installation
This unit covers the following lessons:
• The components that enhance the Oracle Application Server architecture
• The request and the communication flow involved in providing services to clients
The middle tier contains software that enables you to deliver Web content, host Web
applications, connect to back-office applications, and access your data on wireless devices
Trang 71-7 Copyright © 2005, Oracle All rights reserved.
Unit 3: Basic Management
and Configuration
This unit covers the following lessons:
Tools
Unit 3: Basic Management and Configuration
Oracle Application Server provides flexibility in managing your Oracle Application Server environment You learn how to use the Web-based Application Server Control to manage Oracle Application Server instances You also learn to perform basic management tasks, such
as starting and stopping OracleAS Infrastructure and middle-tier components by using
• To configure WebDAV support in Oracle HTTP Server for OracleAS Portal access
• To use Application Server Control to start, stop, restart, and configure OracleAS Web Cache, and also to obtain status information
• To create, modify, and delete caching rules and to apply invalidation mechanisms
Trang 8Unit 3: Basic Management and Configuration (continued)
Oracle Application Server Containers for J2EE (OC4J) is the basis for all the J2EE services that are provided by Oracle Application Server You learn about the architecture of OC4J, and how to configure and manage OC4J
OracleAS Portal is installed as part of the Oracle Application Server Middle Tier installation OracleAS Portal supports a wide variety of topologies and configuration options You learn to:
• Manage the default OracleAS Portal schemas, users, and groups
• Configure the self-registration feature
• Administer the portlet repository
• Migrate your portal content to another portal instance
Trang 91-9 Copyright © 2005, Oracle All rights reserved.
Unit 4: Application Deployment
This unit covers the following lesson:
Unit 4: Application Deployment
OC4J is a core component of Oracle Application Server and is installed with the goal of managing J2EE enterprise systems You learn to:
• Deploy J2EE applications to Oracle Application Server
• Create and manage the database connectivity for J2EE applications
• Deploy an application by using the Deployment Wizard of Application Server Control
• Create a new data source, and configure and use the new data source in your J2EE application
Trang 101-10 Copyright © 2005, Oracle All rights reserved.
Unit 5: Managing Access Control
This unit covers the following lessons:
Components in Oracle Internet Directory
Unit 5: Managing Access Control
You learn:
• About how the architecture and functions of Oracle Application Server provide basic security services
• About the concepts of Identity Management
• To manage users and groups in Oracle Internet Directory by using Oracle Directory Manager
• About how user passwords are managed for different components
OracleAS Single Sign-On is designed to work in an environment where multiple Web-based
Trang 111-11 Copyright © 2005, Oracle All rights reserved.
Unit 5: Managing Access Control
This unit also covers the following lessons:
Using Oracle Delegated Administration Services
Server Certificate Authority
Unit 5: Managing Access Control (continued)
Oracle Delegated Administration Services enables end users to modify their own passwords without the intervention of an administrator You learn how to start and stop Oracle Delegated Administration Services, and implement security for OracleAS Portal and portlets
Oracle Application Server Certificate Authority can seamlessly provision new digital
certificates You learn to access the GUI-based tools to create and administer certificates You also learn to create and maintain wallets by using Oracle Wallet Manager and enable SSL for Oracle HTTP Server, OracleAS Portal, and OracleAS Web Cache
Trang 121-12 Copyright © 2005, Oracle All rights reserved.
Unit 6: Availability
This unit covers the following lesson:
Server
Unit 6: Availability
You learn how to restore Oracle Application Server instances from a backup You also learn how to configure backup and recovery
Trang 131-13 Copyright © 2005, Oracle All rights reserved.
Summary
In this introductory lesson, you should have learned about the course units and lessons.
Trang 15Copyright © 2005, Oracle All rights reserved.
Oracle Application Server 10g:
Key Components and Features
Trang 162-2 Copyright © 2005, Oracle All rights reserved.
Application Server components
Trang 172-3 Copyright © 2005, Oracle All rights reserved.
Challenges of Creating and Maintaining
E-Business Applications
The common challenges when creating and
maintaining e-business applications are:
You can meet the challenges mentioned above by
leveraging an integrated, complete, and open
e-business platform.
Challenges of Creating and Maintaining E-Business Applications
When you create e-business Web sites, some common challenges that you might encounter are:
• Development related: When you create applications, depending on the requirements,
you must ensure that these applications:
- Meet Java 2 Platform, Enterprise Edition (J2EE) standards
- Interact directly with other software applications by using Web services
- Can be wireless enabled for rapid access through mobile devices
- Can be integrated with new business processes
• Deployment related: After your application is deployed to the server, it is important
that the server can deliver the appropriate content to users quickly and reliably Some
of the challenges here include availability, scalability, performance, caching, systems management, and user and security management
It is, therefore, very important to leverage a complete and integrated e-business platform for building an e-business solution
Trang 182-4 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server: Overview
HTTP Server and J2EE
Wireless Caching
Management and security
Business intelligence Integration Portal
Identity Management
Oracle Application Server: Overview
Oracle Application Server is a standards-based application server that offers a fully
integrated platform to develop, deploy, and administer Internet-based applications The following section describes the solutions that Oracle Application Server provides to address the development and deployment challenges
HTTP Server, J2EE, and Web Services
• Oracle HTTP Server functions as the HTTP interface for all Oracle Application Server components
• Oracle Application Server is built on the J2EE framework It enables you to design,
Trang 19Oracle Application Server: Overview (continued)
Wireless
• OracleAS Wireless provides a simplified development and deployment of applications
in a wireless environment In addition, OracleAS Wireless includes wireless services (such as e-mail) and location-based services that simplify wireless-enabling of
applications and portals
Caching
• Oracle Application Server provides a Web-caching solution with the unique capability
of caching both static and dynamically generated Web content OracleAS Web Cache significantly improves the performance and scalability of heavily loaded Web sites In addition, OracleAS Web Cache provides a number of features to ensure consistent and predictable responses These features include page-fragment caching, Edge Side Includes (ESI) and Edge Side Includes for Java (JESI) support, compression, dynamic content assembly, Web-server load balancing, Web Cache clustering, and failover
Business Intelligence
• Using the Oracle Application Server business intelligence features, you can
dynamically serve personalized content recommendations to both registered and anonymous visitors as they browse your site; perform dynamic, ad hoc query reporting and analysis using a standard Web browser; and publish high-quality, dynamically generated reports on a scalable, secure platform
Integration
• Using Oracle Application Server, you can integrate enterprise applications, trading partners, and Web services, and provide query and transaction access to many
non-Oracle data sources
Availability and Scalability
• Oracle Application Server provides a flexible deployment model that you can use to design your system for high availability and scalability
Management and Security
• Oracle Application Server provides a set of management facilities to simplify Web site administration You can:
- Use Application Server Control to configure and monitor individual Oracle Application Server instances to optimize them for performance and scalability When you need to use command-line interfaces, you can use dcmctl to perform configuration management, and opmnctl to perform process management
- Use encrypted secure sockets layer (SSL) connections, user- and client
certificate–based authentication, and single sign-on across all applications
- Implement an LDAP directory that provides a single repository and
administration environment for user accounts
Trang 20Oracle Application Server: Overview (continued)
Identity Management
• Using Identity Management, you can centralize user-management tasks and manage password policies in an enterprise setup Identity Management is a viable solution for secure deployment of third-party applications in an Oracle environment These
deployments are based on integrating a secure framework between Oracle products and multiple third-party applications In addition, you can independently deploy Identity Management environments in existing Oracle products, such as the Oracle database, Oracle Collaboration Suite, and Oracle E-Business Suite
Trang 212-7 Copyright © 2005, Oracle All rights reserved.
Multitiered Model
Oracle HTTP Server
OracleAS Web Cache
Oracle Application
Server 10g
OracleAS Portal
Client tier
Web tier
Application server tier
Database tier
Multitiered Model
In a multitiered architecture, Oracle Application Server 10g components reside at different
tiers or layers, which represent hardware layers, with each tier made up of one or more servers In general, the number of tiers and number of servers in each tier vary depending on
the Oracle Application Server 10g implementation
The Oracle Application Server 10g architecture for a multitiered model consists of:
• Client tier: Containing the Web browsers for end users
• Web tier: Containing Oracle HTTP Server and OracleAS Web Cache
• Application server tier: Containing Oracle Application Server 10g
• Database tier: Containing the Oracle database, which can be a single instance or
multiple instances managed by Real Application Clusters (RAC)
Trang 222-8 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server 10g Architecture
Client tier
Application server tier Database
tier
Web tier
• Listens for incoming requests
• Caches content
• Load balances application server
• Manages business logic
• Develops Web pages
• Manages security
Oracle Application Server 10g Architecture
The functional architecture of Oracle Application Server 10g is as follows:
Web Tier
• The listener listens on a specific port for incoming requests
• OracleAS Web Cache stores Web page components that are accessed frequently In addition, it also load balances application servers, thus ensuring optimal allocation of computing resources
Application Server Tier
• It controls all business logic and content assembly
Trang 232-9 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server Terminology
Is a database of information required by Oracle Application Server instances, which are part of a farm.
Oracle Application Server Terminology
This slide gives a brief introduction to some of the key terms that are used in the administration of Oracle Application Server
Trang 242-10 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server Terminology
Manages individual Oracle Application Server instances
Is a collection of Oracle Application Server instances
in the same farm, with identical application deployments and functioning as a single unit OracleAS Cluster
Is a collection of Oracle Application Server instances sharing the same configuration repository The repository can be OracleAS Metadata Repository or
a file-based repository.
OracleAS Farm
Trang 252-11 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server Components
and Solutions
Oracle HTTP Server
OracleAS Containers for J2EE
OracleAS TopLink
Oracle Application Development Framework
OracleAS Web Services
Oracle XML Developer’s Kit
Oracle PL/SQL
OracleAS MapViewer
J2EE and Internet Applications
OracleAS Portal OracleAS Portal Developer Kit
Portal
OracleAS Wireless OracleAS Wireless Developer Kit Oracle Sensor Edge Server
Wireless
Oracle Business Intelligence Discoverer
Oracle Application Server Reports Services
Business Intelligence and Forms
Oracle Application Server Components and Solutions
Oracle Application Server provides several components that help you develop, deploy, and administer your Internet-based applications These components and the solution areas theyaddress are highlighted in the slide This lesson introduces some of the important
components of Oracle Application Server, such as Oracle HTTP Server, OracleAS
Containers for J2EE, and OracleAS Web Cache
Oracle Application Server provides a fully integrated, J2EE-compliant platform to design, develop, and deploy dynamic Web sites, portals, and transactional applications
With OracleAS Portal, you can personalize and secure portals, provide self-service content, and build new portlets to display custom information
With OracleAS Wireless, you can access any corporate portal, application, or data, on any wireless device, on any network
Using Oracle Business Intelligence Discoverer, you can access information from
multidimensional OLAP or relational data sources including analytic workspaces, data warehouses, data marts, online transaction processing (OLTP) systems, and Oracle
E-Business Suite
Trang 262-12 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server Components
Oracle Enterprise Manager 10g
Oracle Application Server Control
System Management
OracleAS Single Sign-On
Oracle Application Server Certificate Authority
Java Authentication and Authorization Service
Oracle Internet Directory
Identity Management and Security Integration
Oracle Application Server Components and Solutions (continued)
With Oracle Application Server Forms Services, you can successfully deploy form-based applications through built-in services
With Oracle Application Server Reports Services, you can develop and publish reports These reports can be easily deployed on Oracle Application Server
Trang 27Oracle Application Server Components and Solutions (continued)
Later in the course, you also learn about Oracle Application Server components that are used
to administer Oracle Application Server, such as OracleAS Infrastructure, Oracle Enterprise
Manager 10g, Oracle Process Manager and Notification Server (OPMN), and Distributed
Configuration Management (DCM)
Oracle Enterprise Manager 10g Grid Control is a Web-based system for centrally managing
Oracle products, host systems, and applications It provides a central console for monitoring distributed application servers and is integrated with Application Server Control for
performing administrative operations Oracle Enterprise Manager 10g Application Server
Control is a Web-based console for administration and real-time performance monitoring of the entire application server platform, including J2EE, OracleAS Portal, and OracleAS Wireless
Oracle Application Server provides a comprehensive, integrated set of security services for deploying applications and data on the Web Identity Management is an integrated
infrastructure that Oracle products use for distributed security
OracleAS Web Cache accelerates static and dynamic content delivery It uses caching, invalidation, compression, and assembly technologies to speed up the delivery of static and dynamic Web pages
Oracle Application Server has a set of features that provide communications and integration capabilities for e-business applications
Trang 282-14 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server Integration
Solutions
Oracle Application Server Components Integration Solutions
Oracle Application Server contains a set of features that enable A2A and B2B integration, and management tasks The principles of Service-Oriented Architecture (SOA) and native support for standards such as XML enhance the usability and portability of the integration The following are the different types of integration solutions available in Oracle Application Server:
• BPEL: This is a markup language for composing multiple services into an end-to-end
business process The BPEL process flow language represents machine-executable workflow BPEL is typically generated by vendor designer tools, such as Oracle BPEL
Trang 29Oracle Application Server Components Integration Solutions (continued)
• Oracle Application Server Integration InterConnect: This solution works on an
asynchronous communication infrastructure, which provides a robust architecture for integrated solutions
• Oracle Application Server Integration B2B: This solution provides a
standards-based platform to define, configure, manage, and monitor the exchange of information between two or more enterprises This type of solution also provides a wizard interface for extensive protocol support
• Oracle Application Server Adapter: This solution provides a complete solution for
connecting applications and systems by using the J2EE Connector Architecture (J2CA) standards-based architecture
Trang 302-16 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server Products
Oracle Application Server
OracleAS Infrastructure
OracleAS Developer Kits
Known as OracleAS Middle Tier; it includes Oracle HTTP Server, OC4J, OracleAS Web Cache, OracleAS Portal, OracleAS Wireless, and others
Identity Management services, and OracleAS Metadata Repository
Includes APIs and simple developer kits This does not include Oracle Developer Suite products.
Application Server Control is installed with each Oracle Application
Server installation.
Oracle Application Server Products
Oracle Application Server comprises three product sets:
• Oracle Application Server: Oracle Application Server is an integrated platform that
enables you to deliver Web content, host Web applications, connect to back-office applications, and access your data on wireless devices
• OracleAS Infrastructure: OracleAS Infrastructure consists of an Oracle database,
OracleAS Single Sign-On, and a directory server The database contains a collection of schemas and metadata that are used by the Oracle Application Server components OracleAS Infrastructure is required for most OracleAS Middle Tier applications It
Trang 312-17 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server
Installation Types
Each Oracle Application Server product has
installation types that enable you to select the Oracle
Application Server components for your installation.
J2EE and Web Cache
Portal and Wireless
Installs and configures Oracle HTTP Server, OC4J with J2EE 1.3, Web Services, and OracleAS Web Cache Installs and configures Portal and Wireless components, along with the J2EE and OracleAS Web Cache components
Business Intelligence and Forms
Installs and configures J2EE and Web Cache and Portal and
Wireless components, along with Forms, Reports, and Discoverer
Oracle Application Server Installation Types
Each Oracle Application Server product provides installation types that enable you to select the Oracle Application Server components for your installation
Oracle Application Server offers the following installation types:
• J2EE and Web Cache: Provides a basic Web server that implements J2EE
applications and accelerates Web caching
• Portal and Wireless: Enables the deployment of enterprise portals and wireless
applications This installation type includes the components available in the J2EE and Web Cache edition
• Business Intelligence and Forms: Provides the deployment of Business Intelligence
components This installation type includes the components available in the J2EE and Web Cache edition, and Portal and Wireless edition
Before installing an instance of Portal and Wireless or Business Intelligence and Forms, you must install and configure OracleAS Infrastructure in your network, optimally on a separate machine
Trang 322-18 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server Management
Oracle Application Server provides the following
management tools:
– To manage multiple Oracle Application Server instances
– The preferred browser-based interface, which can
be used from a remote location
Oracle Application Server Management
Use Oracle Enterprise Manager 10g Grid Control to manage an enterprise environment that
includes Oracle products and applications, in addition to Oracle Application Server From a central location, you can use Grid Control to manage databases, application servers, and Oracle applications across your entire network
The primary tool for managing individual Oracle Application Server instances is Oracle
Enterprise Manager 10g Application Server Control.
Oracle Enterprise Manager 10g Application Server Control is installed with every instance
of Oracle Application Server From the Application Server Control Console, you can
Trang 332-19 Copyright © 2005, Oracle All rights reserved.
Oracle Application Server Management
Server (OPMN):
– It monitors Oracle Application Server processes, and restarts them when needed.
– opmnctl is the command-line interface.
– It manages the configuration and maintains the configuration repository.
– dcmctl is the command-line interface.
Oracle Application Server Management (continued)
In addition to Application Server Control, Oracle Application Server provides
command-line interfaces to several key management technologies The command-line tools can help you automate your management procedures with scripts and custom utilities The two most important command-line tools are the following:
• opmnctl, which provides a command-line interface to Oracle Process Management Notification Server (OPMN)
• dcmctl, which provides a command-line interface to Distributed Configuration Management (DCM)
Trang 342-20 Copyright © 2005, Oracle All rights reserved.
OracleAS InfrastructureIdentity Management components
Directory Integration
Metadata repositories
Identity Management Configuration management
Oracle Internet Directory
Single Sign-On
Delegated Administration Service
Oracle Certificate Authority
Product metadata
OracleAS Infrastructure
OracleAS Infrastructure provides centralized services that are related to the product
metadata, Identity Management, and configuration management
OracleAS Infrastructure provides centralized Identity Management services, configuration information, and data repositories for middle-tier installations The key features that
middle-tier instances typically use are the following:
• Product Metadata Service: Product Metadata Service provides all of the metadata
that the middle-tier instances require It is bundled as part of the OracleAS
Infrastructure Product Metadata is looked up by middle-tier Oracle Application Server
Trang 352-21 Copyright © 2005, Oracle All rights reserved.
OracleAS Infrastructure Components
Identity Management components
Directory Integration
Metadata repositories
Identity Management Configuration management
Product metadata
Oracle Internet Directory
Single Sign-On
Delegated Administration Service
Oracle Certificate Authority
OracleAS Infrastructure Components
Infrastructure components can be grouped into Identity Management components and OracleAS Metadata Repository components When you install Infrastructure, you can specify whether you want to install Identity Management components, OracleAS Metadata Repository, or both The Oracle HTTP Server, OracleAS Containers for J2EE (OC4J), and Application Server Control components are always installed, regardless of the installation type you selected
• Identity Management components provide directory, security, and user-management functionality:
- Oracle Internet Directory
- OracleAS Single Sign-On
- Oracle Delegated Administration Services
- Oracle Directory Integration and Provisioning
- Oracle Application Server Certificate Authority
Some of these components (such as OracleAS Single Sign-On) have schemas in OracleAS Metadata Repository
Trang 36OracleAS Infrastructure Components (continued)
• OracleAS Metadata Repository is a collection of schemas that are used by other Oracle Application Server components The schemas can be grouped into the following categories:
- Product metadata
- Identity Management metadata
- Configuration Management metadata
Trang 372-23 Copyright © 2005, Oracle All rights reserved.
Oracle Internet Directory and Security
Web Cache
Oracle Internet Directory
Oracle HTTP Server
Partner application
External application
mod_osso
OracleAS Single Sign-On
Oracle Internet Directory and Security
Oracle Internet Directory is an LDAP server that can be used to store all the credentials required for the enterprise Oracle Internet Directory offers comprehensive and flexible support for directory access control This includes entry-level, attribute-level, and
prescriptive access control, to provide varying levels of security to fit enterprise and service provider needs
Oracle Internet Directory implements three levels of user authentication:
• Anonymous
• Password-based
• Certificate-based, using secure sockets layer (SSL) for authenticated access and data privacy
The Web-based Oracle Delegated Administration Services enables application
administrators to delegate user-management tasks, such as granting or restricting access to a specific directory attribute, entry, group, or naming context to application users
After Oracle Internet Directory is deployed, organizations can use OracleAS Single Sign-On
to provide a single point of validation for user credentials After users sign on successfully,
Trang 382-24 Copyright © 2005, Oracle All rights reserved.
Securing the Web Infrastructure
comprehensive suite of security services,
including OracleAS Single Sign-On.
used to protect the Web site.
credentials against Oracle Internet Directory,
which is an LDAP directory service.
Securing the Web Infrastructure
For network encryption and authentication, Oracle Application Server provides a
comprehensive suite of security services, including OracleAS Single Sign-On OracleAS Single Sign-On validates user credentials against Oracle Internet Directory, which is an LDAP directory service
Also, SSL encryption can be used to protect these transactions against malicious intrusion
Trang 392-25 Copyright © 2005, Oracle All rights reserved.
OracleAS Infrastructure Installation Types
into two categories:
– Identity Management components
– OracleAS Metadata Repository components
can choose to install:
– Identity Management
– Metadata Repository
– Both Identity Management and Metadata Repository
different components on different systems or
databases.
OracleAS Infrastructure Installation Types
OracleAS Infrastructure components are grouped into Identity Management components and OracleAS Metadata Repository components This grouping provides you with the flexibility
to install the OracleAS Infrastructure components on multiple computers or databases.For example, you can install OracleAS Metadata Repository on one computer and the
Identity Management components on another computer You can install the Identity
Management components on multiple computers as well
Selecting either the “OracleAS Metadata Repository” or the “OracleAS Metadata
Repository and Identity Management” option causes the Oracle Universal Installer
(Installer) to create a new database and populate it with OracleAS Metadata Repository.When you install only OracleAS Metadata Repository, Application Server Control is not
installed; instead, you can use Oracle Enterprise Manager10g Database Control to manage
OracleAS Metadata Repository
Selecting the Identity Management option requires that you have an existing OracleAS Metadata Repository
You can use an existing database for creating OracleAS Metadata Repository by using the
Trang 402-26 Copyright © 2005, Oracle All rights reserved.
Installation Types That Require
Infrastructure
OracleAS Infrastructure as a prerequisite.
type, you need OracleAS Infrastructure as a
prerequisite.
Installation Types That Require Infrastructure
The J2EE and Web Cache installation type does not require OracleAS Infrastructure
It is necessary to have Identity Management already installed if you intend to use OracleAS Single Sign-On Similarly, you would need OracleAS Metadata Repository installed to use the database-managed application server clustering An application server cluster is a
collection of application server instances with identical configuration and application
deployment Clusters enforce homogeneity among member instances so that a cluster of application server instances can appear and function as a single instance
Before installing the Portal and Wireless installation type, you must install and configure