Advanced Java Servlets / JSP / JSF

Advanced Java Servlets / JSP / JSF

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 1  

JAVAMAIL

  • 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 2

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

Day 3

  • 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

LISTENERS
How to wrap a request or response

  • How to use an initialisation paramenter
  • How to restrict access by IP address

 

Day 4

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

Further Training

Java Web Applications

Beginner Android

Duration and pricing

  • Full-time over 5 days (R9995)
  • Part-time over 4 weeks (2 nights per week, 3 hour sessions) (R11995)
  • Part-time over 8 Saturdays, 3 hour sessions (R11995)
  • Please note : For part-time courses we do not have a fixed schedule and you will be placed on a waiting list until we get a group of 4+ together. Please book with no dates on the bookings form. This will automatically put you on the waiting list. We will confirm with you as soon as we have a part-time group together.
  • Distance-learning over up to 3 months (R9995)
  • International exams are not included in the course price.
  • Prices exclude Vat for Vat-registered companies

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 may sit for our competency assessment test and on passing you will obtain our competency certificate.
  3. Our competency assessment can be booked and taken by someone who has not attended the course at a cost of R950.

Bookings

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

Brochure

You may download a pdf copy of this page by clicking on the pdf icon at the top of the page.

Questions

Please email us

Schedule

On the calendar below. 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.

3 thoughts on “Advanced Java Servlets / JSP / JSF

  • Ilse

    Hello

    I would like to find out where the Java beginners course will take place.

    Will the course be held i Cape Town.? If so what dates and at what price?

    Thanks

    Reply
    1. Arnold GetCertified

      The Java Bootcamp is scheduled for July in Cape Town

      Reply
  • Beth Keytel

    Hi,

    Could you please send me the course details of java courses being held in Cape Town for the rest of the year.

    Kind regards
    Beth

    Reply

Leave a Comment

Or