2015-05-16 Alta

Advanced Java Servlets

Prerequisites

You must have completed the Servlets and JSP’s Beginner course before doing this course

Intended Audience

Advanced Java Servlets and JSP’s training course builds upon the Beginning Servlets and JSPs course to
complete all the required knowledge you will need to build a fully fledged web application.
A good fundamental knowledge of Servlets will prepare you best for all following technologies and frameworks to master.

After this course you should be able to

  • Use standard JSP tags to work with JavaBeans.
  • Use EL in your JSPs to access the attributes and properties of JavaBeans, maps, arrays, and lists.
  • Use EL with the implicit EL objects to work with request parameters, request headers, cookies, context initialization parameters, and pageContext objects.
  • Disable or enable EL or scripting.
  • Use the JSTL core library in combination with EL to remove Java code from your JSPs.
  • Use the documentation for the JSTL libraries to learn about other JSTL capabilities.
  • Create a Tag Library Descriptor (TLD) for custom tags, and write the tag handler classes that implement these tags.
  • Use custom JSP tags in the JSPs for your applications.
  • Use the MySQL monitor to run commands, DDL statements, and scripts.
  • Code simple SELECT, INSERT, UPDATE, and DELETE statements, and use the MySQL monitor or the MySQL Query Browser to run them.
  • Use the MySQL Administrator Tool to start and stop MySQL.
  • Develop data classes that provide OR mapping and all of the database methods that your servlets need.
  • Develop servlets that use connection pooling and the methods of your data classes.
  • Develop servlets that send email messages to the users of the application.
  • Develop web applications that use secure connections whenever that’s needed.
  • Use container-managed security and the JDBCRealm or DataSourceRealm to restrict access to portions of your web applications.
  • Use the get and set methods of the request and response objects.
  • Create, register, and use a listener class.
  • Create, register, and use a filter class.

Course Contents

Day 1JAVAMAIL

  • How to use JavaMail to send email
  • An introduction to the JavaMail API
  • How to create and send an email message
  • Example classes that send an email message

SSL FOR A SECURE CONNECTION

  • How SSL works
  • How TSL works
  • When to use a secure connection
  • How SSL authentication works
  • How to obtain a digital secure certificate
  • How to configure a testing environment for SSL
  • How to create a certificate for testing
  • How to enable SSL in Tomcat
  • How to test a local SSL connection
  • How to work with a secure connection
  • How to request a secure connection
  • A JSP that uses a secure conection
  • How to return t a regular HTTP connection
  • How to switch from a local system to an Internet server

Day 3

AUTHENTICATION

  • How to restrict access to a web resource
  • An introduction to authentication
  • How container-managed authentication works
  • Three types of authentication
  • How to restrict access to web resources
  • How to add a security role
  • How to add a security constraint
  • How to implement a security realm
  • UserDatabaseRealm
  • JDBCRealm
  • DataSourceRealm
  • How to allow access to authorised users
  • Basic authentication
  • Digest authentication
  • Form-based authentication
  • An introduction to HTTP

MORE SECURITY SKILLS

  • Intro to website security
  • Common website attacks
  • Social engineering attacks
  • Intro to cryptography
  • Common password attacks
  • Protecting passwords
  • How to hash passwords
  • How to salt passwords
  • A utility class for hashing and salting passwords
  • Enforcing password strength requirements

HTTP REQUESTS AND RESPONSES

  • HTTP request and response
  • Common MIME types
  • HTTP request headers
  • HTTP status codes
  • HTTP response headers
  • How to get a request header
  • How to display all request headers
  • How to set status codes
  • How to set response headers
  • How to return a spreadsheet
  • How to control caching
  • How to compress a response with GZIP
  • How to return a binary file as an attachment
  • How to create virtual HTML pages
LISTENERS
Day 4

  • How to work with listeners
  • How to use a ServletContextListener
  • Coding the class for the listener
  • Registering the listener
  • Coding the JSP that uses the attributes set by the listener
  • A summary of the listener interfaces
  • The methods of the listener interface
  • The methods of the event objects

FILTERS

  • How to work with filters
  • An introduction to filters
  • How filters work
  • Two benefits of filters
  • When to use filters
  • How to add a filter
  • How to code a filter
  • How to configure a filter
  • Two filter classes
  • How to code a filter that performs request-side processing
  • How to code a filter that performs response-side processing
  • How to wrap a request or response
  • How to use an initialisation paramenter
  • How to restrict access by IP address

 

