Find Courses Here
BEA WebLogic Server 8.1: Developing Web Applications Print E-mail
Course Length - 3 Days
 
Course Description

This course provides hands-on experience building Web applications for BEA WebLogic Server 8.1 using BEA WebLogic Workshop 8.1 as the development environment. The student builds real-life applications using page flows, JSPs, controls, JDBC services, and Web services.

 

You Will Learn How To:

After completing this course, the student should be able to:

  • Create a J2EE development environment and design large J2EE Web applications
  • Write Web applications that access databases, Web services, XML files and pre-built EJBs
  • Consume and develop BEA WebLogic Workshop 8.1 controls
  • Use BEA WebLogic Workshop 8.1 to create page flows and JSP’s
  • Secure Web applications
  • Learn XQuery and XMLBeans for XML data manipulations
 

Course Prerequisites

  • Participants should have software development background. Particularly they should be familiar with Java, XML, and Web development.
  • The following course can provide the needed background in Java if required: Introduction to Java using Eclipse
 

Who Should Attend?

Web application designers and programmers who are interested in learning the web development capabilities of WebLogic Workshop.

 

Course Outline

Introduction to WebLogic Platform

  • Introduction
  • WebLogic Server
  • WebLogic Portal
  • WebLogic Integration
  • WebLogic Workshop
  • WebLogic Workshop Framework
  • Annotation Based Programming

Introduction to WebLogic Workshop

  • Objectives
  • WebLogic Workshop IDE
  • Navigate Application Files
  • Visual Page Flow Design
  • Action View
  • Source View
  • Flow Navigation Tab
  • Property Editor
  • The Palette
  • Document Structure Tab
  • Screen Tips
  • J2EE EAR File
  • What are Modules?
  • J2EE Deployment Descriptors
  • Workshop Applications and Projects
  • Creating an Application
  • Creating a Project
  • The Build Process
  • Creating Server Configurations
  • IDE Properties
  • Application Properties
  • Control Test Server
  • Deploy Application
  • Summary
  • Reference

J2EE and WebLogic NetUI

  • Objectives
  • Goals of Enterprise Applications
  • What is Java?
  • What is J2EE?
  • Role of Application Server
  • The J2EE Specifications
  • J2EE Components
  • What is a Servlet?
  • What is a JSP?
  • What is an EJB?
  • Model-View-Controller Architecture
  • MVC An Example
  • Problems Using J2EE for MVC
  • NetUI Framework
  • NetUI Page Flow
  • Page Flow Execution
  • Page Flows and MVC
  • Visual Page Flow Design
  • Creating a Page Flow
  • Creating Form Beans
  • Creating Actions
  • Creating Forwards
  • Forward Names
  • Advantages to Page Flows
  • Summary
  • Reference

Form Validation

  • Objectives
  • Purpose of Form Validation
  • Types of Validation
  • Workshop Validation Framework
  • Adding Validation Logic
  • Create Message Catalog
  • Add Messages to Catalog
  • Link Page Flow to Message Catalog
  • Add Validation Logic to a Form Bean
  • Returning ActionErrors
  • Specify Validation Error Forward
  • Display Errors on JSP Pages
  • Optional Message Keys for Errors
  • Default Error Page
  • Summary
  • Reference

Control Architecture

  • Introduction
  • Types of Controls
  • Advantage of Controls
  • Basic Features of the Framework
  • Control Invocation
  • Control Development Artifacts
  • Using Controls
  • Extending a Pre-built Control
  • Creating a Custom Control
  • Using a Control
  • Registering Callbacks
  • Database Control
  • SQL Statement for Method
  • Returning Values
  • Web Service Control
  • Creating a Web Service Control
  • Using a Web Service Control
  • JMS Control
  • Extending the JMS Control

JavaServer Page (JSP) Basics

  • Objectives
  • JavaServer Pages
  • A Simple Example - Hello.jsp
  • JSP Benefits
  • Evolution of Dynamic Content Technologies
  • How JSP Works
  • JSP Invocation
  • JSP Scripting Elements
  • The XML Syntax
  • JSP Directive
  • page Directive Attributes
  • page Directive an Example
  • page Attribute errorPage
  • page Attribute isErrorPage
  • Using XML Syntax
  • Directives include
  • Include an Example
  • Include an Example
  • Include at compile time vs. at request time
  • Request time inclusion
  • JSP Declarations
  • Declarations an Example
  • JSP Expressions
  • JSP Expressions an Example
  • JSP Scriptlets
  • JSP Scriptlets an Example
  • JSP Scriptlets an Example
  • JSP Comments
  • JSP Predefined Variables
  • The request Object
  • The response Object
  • The out Object
  • Out an Example

