Consulting Training Blog Careers About Us Contact Us
All Classes Will Be Held Virtually – Live Online Intertech's Training Division has been successfully instructing professionals through virtual live online training since the advent of the smartboard. It is a proven form and offers the convenience of live questions, group interaction, and labs with an instructor looking over your shoulder. Because of this, we will continue all classes live but virtually, including Agile and Scrum instruction, so businesses and individual’s seeking professional development can keep moving forward during these unexpected times.

Complete Java EE 5 Servlets and JSP Development with NetBeans Training

Course ID: WAS1539
Duration: 5 Days

Upcoming Classes

Click the Get Notified button for priority notification when a class is next scheduled.

Get Notified

On Site/Private

Can't find a class that fits right for you? Contact us to inquire about scheduling your own private class

Contact Us

Description

Students will learn to develop and test server-side applications based on the Java Platform, Enterprise Edition (Java EE) component model using the Sun software platform of products and tools. Develop and test server-side applications that use Servlets and JavaServer Pages (JSPs) for the control and flow of e-business applications.


 

Bring This Course To You

For groups of 5 or more, let Intertech bring this course to your location. Customized versions tailored towards your objectives are also available.

Learn More

Learning Objectives

  • Use NetBeans IDE 5.5 as a truly, integrated development environment
  • Build Servlets according to the current Servlet 2.5 specification
  • Build JSPs according to the current JSP 2.1 specification
  • Build custom JSP tag libraries
  • Integrate Servlets and JSPs into a complete Java EE application
  • Test Servlets and JSPs using NetBeans IDE 5.5 and Sun Java System Application Server 9
  • Deploy a Java EE application to Sun Java System Application Server 9 

Prerequisites

You should understand essential concepts of Object-Oriented Programming and be able to write simple Java programs with assistance.

Course Outline

Introduction to NetBeans IDE
  • NetBeans 5.5 IDE
  • Projects Window
  • Source Editor
  • Files Window
  • Runtime Window
  • Navigator Window
  • Output Window
  • Standard Projects
  • Free-Form Projects
  • Templates
  • Building, Running, and Debugging Projects Using Ant
  • Setting Main Project
  • Opening and Closing Projects
  • Code Completion
  • Searching
  • Setting Project’s Class Path
  • Setting Project’s Target JDK
Introduction to Java EE 5
  • Java Web Applications
  • Java Web Application Architecture
  • Java EE Architecture
  • Java EE Software Packaging
  • Deployment Descriptors
  • Java EE Module Structure
  • Enterprise Archive (EAR)
  • Web Modules and WAR
  • EJB Modules
  • Web Application Programming Model – MVC
  • The Infrastructure for Enterprise Web Applications
Java EE Programming Tools in NetBeans IDE
  • Create an Enterprise Application Project
  • Setup Utility JAR
  • Create an EJB Module Project
  • Create a Web Application Project
  • Setup Dependent JAR Files
  • Register a Server
  • Select Server An Application Runs On
  • Start and Stop the Server
  • Test a Servlet
  • Debug a Servlet
  • Test a JSP
  • Debug a JSP
Servlet Basics
  • History – CGI
  • Server Extension APIs
  • Java Servlet
  • Servlet Container
  • Servlet Responsibilities
  • Java EE and Servlet
  • The Servlet Class
  • The HttpServlet Class
  • The Servlet Container
  • The Servlet API
  • Life Cycle – Initialization
  • Life Cycle – Processing
  • Life Cycle – Destroy
  • User Input
  • Output to Client
  • Servlet Error Handling
  • Threading Issues
  • Registering a Servlet in the Web Deployment Descriptor
  • Create a Servlet in NetBeans
  • Code Servlet Methods
  • The Web Deployment Descriptor
  • Test the Servlet
  • Debug Servlets
Servlet Interaction Interface
  • Request
  • Request Parameters
  • Request Attributes
  • Request Headers
  • Request Path
  • Other Request Information
  • Response
  • Cookies
  • Setting Cookies
  • Servlet Context
  • Servlet Context Attributes
  • Resource
  • Session Tracking
  • Tracking Techniques
  • Cookies
  • HTML Hidden Fields
  • Using HttpSession
  • Session Invalidation
  • HttpSession - URL Rewriting
JavaServer Page (JSP) Basics
  • JavaServer Pages
  • JSP Benefits
  • Evolution of Dynamic Content Technologies
  • How JSP Works
  • JSP Invocation
  • JSP Scripting Elements
  • JSP Directive
  • page Directive Attributes
  • page Attribute – errorPage
  • page Attribute – isErrorPage
  • Directives – include
  • Include at compile time vs. at request time
  • Request time inclusion
  • JSP Declarations
  • JSP Expressions
  • JSP Scriptlets
  • JSP Comments
  • JSP Predefined Variables
  • The request Object
  • The response Object
  • The out Object
  • Creating a JSP with NetBeans
  • Editing a JSP with NetBeans
  • Testing a JSP with NetBeans
  • Debugging a JSP with NetBeans
Advanced JSP
  • What is a JavaBean?
  • Structure of a JavaBean
  • Life Cycle
  • Properties
  • Very Simple Bean
  • Very Simple Bean
  • The jsp:useBean tag
  • Java Bean scope
  • jsp:useBean in Action
  • The jsp:getProperty tag
  • The jsp:setProperty tag
  • Mapping all the request parameters
  • Mixing Scriptlets and Bean tags
  • Configuring JSPs in Deployment Descriptor