Day 5

JAVA SERVER FACES (JSF)

  • An introduction to the Music Store web site
  • An introduction to JSF
  • A summary of JSF versions
  • Adding a JSF library to the project
  • How to use managed beans
  • Setting the scope of a bean
  • Using standard JSF tags
  • Coding the head and body tags
  • Displaying data from a managed bean
  • Setting the scope of a bean
  • Coding the head and body tags
  • Displaying data from a managed bean
  • How to code the inputText tag
  • How to validate data
  • How to code a form action
  • The email list Web Application
  • The user interface
  • The EmailList Bean
  • The index.xhtml file
  • The thanks.xhtml file

 

Duration and pricing

  • Full-time over 5 days (R8995 excl VAT)
  • Part-time over 4 weeks (2 nights per week, 3 hour sessions) (R10995 excl Vat)
  • Part-time over 8 Saturdays, 3 hour sessions (R10995 excl Vat)
  • Distance-learning over up to 3 months (R7995 excl Vat)

Certificate

1. Upon completion of this course we will issue you with attendance certificate to certify your attendance and / or completion of the prescribed minimum examples.
2. You have the option to get the competency / academic certificate if you :
hand in a project (pre-approved) covering most of the topics in the book
The project is useful for unemployed students who want to enter the job market. This project and certificate can be used to show employers your abilities.

Schedule

On the calender on this page below.  This course is repeated approximately once every 6 weeks, unless a customised specific booking is requested via email.
If your browser doesn’t display the calendar below, please click on this link or try using Google Chrome, alternatively please enquire via our ‘Contact Us’ page.

Bookings

You can download the course registration form on our home page or by clicking here

[wp_objects_pdf]
Brochure

To download a brochure of this page in pdf format, please click on the pdf icon at the top of this  page.

2014-10-19 Alta

Prerequisites

You must have completed the Servlets and JSP’s Beginner course before doing this course

Intended Audience

Advanced Java Servlets and JSP’s training course builds upon the Beginning Servlets and JSPs course to
complete all the required knowledge you will need to build a fully fledged web application.
A good fundamental knowledge of Servlets will prepare you best for all following technologies and frameworks to master.

After this course you should be able to

  • Use standard JSP tags to work with JavaBeans.
  • Use EL in your JSPs to access the attributes and properties of JavaBeans, maps, arrays, and lists.
  • Use EL with the implicit EL objects to work with request parameters, request headers, cookies, context initialization parameters, and pageContext objects.
  • Disable or enable EL or scripting.
  • Use the JSTL core library in combination with EL to remove Java code from your JSPs.
  • Use the documentation for the JSTL libraries to learn about other JSTL capabilities.
  • Create a Tag Library Descriptor (TLD) for custom tags, and write the tag handler classes that implement these tags.
  • Use custom JSP tags in the JSPs for your applications.
  • Use the MySQL monitor to run commands, DDL statements, and scripts.
  • Code simple SELECT, INSERT, UPDATE, and DELETE statements, and use the MySQL monitor or the MySQL Query Browser to run them.
  • Use the MySQL Administrator Tool to start and stop MySQL.
  • Develop data classes that provide OR mapping and all of the database methods that your servlets need.
  • Develop servlets that use connection pooling and the methods of your data classes.
  • Develop servlets that send email messages to the users of the application.
  • Develop web applications that use secure connections whenever that’s needed.
  • Use container-managed security and the JDBCRealm or DataSourceRealm to restrict access to portions of your web applications.
  • Use the get and set methods of the request and response objects.
  • Create, register, and use a listener class.
  • Create, register, and use a filter class.

Course Contents

Day 1JAVAMAIL

  • How to use JavaMail to send email
  • An introduction to the JavaMail API
  • How to create and send an email message
  • Example classes that send an email message

SSL FOR A SECURE CONNECTION

  • How SSL works
  • How TSL works
  • When to use a secure connection
  • How SSL authentication works
  • How to obtain a digital secure certificate
  • How to configure a testing environment for SSL
  • How to create a certificate for testing
  • How to enable SSL in Tomcat
  • How to test a local SSL connection
  • How to work with a secure connection
  • How to request a secure connection
  • A JSP that uses a secure conection
  • How to return t a regular HTTP connection
  • How to switch from a local system to an Internet server