Workshop NetUI JSP Tags

  • Objectives
  • Purpose of Custom Tags
  • Components of Custom Tags
  • NetUI Custom Tags
  • NetUI HTML Library
  • NetUI Data Binding Library
  • NetUI Template Library
  • Adding NetUI Tags in Workshop
  • NetUI Tag Attributes
  • Data Binding and XScript
  • Using XScript to Access Data
  • Use of XScript in NetUI Tags
  • Data Binding Contexts
  • Accessing Named Attributes
  • Common NetUI HTML Tags
  • Common NetUI Data Binding Tags
  • Common NetUI Template Tags
  • Summary
  • Reference

Advanced Page Flow

  • Objectives
  • Nested Page Flow
  • Nested Page Flow - Differences
  • Creating a Nested Page Flow
  • Nested Page Flow Exits
  • Situations for Nested Page Flows
  • Examples of Nested Page Flows
  • Returning Data From Nested Page Flows
  • Other Navigational Elements
  • Anchors
  • Return
  • Summary

Enterprise JavaBean (EJB) Overview

  • Objectives
  • Needs for EJB
  • Distributed Computing
  • Distributed Transaction
  • Distributed Security
  • What are EJBs?
  • Main Characteristics of EJBs
  • EJB Remote Method Call
  • EJB Architecture Components
  • EJB Client
  • EJB JAR File
  • EJB Server
  • EJB Container
  • EJB Container - Persistence
  • EJB Container - Transaction
  • Enterprise Java Beans
  • Session Beans
  • Entity Beans
  • EJB Classes and Interfaces
  • Basic Components of Entity and Session Beans
  • EJB Home Interface
  • An EJB Home Interface Example
  • EJBHome Object
  • EJB Remote Interface
  • Remote Interface Example
  • EJB Local Home Interface
  • EJB Local Interface
  • Remote EJB Objects
  • Local EJB Objects
  • EJB Implementation Class
  • Remote v. Local EJBs
  • EJB Application Development
  • Deploying Enterprise Beans
  • Major Components of Deployed EJBs
  • Summary

XML Schema Basics

  • Objectives
  • What is an XML Schema?
  • Creating a Schema File
  • Defining a Simple Element
  • Defining a Complex Element
  • Defining Element Attributes
  • Referring to an Element From Another Element
  • Defining Abstract Data Types
  • Adding Restrictions
  • Referring to a Schema from an XML Document
  • Validating the XML Against the Schema
  • Summary

Introduction to Web Services

  • Objectives
  • Web Service Example
  • What are Web Services?
  • How do Web Services Communicate?
  • How are Web Services Described?
  • WSDL Example
  • How are Web Services Discovered?
  • Web Service Architecture
  • Web Service Security
  • Deploying Web Services
  • Summary
  • Reference

Developing Web Services in Workshop

  • Objectives
  • Difficulties in Developing Web Services
  • Benefits of Workshop Web Services
  • Workshop Web Service Definition
  • Using Controls in Web Services
  • "Wrapping" J2EE Components with Web Services
  • Complex Return Types
  • Web Service Bindings
  • Testing Web Services
  • Generating WSDL Files
  • Developing Web Service Clients
  • Summary
  • Reference

WebLogic Security

  • Objectives
  • Authentication and Authorization
  • Challenge Mechanism
  • J2EE Security Roles
  • Workshop Framework Security
  • Securing a Page Flow
  • Creating Security Roles
  • Creating Users and Groups
  • Mapping Roles to Principals
  • Configure Secure Page Flow
  • Nested Login Page Flow
  • Securing Other Resources
  • Security Exceptions
  • Transport Security
  • Digital Certificates
  • SSL (Secure Sockets Layer)
  • Using SSL in Web Applications
  • Summary
  • Reference

Build and Deployment Process

  • Basics
  • Basic Build Process
  • Changing the Deployment Descriptor
  • Dealing With Web Services End Point
  • Application Views
  • WebLogic Administration Domain
  • WebLogic Administration Server
  • WebLogic Managed Server
  • WebLogic Administration Console
  • Auto Deployment
  • Auto Deployment Intervals
  • Manually Install an Application in WebLogic