Skip Navigation Links

Course Length:
5 Days
Course Description:
This course is an introduction to writing JEE-compliant Web applications using Oracle WebLogic Server 10.x and Oracle Workshop for WebLogic. An overview of JEE technology is provided, followed by hands-on experience with JNDI, JDBC, Java servlets, and JavaServer pages. Other topics covered include servlet filters, custom JSP tags, JavaMail, and an overview of JavaServer Faces (JSF).
Who Should Attend:
Experienced Java programmers and software engineers preparing to write components for JEE Web applications hosted on Oracle WebLogic Server.
Benefits of Attendance:
Upon completion of this course, students will be able to:
  • Start, stop, and configure WebLogic Server
  • Write, deploy, and test Java EE components using the Oracle Workshop development tool
  • Use JNDI to access JDBC data sources
  • Write and deploy servlets and JavaServer pages on WebLogic server
  • Use JDBC to read and update a database
  • Create and process HTML forms
  • Work with cookies and HTTP sessions
  • Assemble and configure a J2EE-compliant Web application
  • Use servlet filters for pre- and post-processing HTTP requests
  • Create custom JSP tags
  • Use the JavaMail API to send email from Web applications
  • Create security principals and roles
  • Apply security to Web pages
  • Implement the Model View Controller architecture
  • Write simple applications using the JavaServer Faces framework
