Learning Path: Enterprise Web Programming with Java

Video description

Get practical experience in professional Java web programming for enterprises. Start by learning about web apps and databases using JavaServer Pages (JSP) and Plain Old Java Objects (POJOs). As you progress, you’ll learn how to extend and improve upon a sample shopping cart web application. Finally, you’ll spin up an Apache Tomcat web server and see how it all comes together.

Publisher resources

Download Example Code

Table of contents

  1. Introduction
    1. Course Intro And What To Expect
    2. About The Author
  2. Getting Started
    1. A Full Code Example To Get Started
    2. A First Look At The Introductory Web App's Pieces
    3. The JSP Template Piece
    4. The Web Server Piece: Tomcat
    5. Technologies In Play With Web Apps
    6. Web Sites, Web Services, And Web Apps: Clearing Up The Jargon
    7. Web App Deployment Part - 1
    8. Web App Deployment Part - 2
    9. Exercise: Web App Deployment
    10. The Database Piece Part - 1
    11. The Database Piece Part - 2
    12. The Database Piece Part - 3
    13. Wrap Up Of Getting Started
  3. Web Apps And Databases Using JSP And POJOs
    1. Overview Of The JSPdb Web App
    2. Code Analysis Of The JSPdb Web App
    3. Extending The JSPdb Web App
    4. The JSP-CRUD (Create-Read-Update-Delete) Web App 1
    5. The JSP-CRUD Web App 2
    6. The JSP-CRUD Web App 3
    7. Exercise: Paginating A JSP Web App
    8. Debugging Web Apps 1
    9. Debugging Web Apps 2
    10. Reading Request Parameters In A Web App
    11. Formatting Output With JSTL
    12. Web App Logic And Back-End POJOs
    13. Wrapup Of JSP Basics
  4. Servlets
    1. Overview Of The Servlet Interface And Implementations
    2. Flow Of Control In Servlets
    3. A GenericServlet Example
    4. An HTTP Servlet Example
    5. Exercise: The Rock-Scissors-Paper Game And A Servlet Implementation
    6. Overview Of The Ski Equipment Web App
    7. Code Analysis Of The Ski Equipment Web App 1
    8. Code Analysis Of The Ski Equipment Web App 2
    9. Testing: The All-Important Process
    10. HTTP Basics: A Look Under The Hood
    11. Concurrency Issues In Java Web Apps
    12. Concurrency And Database Transactions
    13. Overview Of A Transaction In The Ski Equipment Web App
    14. Code Analysis Of A Transaction In The Ski Equipment Web App
    15. Wrapup Of JSP And JDBC Interaction
    16. Exercise: Hands-On With JDBC And The Database
  5. The Legendary Shopping Cart Example
    1. Overview Of The Shopping Cart As A Web App
    2. Flow Of Control In The Shopping Cart Web App
    3. Shopping Cart Code (Version 1)
    4. Exercise: Extracting Data From HTTP Requests
    5. Setting Up Email For Order Confirmation
    6. Email Confirmation Code
    7. Exercise: Bringing A MVC Style To Order Confirmation
    8. Overview Of ORM (Object Relation Mapping) And JPA (Java Persistence API)
    9. Setting Up The Eclipselink ORM
    10. Overview Of The ORM Code
    11. Analysis Of The ORM Code
    12. Shopping Cart With JPA (Version 2)
    13. Analysis Of The Shopping-Cart-With-JPA Code
    14. Exercise: Using JPA And ORM
    15. Wrapup Of ORM And JPA In The Shopping Cart Examples
  6. Extending And Improving The Shopping Cart Web App
    1. Adding A Customer-Registration Module To The Shopping Cart Web App
    2. Customized Tags And Tag Files
    3. Customized Tag Specifics
    4. User-Data Validation And Regular Expressions (Regexes)
    5. Clear Passwords And Message Digests
    6. Analysis Of The Message-Digest Code
    7. Analysis Of The Customer-Registration Code
    8. Exercise: Building A Customized Tag
    9. Wrapup Of Data Validation, Customer Registration, And Customized Tags
  7. Bringing Javascript Into Play
    1. Introduction To Javascript And The Dom (Document Object Model)
    2. A Standalone Javascript Example
    3. The Maps Example: Using A Javascript API
    4. Overview Of The CDs Web App: Jquery As A Web-Service Client
    5. Analysis Of The CDs Web App Code
    6. Introduction To Ajax As Partial-Page Updating
    7. Overview Of The Ajax Polling Example
    8. Analysis Of The Ajax Polling Code
    9. Exercise: Using Javascript To Process JSON (Javascript Object Notation) Documents
    10. Javascript And HTML5: A Shift In Who Does What
    11. Analysis Of JQuery UI And HTML5 Code For Using Calendars To Input Dates
    12. Wrapup Of Javascript And JS Frameworks Such As JQuery
  8. JSF Java Server Faces: A Higher-Level Framework For Web Apps
    1. An Overview Of JSF
    2. The Question Of File Extensions: .JSF And .XHTML
    3. Overview Of The Tempconvert Web App In JSF
    4. Analysis Of The Tempconvert Code 1
    5. Analysis Of The Tempconvert Code 2
    6. Analysis Of The Tempconvert Code 3
    7. JSF Architecture And Special Features
    8. Namespaces And Customized Tags In JSF
    9. Overview Of The JSFskis Web App
    10. Analysis Of The JSFskis Code 1
    11. Analysis Of The JSFskis Code 2
    12. Exercise: Writing A Web App In JSF
    13. Wrapup Of JSF
  9. Web App Security: Wire-Level Security
    1. Overview Of Security: What We've Seen So Far, Where We're Going Next
    2. Peer Authentication In Wire-Level Security: The Basic Ideas
    3. Analysis Of The Peer Authentication Code
    4. Review Of The Major Points In Wire-Level Security
    5. HTTPs Handshake
    6. Enabling Tomcat For HTTPs Connections
    7. A Web App With Mandated HTTPs
    8. Exercise: An HTTPs Web App, Start To Finish
    9. Wrapup Of Wire-Level Security
  10. Web App Security: User Authentication And Role Authorization
    1. Overview Of Users/Roles Security
    2. Overview Of The URsecure Web App
    3. Analysis Of The URsecure Code
    4. Tomcat Security Realms
    5. Exercise: Improving Security Management In The URsecure Web App
    6. Wrapup Of Users/Roles Security
  11. Conclusion
    1. Course Wrapup And Thank You
  12. Introduction
    1. Overview Of The Tomcat Web Server
    2. About Me
  13. Tomcat Installation
    1. Tomcat Installation 1
    2. Tomcat Installation 2
    3. Tomcat Installation 3
    4. Tomcat And Core Java
    5. Tomcat Request Mapping
    6. Tomcat Directory Structure
    7. Tomcat Installation Exercise
    8. Installation Exercise Assessment
  14. Htttp And Web-App Deployment
    1. Http Basics 1
    2. Http Basics 2
    3. Http, The Web Container, And The Web App
    4. Web App Deployment Basics 1
    5. An Overview Of Deployment Examples
    6. Web App Deployment Basics 2
    7. Deployment Tools
    8. Ant Script Demonstration
    9. Deployment Exercise
    10. Deployment Exercise Assessment
  15. Troubleshooting Deployed Web Apps
    1. Web-App Navigation Issues 1
    2. Web-App Navigation Issues 2
    3. Wrapup Of Web-App Navigation
    4. Tomcat's Web Console
    5. Troubleshooting: The Big Picture
    6. Bad XML Files In A Deployed War File
    7. JSP Script To Java Servlet Translation
    8. JSP Translation Errors
    9. Tomcat Help On Run-Time Error Detection
    10. Precompiling JSP Scripts
    11. Troubleshooting Wrapup
  16. Web-App Types And Concurrency Issues
    1. Web Sites, Web Services, And Web Sockets
    2. A Web Site Example
    3. A Web Service Example
    4. A Web Socket Example
    5. Concurrency Issues In Web Apps
    6. A Thread-Unsafe Servlet
    7. Concurrency And Thread-Safety Wrapup
    8. Where To Put The JARs That Hold Software Libraries
  17. Transport-Level And Container-Managed Security In Tomcat
    1. Security Overview
    2. A Security Example With The 'Curl' Utility
    3. Security Concepts
    4. Peer Authentication And The Https Handshake
    5. Tomcat Configuration For Https
    6. Https Exercise
    7. Https Exercise Assessment
    8. Request Redirection And Https
    9. Overview Of Users-Roles Security
    10. Tomcat Security Realms
    11. A Web-App Demonstration Of Container-Managed Security
    12. Security Wrapup
  18. Selected Advanced Topics
    1. Customizing And Analyzing Tomcat Logging
    2. Virtual Hosts In Tomcat
    3. Remote Monitoring And Management Of Tomcat
    4. Tomcat And CGI
  19. Wrapup
    1. Screencast Wrapup

Product information

  • Title: Learning Path: Enterprise Web Programming with Java
  • Author(s): O'Reilly Media, Inc.
  • Release date: August 2016
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781491971482