• Online, Self-Paced
Course Description

HTML5 and JavaScript client-side applications can be used to access Java enterprise services. This course begins by covering the main features of JavaScript and how to use them. It also covers how to manipulate DOM elements with JavaScript and how to work with JSON. You'll also learn how to use AJAX (Asynchronous JavaScript and XML) to create HTTP requests. WebSockets enable two-way communication between clients and servers. This course will cover how to implement the Java API for WebSocket to create client and server endpoints. It will also cover Java support for JSON and JAX-RS support for JSON-P. The course will conclude with a discussion of the implementation of a Java web security policy; a look at container-managed security; and information about using both the Security API and declarative security in Java web applications.

Learning Objectives

HTML5 Applications with JavaScript

  • start the course
  • contrast JavaScript with Java and show how to run, debug, and test JavaScript code
  • describe JavaScript data types and describe how to declare and work with variables
  • describe how to create and call a JavaScript function and describe function and global scope
  • describe how to create and work with JavaScript objects
  • describe how to create and work with arrays in JavaScript
  • describe how to work with the DOM (Document Object Model) using JavaScript
  • describe JSON (JavaScript Object Notation)
  • describe AJAX (Asynchronous JavaScript and XML)
  • develop a single page Java web application
  • call RESTful services from JavaScript in a Java web application

WebSockets and the Java API

  • introduce WebSockets and the Java API for WebSocket and describe how the components of the Java API for WebSocket are used
  • describe Java's support for JSON
  • describe JAX-RS's support for JSON-P
  • develop a WebSocket Endpoint and client in a Java web application
  • use the JSON-P API to generate JSON in a Java web application

Implementing a Web Security Policy

  • describe container-managed security in the Java EE platform
  • describe how user roles are used in the Java EE security model
  • describe common security annotations for the Java EE platform
  • describe how to use the Security API in Java EE applications
  • use declarative security in a Java EE application

Practice: WebSockets and Security

  • practice creating a websocket endpoint and client and using declarative security in a Java web application

Framework Connections

The materials within this course focus on the NICE Framework Task, Knowledge, and Skill statements identified within the indicated NICE Framework component(s):

Specialty Areas

  • Software Development