Java SE: XML, Security, and JUnit, Part 18 of 18
Interactive

Java SE: XML, Security, and JUnit, Part 18 of 18

LearnNow Online
Updated Oct 25, 2018

Course description

This course explores Java SE topics that provide the finishing touches when building professional Java applications using Eclipse. Students will learn about parsing XML documents using both SAX and DOM methodologies. Students will understand how to take advantage of distributed objects, add security, use the Java Native Interface (JNI) and utilize Test-Driven Design through JUnit. This course concludes with a detailed look at Java features introduced with recent versions of Java.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course is intended for programmers who are familiar with Java and want to learn about the advanced features of Java. Students should have a good understanding object-oriented programming using Java.


Meet the expert

Susan Bryant

Susan Bryant is an experienced IT trainer and consultant with a broad array of skills. She has over 15 years experience in information systems with roles including systems consulting, project management, staff management, staff mentoring, and certified technical trainer. Susan has a strong technical knowledge of IBM WebSphere Application Server, WebSphere Portal Server, WebSphere Process Server, Lotus Domino, and web application development technologies including, Struts, JSF, EJBs and AJAX.

Video Runtime

180 Minutes

Time to complete

240 Minutes

Course Outline

Java Security

Java Security (33:55)

  • Introduction (00:47)
  • Attacks and Dangers (01:31)
  • JDK Security Features (03:01)
  • Concepts of Computer Security (00:40)
  • Encryption (00:24)
  • Cryptography Algorithm (00:50)
  • Message Digest (01:16)
  • Symmetric Ciphers (01:23)
  • Asymmetric Ciphers (00:38)
  • Digital Signature (01:05)
  • Authentication (00:38)
  • Certificate Manipulation (00:33)
  • Java Cryptography Architecture (01:04)
  • Java Cryptography Extension (00:43)
  • Using the MessageDigest Class (00:41)
  • Example: MessageDigest Class (01:41)
  • Demo: Java Security (16:16)
  • Summary (00:39)

Java Security Architecture (34:57)

  • Introduction (00:45)
  • Using the Signature Class (01:22)
  • Java Security Architecture (00:23)
  • JDK 1.0 Security Model (01:37)
  • JDK 1.1 Security Model (00:34)
  • JDK 1.2 Security Model (00:58)
  • JDK 1.4 Security Enhancement (01:22)
  • Protection Domains & Security (00:52)
  • ProtectionDomain Class (01:10)
  • Permission Classes (01:02)
  • Using Permission Classes (01:39)
  • Policy Class (00:47)
  • Policy Configuration File (01:34)
  • AccessController Class (00:42)
  • SecurityManager Class (01:06)
  • Using the SecurityManager Class (00:45)
  • Dynamic Class Loader (01:46)
  • Example: Security Check (00:31)
  • Java Security Tools (01:09)
  • Using Java Security Tools (01:15)
  • Demo: Security Architecture (12:37)
  • Summary (00:50)
Java Native Interface

Java Native Interface (27:05)

  • Introduction (00:48)
  • JNI Overview (00:58)
  • JNI Architecture (01:04)
  • Calling C Functions (01:46)
  • The Header File (01:14)
  • Passing Simple Parameters (01:40)
  • Mapping Java Types (00:59)
  • Calling Java Methods (01:13)
  • The Invocation API (01:39)
  • Exception Handling (01:13)
  • Native Exception to Java (00:41)
  • Java Exception in Native Code (00:54)
  • Code Sample (01:44)
  • Demo: Java Native Interface (10:33)
  • Summary (00:32)
JUnit Basics

JUnit Basics (43:21)

  • Introduction (01:06)
  • What is JUnit (01:04)
  • Why JUnit (02:47)
  • The xUnit Philosophy (01:13)
  • Test-Driven Design (02:04)
  • A JUnit Test (01:11)
  • Running the Tests (00:48)
  • Swing-based Test Runner (02:01)
  • Text-based Test Runner (01:01)
  • JUnit Basics (01:21)
  • assertTrue (01:44)
  • assertEquals (01:57)
  • assertSame (00:51)
  • assertNull (00:17)
  • The Failure Message (00:49)
  • The Test Class (01:22)
  • The Test Method (01:24)
  • Demo: JUnit (19:14)
  • Summary (00:58)

Test Suite and Test Strategies (41:12)

  • Introduction (00:49)
  • The Test Suite (01:52)
  • JUnit with Annotations (02:19)
  • JUnit 4 Test Suite (00:54)
  • JUnit Design (01:20)
  • Testing Strategies (05:00)
  • Testing Simple Java Classes (00:54)
  • Testing with Databases (02:44)
  • Testing Web Applications (01:58)
  • JUnit with Ant (01:22)
  • Demo: Test Suite & Strategies (21:04)
  • Summary (00:50)
;