Prerequisites:
Students should be comfortable with Java programming and object-oriented concepts. A minimum of six months coding experience is suggested. In addition, students should be familiar with writing simple Web pages using HTML. Prior experience using SQL and/or JDBC will be helpful.
Course Outline:
  • Chapter 1: Overview of Java EE
    1. Java Editions
    2. Characteristics of "Enterprise" Computing
    3. Java EE Technologies
    4. Multi-Tier Architectures
    5. Advantages of Multi-Tier Architectures
    6. Container-Based Approach
    7. Java EE Application Models
    8. Java EE Web Application Model
  • Chapter 2: Introduction to Oracle Workshop
    1. What is Oracle Workshop?
    2. Starting Oracle Workshop
    3. Configuring the WebLogic Test Environment
    4. Starting and Stopping WebLogic
    5. Administration Console
    6. Setting Preferences in Oracle Workshop
    7. Creating a Dynamic Web Project
  • Chapter 3: Servlets
    1. A Simple Servlet
    2. Web Applications
    3. Configuring Servlets
    4. Running Servlets in Oracle Workshop
    5. Servlet Initialization Parameters
    6. Generating and Validating Forms
    7. Servlets and Threads
    8. Other Settings in web.xml
    9. Creating a New Servlet
  • Chapter 4: Session Management
    1. Cookies
    2. Sessions
    3. Session ID's
    4. Session Management
    5. Session Management Example
    6. Invalidating Sessions
    7. Configuring the Session Timeout
  • Chapter 5: JavaServer Pages
    1. JavaServer Pages
    2. A Simple JSP
    3. Running JavaServer Pages in Oracle Workshop
    4. JSP Syntax
    5. Configuring JavaServer Pages
    6. JSP Directives
    7. JSP Actions
    8. JSP Example with Forwarding
    9. JavaServer Pages and JavaBeans
    10. JSP With JavaBean Example
    11. JavaBean Class
    12. Running the JSP Bean Example
    13. Creating a New JSP
  • Chapter 6: Custom JSP Tags
    1. Using Custom Tags
    2. Types of Tags
    3. Defining Tags
    4. The tag Element
    5. Simple Tags
    6. Simple Tags - Example
    7. Tags with Attributes
    8. Tags with Attributes - Example
    9. Using JSP Expressions as Attributes
    10. Including the Tag Body
    11. Including the Tag Body - Example
    12. Optionally Including the Body
    13. Including the Body Multiple Times
    14. Including the Body Multiple Times - Example
    15. Running the Examples
  • Chapter 7: Web Application Security
    1. HTML Form for Survey Application
    2. HTML Code for Survey Form
    3. Servlet Code for the Survey Application
    4. JavaBean Class for the Survey Application
    5. Running the Survey Application
    6. Java EE Security
    7. Users and Groups
    8. Adding Users in the Administration Console
    9. Authentication
    10. Configuring Authentication for Web Applications
    11. Authorizing Access to Resources in a Web Application
    12. Web Application Security – Example
  • Chapter 8: Java Naming and Directory Interface
    1. What is JNDI?
    2. Benefits of JNDI
    3. Naming Services
    4. Directory Services
    5. Using JNDI
    6. Context Operations
    7. JNDI Utility Class
    8. JNDI Example
    9. Running the JNDI Example
    10. Naming Exceptions
    11. Creating a New Standalone Program
  • Chapter 9: Database Access using JDBC
    1. A Simple JDBC Program
    2. JDBC Driver Types
    3. Connection Pools
    4. JDBC Data Sources
    5. Data Source Example
    6. Configuring JDBC Data Sources
    7. Running the JDBC Examples
    8. Using JDBC in a Servlet
    9. Using JDBC in a JSP
  • Chapter 10: Design Concepts for Web Applications
    1. Architecture and Design
    2. Tiered Architectures
    3. Model-View-Controller Architecture
    4. Java EE Design Patterns
    5. Composite View Pattern
    6. Composite View Strategies
    7. Running the Demo Application
    8. Composite View Pattern – Implementation
    9. View Helper Pattern
    10. View Helper Pattern – Implementation
    11. Front Controller Pattern
    12. Front Controller Pattern – Implementation
    13. Intercepting Filter Pattern
  • Chapter 11: Servlet Filters
    1. What is a Filter?
    2. Sample Filter
    3. The Filter API
    4. Initializing Filters
    5. Blocking the Response
    6. Modifying the Response
    7. Running the Filter Examples
    8. Creating a New Filter
  • Chapter 12: JavaMail
    1. JavaMail
    2. Example - Send Mail
    3. Example - Read Mail
    4. Running the Examples
  • Chapter 13: JavaServer Faces
    1. What is JavaServer Faces?
    2. JSF Development Roles
    3. Developing a JSF Application
    4. Validators
    5. Example – Creating a Form
    6. Running the First Example
    7. Backing Beans
    8. Example – Processing a Form
    9. Backing Bean Class
    10. The faces-config.xml file
    11. Running the Second Example
  • Appendix A: Web Resources
    1. Java Technology
    2. WebLogic
  • Appendix B: HTML Reference
    1. Introduction
    2. A Simple HTML Document
    3. Basic Tags
    4. Formatting Tags
    5. Links
    6. Forms
  • Appendix C: Web Accessibility
    1. What is Accessibility and Why It is Important?
    2. What is Section 508?
    3. Accessibility Initiatives and Related Legislation
    4. Types of Disabilities
    5. Assistive Technologies
    6. Benefits of Accessible Design
    7. General Coding Practices
    8. Non-Text Elements
    9. Multimedia Presentations
    10. Color and Style Sheets
    11. Image Maps
    12. Tables
    13. Frames, Frequency, and Equivalents
    14. Scripting
    15. Programming
    16. Forms
    17. Repetitive Navigation Links
    18. Timed Responses
    19. Other Recommendations
  • Appendix D: A JSP Template Mechanism
    1. A Sample Application
    2. A JSP Template Mechanism
    3. Implementing the Template Mechanism with Custom JSP Tags
    4. Classes in the Sample Application
    5. Tag Library Descriptor
    6. Running the Sample Application
  • Appendix E: Web Services
    1. Service-Oriented Architecture
    2. Web Service Components
    3. Simple Object Access Protocol
    4. SOAP Message Format
    5. The SOAP Envelope
    6. WSDL and UDDI
    7. Example
    8. Creating a Web Services Project
    9. Running the Example
    10. Testing with the WebLogic Test Client