Unified Expression Language and JSP Standard Tag Library (JSTL)
  • Unified Expression Language
  • Basic Usage
  • Built-in Objects
  • Working With Arrays and Maps
  • Operators
  • JSP Standard Template Library (JSTL)
  • Run Time Version
  • Basic Tags
  • Condition Tags
  • Interator Tags
  • Internationalization (I18N)
  • Setting Preferred Locale
  • Specifying Resource Bundle
  • Display Translated Text
  • Display Number
  • Display Date
  • JDBC Tags
  • Specify Data Source
  • Performing a Query
  • Display Result
  • Deferred Expressions
Servlet Programming – Advanced
  • Key Issues for Web Application Development Productivity
  • Web Application Programming Model – MVC
  • Model
  • View
  • Controller
  • What is JDBC?
  • JDBC Architecture
  • JDBC: Basic Steps
  • Loading a Driver
  • DB2 UDB JDBC Drivers
  • Oracle JDBC Drivers
  • Create a Connection
  • Statement
  • PreparedStatement
  • ResultSet
  • Close the Connection
  • Need for Connection Pooling
  • Connection Pooling in JDBC 2.0
  • Access a DataSource
  • Get a Connection
  • Release Connections
  • Resource References
  • JavaBeans
  • MVC Implementation
  • Request Dispatching
  • Request Dispatching - Forward vs. Include
  • HTTP Redirection
  • Dispatch vs. redirection
  • Integrating Servlet and JSP
  • Calling a JSP from a Servlet
  • Request Dispatching - forward Request to JSP
  • Supply Result information to the JSP
  • Display JavaBean Properties in JSP
  • Creating a Data Source with NetBeans
  • Adding Resource Reference in NetBeans
  • Create a Java Bean with NetBeans
  • Add Attributes and Getters and Setters with NetBeans
Servlet Filters
  • What is a filter?
  • Why use a filter?
  • Uses for Filtering
  • Features of filters
  • The Filter interface
  • How a filter works
  • In what order?
  • A simple logging filter
  • Configuring the filter
  • Mapping the filter
  • The Web Deployment Descriptor
  • Common filter tasks
  • Request and Response Wrappers
Servlet Event Listener
  • What are Listeners
  • Types of Listeners
  • Writing a Servlet Context Listener
  • Writing a Servlet Context Attribute Listener
  • Writing a Session Activation Listener
  • Writing a Session Attribute Listener
  • Registering Listeners
  • Lifecycle of Listeners
Simple Custom Tags
  • What are Custom Tags (a.k.a. Tag Extensions)?
  • Motivation
  • Simple Tags, Tag Files, and Classic Tags
  • Simple Tag Handlers
  • Tag Attributes
  • Tag Body
  • Tag Library Descriptor
  • carPrice.tld
  • The Java Server Page
  • Writing a Simple Tag Handler Class
  • Simple Tag Handler Life Cycle
  • Rendering Content
  • Implementing Empty Body Tag
  • carPrice.jsp
  • Implementing a Tag With Unprocessed Body
  • Handling Tag Bodies
  • Implementing Body Processing
  • Implementing an Iteration Tag
  • Nested Tags
JSP Tag Files
  • What are JSP Tag Files?
  • Motivation
  • Similarities to a JSP
  • The Java Server Page
  • Location of Tag Files
  • Simple Attributes
  • Fragment Attributes
  • Tag File Directives
  • Reusing Tag Files
Java EE Security
  • Authentication
  • Java EE Authentication Mechanisms
  • Specifying Authentication Mechanism
  • Authorization
  • Java EE Roles
  • Declaring Roles
  • Protecting Web Resources
  • Programmatic Authorization
Java EE Annotations
  • What are Annotations?
  • Java Metadata Specification (JSR-175)
  • Where Can Annotations Be Used?
  • @EJB, @EJBs
  • @PersistenceContext, @PersistenceContexts
  • @PersistenceUnit, @PersistenceUnits
  • @PostConstruct, @PreDestroy
  • @Resource, @Resources
  • @WebServiceRef, @WebServiceRefs
Java EE Application Deployment
  • Application Deployment Descriptor
  • Deployment Descriptors
  • Bean Developer Entries
  • Application Assembler Entries
  • Separate Client Side Code (Optional)
  • Generate Deployed Code
  • Export EAR
  • Export Client JAR
  • Java EE Deployment
  • Administrative Console
  • Environment Variables
  • Security
  • Resources
  • Installing Applications
  • Server Options
  • Starting an Application
Introduction to JavaServer Faces
  • What is JavaServer Faces (JSF)?
  • Why Use JSF?
  • Nature of a JSF Application
  • The Sun Reference Implementation (RI)
  • JSF and MVC
  • Faces Servlet
  • Managed Bean
  • The View
  • A Simple JSF Application
  • The Input Form: form.jsp
  • The Result: thanks.jsp
  • The Controller: AddressBean
  • Page Flow or Navigation Rule
  • How Does the Application Work?
  • Under the Covers: The Rendered Form HTML
  • Under the Covers: The Layout Tree

Free Resources from Intertech

Complete Guide to Becoming a Full Stack Developer

2 Free Resources: Missed Issues in Software Estimation and Stakeholder Questionnaire

Free Whitepaper: Java QA - Tools for Unit Testing

X