Developing Rich Web Applications using HTML5, CSS, JavaScript and Java EE

Contact Us for Dates
5 days practical workshop for up to 12 people.
Only £1975
This course is a comprehensive introduction to how to build end to end applications using HTML5 and Java. Modern Web applications do not use the server to generate web content, but rather they use the server to generate JSON data that in turn is used by the HTML5 Web application. This course is designed to demonstrate how to create the services generating JSON data using Java technology, and then how to consume those services using HTML5 and JavaScript.

Layout

The course combines lectures with practical exercises to consolidate the subjects taught

Who it is for

Developers who wish to incorporate HTML5 and Java EE into their application architecture.

Training Course Prerequisites

  • Some JavaScript knowledge
  • Java Knowledge

Chapters

Chapter 1 Introduction to RIA

  • Evolution of Client Side Applications
  • Desktop Applications
  • Web Applications
  • Rich Internet Applications
  • RIA Architectures
  • Ajax

Chapter 2 Review of HTML and HTML5

  • What is HTML?
  • Format of HTML
  • HTML Tags
  • Images
  • Lists and Tables

Chapter 3 Introducing the JavaScript Language

  • Development of JavaScript
  • Types
  • Functions
  • Objects
  • Arrays

Chapter 4 JavaScript in the Web Browser

  • JavaScript and the Web
  • The W3C DOM
  • The Document object
  • Content Generation
  • Event Handlers

Chapter 5 Taking JavaScript Further

  • Debugging with Firebug
  • Functions, Scope and Closure
  • Function Invocation Options
  • Augmenting Types
  • JavaScript Module Pattern
  • Overloading
  • Encapsulation
  • A Few Interesting Gotchas

Chapter 6 Introduction to CSS and DHTML

  • Separating Style From Content
  • Embedded and External Stylesheets
  • Inside a Stylesheet
  • Applying Styles -
  • Element Display, Spacing and Positioning
  • Scripting and CSS - Dynamic HTML

Chapter 7 Introduction to Ajax

  • What is Ajax?
  • Ajax in Action
  • The Ajax Web Application Model
  • Inside an Ajax Interaction
  • The XMLHttpRequest Object
  • The Ajax Interaction Step by Step
  • Different Request Types
  • Response Formatting
  • Handling Timeouts

Chapter 8 JSON

  • What is JSON?
  • Comparison with XML
  • JSON structures
  • Generating JavaScript objects from JSON
  • JSON support in other languages

Chapter 9 Introduction to jQuery

  • Background
  • Selecting page elements
  • Manipulating elements and content
  • Events
  • Using Ajax from jQuery
  • Different request types
  • Handling different response formats
  • Dealing with success and failure

Chapter 10 Introduction to Java EE

  • What is Java EE?
  • What technologies does Java EE encapsulate?
  • What is the architecture of Java EE applications?
  • When should I be considering Java EE in my applications?

Chapter 11 The Java Persistence API (JPA)

  • What is the Java Persistence API
  • Hibernate and the JPA
  • The JPA Entity beans
  • Using Annotations with Entity beans
  • A Hibernate example using JPA

Chapter 12 Persistence Units

  • What is a persistent unit
  • Configuring a persistence unit
  • Understanding persistence.xml
  • Deploying a persistence unit

Chapter 13 Enterprise Java Bean Overview

  • The two types of EJB
  • Session bean overview
  • Message Driven Bean overview
  • Packaging EJBs for deployment
  • A word on the deprecated entity bean

Chapter 14 Session Beans in EJB3

  • Session bean local and remote interfaces
  • Session Context
  • Annotating session beans
  • Deploying session beans
  • Accessing session beans from within JSP

Chapter 15 The Entity Manager

  • The role of the entity manager in JPA
  • Configuring a Hibernate Entity manager
  • Entity manager methods
  • Entity object lifecycle
  • Working with an entity manager from a session bean

Chapter 16 Context Dependency Injection

  • The role of CDI in enterprise applications
  • Creating @Default and @Alternative beans
  • Working with custom qualifiers
  • Decorators and Interceptors

Chapter 17 Creating REST based Web services

  • The REST Principles
  • Working with JAX-RS
  • Setting Paths and Parameters
  • Controlling the binding to XML and JSON
  • Deployment considerations