Day 3

AUTHENTICATION

  • How to restrict access to a web resource
  • An introduction to authentication
  • How container-managed authentication works
  • Three types of authentication
  • How to restrict access to web resources
  • How to add a security role
  • How to add a security constraint
  • How to implement a security realm
  • UserDatabaseRealm
  • JDBCRealm
  • DataSourceRealm
  • How to allow access to authorised users
  • Basic authentication
  • Digest authentication
  • Form-based authentication
  • An introduction to HTTP

MORE SECURITY SKILLS

  • Intro to website security
  • Common website attacks
  • Social engineering attacks
  • Intro to cryptography
  • Common password attacks
  • Protecting passwords
  • How to hash passwords
  • How to salt passwords
  • A utility class for hashing and salting passwords
  • Enforcing password strength requirements

HTTP REQUESTS AND RESPONSES

  • HTTP request and response
  • Common MIME types
  • HTTP request headers
  • HTTP status codes
  • HTTP response headers
  • How to get a request header
  • How to display all request headers
  • How to set status codes
  • How to set response headers
  • How to return a spreadsheet
  • How to control caching
  • How to compress a response with GZIP
  • How to return a binary file as an attachment
  • How to create virtual HTML pages
LISTENERS
Day 4

  • How to work with listeners
  • How to use a ServletContextListener
  • Coding the class for the listener
  • Registering the listener
  • Coding the JSP that uses the attributes set by the listener
  • A summary of the listener interfaces
  • The methods of the listener interface
  • The methods of the event objects

FILTERS

  • How to work with filters
  • An introduction to filters
  • How filters work
  • Two benefits of filters
  • When to use filters
  • How to add a filter
  • How to code a filter
  • How to configure a filter
  • Two filter classes
  • How to code a filter that performs request-side processing
  • How to code a filter that performs response-side processing
  • How to wrap a request or response
  • How to use an initialisation paramenter
  • How to restrict access by IP address

 

Day 5

JAVA SERVER FACES (JSF)

  • An introduction to the Music Store web site
  • An introduction to JSF
  • A summary of JSF versions
  • Adding a JSF library to the project
  • How to use managed beans
  • Setting the scope of a bean
  • Using standard JSF tags
  • Coding the head and body tags
  • Displaying data from a managed bean
  • Setting the scope of a bean
  • Coding the head and body tags
  • Displaying data from a managed bean
  • How to code the inputText tag
  • How to validate data
  • How to code a form action
  • The email list Web Application
  • The user interface
  • The EmailList Bean
  • The index.xhtml file
  • The thanks.xhtml file

 

Duration and pricing

    • Full-time over 5 days (R7995 excl VAT)
    • Part-time over 4 weeks (2 nights per week, 3 hour sessions) (R9995 excl Vat)
    • Part-time over 8 Saturdays, 3 hour sessions (R9995 excl Vat)
    • Distance-learning over up to 3 months (R6995 excl Vat)

Certificate

1. Upon completion of this course we will issue you with attendance certificate to certify your attendance and / or completion of the prescribed minimum examples.
2. You have the option to get the competency / academic certificate if you :
hand in a project (pre-approved) covering most of the topics in the book
The project is useful for unemployed students who want to enter the job market. This project and certificate can be used to show employers your abilities.

Schedule

On the calender on this page below.  This course is repeated approximately once every 6 weeks, unless a customised specific booking is requested via email.
If your browser doesn’t display the calendar below, please click on this link or try using Google Chrome, alternatively please enquire via our ‘Contact Us’ page.

2014-09-12 Alta

http://web.archive.org/web/20141016061912/http://getcertified.co.za:80/short-courses/programming/java/servlets-and-jsp-beginner

Prerequisites:

You should be on the Advanced Java level

Intended Audience:

This course is intended for people who have basic Java skills up to our Advanced Java level, no web programming experience is needed. Learn how to develop robust Java Web applications based on Servlets and JSP’s with a Tomcat server.

