Course

In London

£ 540 + VAT

Description

  • Type

    Course

  • Location

    London

  • Duration

    5 Weeks

You will gain knowledge of the use of Java Servlet technology and Java Server Pages (JSP) to build Java-powered web applications. Suitable for: The Java Web Development course is meant for those who are competent in core Java programming and are looking to move towards Java-based Web Development with Servlets and JSP.

Facilities

Location

Start date

London
See map
Maryland House 329 - 333 High Street, Stratford, East London,E15 2tf, E15 2TF

Start date

On request

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Course programme

Java Web Development

Course Overview: The Java Web Development course is meant for those who are competent in core Java programming and are looking to move towards Java-based Web Development with Servlets and JSP. You will gain knowledge of the use of Java Servlet technology and Java Server Pages (JSP) to build Java-powered web applications.

Pre-requisite knowledge: Java basics

Related Job roles: Web Developer, Software Developer, Software Engineer

Course Duration: 5 weeks (weekends) or 3 weeks (evenings)

Price: £540

Course Contents:

The Servlet Technology Model:

  • The HTTP Methods and corresponding HttpServlet methods
  • Using the HttpServletRequest interface, write code to retrieve HTML form parameters from the request, retrieve HTTP request header information, or retrieve cookies from the request.
  • Using the HttpServletResponse interface, write code to set an HTTP response header, set the content type of the response, acquire a text stream for the response, acquire a binary stream for the response, redirect an HTTP request to another URL, or add cookies to the response.
  • Describe the purpose and event sequence of the servlet life cycle: (1) servlet class loading, (2) servlet instantiation, (3) call the init method, (4) call the service method, and (5) call destroy method.
  • The Structure and Deployment of Web Applications:

  • Construct the file and directory structure of a Web Application that may contain (a) static content, (b) JSP pages, (c) servlet classes, (d) the deployment descriptor, (e) tag libraries, (d) JAR files, and (e) Java class files; and describe how to protect resource files from HTTP access.
  • Describe the purpose and semantics of the deployment descriptor.
  • Construct the correct structure of the deployment descriptor.
  • Explain the purpose of a WAR file and describe the contents of a WAR file, how one may be constructed.
  • The Web Container Model:

  • ServletContext initialization parameters: accessing initialization parameters; creating the deployment descriptor elements for declaring initialization parameters.
  • For the fundamental servlet attribute scopes (request, session, and context): adding, retrieving, and removing attributes; given a usage scenario, identifying the proper scope for an attribute; and identifying multi-threading issues associated with each scope.
  • The Web container request processing model; writing and configuring a filter; creating a request or response wrapper
  • The Web container life cycle event model for requests, sessions, and web applications; creating and configuring listener classes for each scope life cycle; creating and configuring scope attribute listener classes
  • The RequestDispatcher mechanism; creating a request dispatcher; writing servlet code to forward or include the target resource; and identify and describe the additional request-scoped attributes provided by the container to the target resource.
  • The JavaServer Pages (JSP) Technology Model

  • Writing JSP code for the following elements: (a) template text, (b) scripting elements (comments, directives, declarations, scriptlets, and expressions), (c) standard and custom actions, and (d) expression language elements.
  • JSP directives: (a) 'page' (with attributes 'import', 'session', 'contentType', and 'isELIgnored'), (b) 'include', and (c) 'taglib'.
  • Writing a JSP Document (XML-based document) that uses the correct syntax.
  • The purpose and event sequence of the JSP page life cycle: (1) JSP page translation, (2) JSP page compilation, (3) load class, (4) create instance, (5) call the jspInit method, (6) call the _jspService method, and (7) call the jspDestroy method.
  • JSP implicit objects: (a) request, (b) response, (c) out, (d) session, (e) config, (f) application, (g) page, (h) pageContext, and (i) exception.
  • Configuring the deployment descriptor to declare one or more tag libraries, deactivate the evaluation language, and deactivate the scripting language.
  • Building JSP Pages Using the Expression Language (EL):

  • Writing EL code that accesses the following implicit variables including pageScope, requestScope, sessionScope, and applicationScope, param and paramValues, header and headerValues, cookie, initParam and pageContext.
  • Writing EL code that uses the following operators: property access (the . operator), collection access (the [] operator).
  • Building JSP Pages Using Standard Actions and JSTL:

  • Using the following standard actions: jsp:useBean (with attributes: 'id', 'scope', 'type', and 'class'), jsp:getProperty, jsp:setProperty (with all attribute combinations), and jsp:attribute.
  • Using the following standard actions: jsp:include, jsp:forward, and jsp:param.
  • Using the appropriate JSP Standard Tag Library (JSTL v1.1) tag from the "core" tag library.
  • Java Web Development

    £ 540 + VAT