After this course you should be able to

  • Know how Servlets and JSP’s work together in a Java Web App.
  • Understand how Tomcat and Netbeans facilitates Java Servlet Web App Development.
  • Code and test JavaServer Pages that use scriptlets, expressions, the implicit request object, the ServletContext object, page directives, and JSP comments.
  • Code and test servlets that perform data input and storage.
  • Use the web.xml file for an application to map a servlet to a URL pattern.
  • Write debugging data for a servlet to either the console or a log file.
  • Use the MVC pattern to develop web applications so servlets control the processing and JSPs handle the presentation.
  • Provide for server-side data validation in your applications.
  • Use include files in your JSPs at compile-time or runtime.
  • Use the web.xml file to set initialization parameters and use your servlets to get the parameters.
  • Use the web.xml file to implement custom error handling.
  • Provide for session tracking by using both cookies and URL encoding.
  • Provide for parameter passing by using URL rewriting or hidden fields.
  • Test your web applications with cookies enabled and with cookies disabled.
  • Write a utility class that includes a static method for getting a specific cookie from a user’s browser.
  • Create business classes that are JavaBeans.

Course Contents

Day 1WEB APPLICATIONS

  • A typical example
  • Components of a Web App
  • Static vs. Dynamic
  • Overview of (Servlets, JSF, Spring Framework)
  • Intro to Servlets/JSP development
  • Software used for developing Java Web Apps

MVC

  • Model 1
  • Model 2 (MVC)
  • An example MVC Servlet App

NETBEANS AND TOMCAT

  • How to use the NetBeans IDE
  • How to install and configure NetBeans
  • How to get started with NetBeans
  • How to work with HTML and JSP files
  • How to work with Java files
  • How to work with XML files
  • Other skills for working with web applications

HTML5 AND CSS3

  • HTML tags and elements
  • CSS3
  • HTML forms

SERVLETS

  • Creating and mapping a Servlet
  • Requesting a Servlet
  • Servlet Skills
  • Data Validation
  • Web.xml
  • Servlet methods
  • Servlet Errors

Day 2

JSP’s

  • EL and JSTL
  • JSP Tags
  • Standard JSP Tags with JavaBeans
  • Including files in a JSP
  • Coding a JSP
  • How to request a JSP
  • How to use regular Java classes with JSPs
  • How to use three more types of JSP tags
  • How to work with JSP errors
Day 3SESSIONS AND COOKIES

  • An Introduction to session tracking
  • How to work with sessions
  • How to work with cookies
  • How to work with URL rewriting and hidden fields
  • The Download application

 

Day 4

  • How to use standard JSP tags with JavaBeans
  • An introduction to JavaBeans
  • How to code JSP tags for JavaBeans
  • The Email List application with JSP tags for JavaBeans
  • How to use the JSP Expression Language (EL)
  • An introduction to JSP Expression Language Essential skills for working with EL Other skills for working with EL

Day 5

  • How to use the JSP Standard Tag Library (JSTL)
  • An introduction to JSTL
  • How to work with the JSTL core library The Cart application
  • How to use custom JSP tags
  • How to code a custom tag that doesn’t have a body
  • How to code a custom tag that has a body
  • How to code a custom tag that has attributes
  • How to code a custom tag that reiterates its body How to work with scripting variables
  • Classes, methods and fields for working with custom tags

Duration and pricing

    • Full-time over 5 days (R7995 excl VAT)
    • Part-time over 4 weeks (2 nights per week, 3 hour sessions) (R9995 excl Vat)
    • Part-time over 8 Saturdays, 3 hour sessions (R9995 excl Vat)
    • Distance-learning over up to 3 months (R6995 excl Vat)

Certificate

1. Upon completion of this course we will issue you with attendance certificate to certify your attendance and / or completion of the prescribed minimum examples. 2. You have the option to get the competency / academic certificate if you : hand in a project (pre-approved) covering most of the topics in the book The project is useful for unemployed students who want to enter the job market. This project and certificate can be used to show employers your abilities.

2014-04-13 getcertarn

Well done Java Servlets students! You have completed Modules 1 – 8 of teh course. Here is a project for you to put together everything that you have learned so far:

Maintain a list of products on your website – as the manager of a website, you should be able to:

  • View Products
  • Add Products
  • Edit Products
  • Delete Products

Make sure you validate form entries when adding a new product.