Short Course Java 10 Day
Short Course Java 10 Day
Below is an example of a 10 day tailor-made course delivered at one of our clients. It was extremely intensive and each delegate at-
tending was required to do a lot of after-hours work. Each day ended with a handout containing "questions and exercises" that were
attempted before the next lecture. Any questions anyone had was responded to at the beginning of the 'next lecture day'. Each del-
egate was given a flash disk that contained all the required software and documentation.
Day 1
Introduction To Java
Structure of a Java Program
Installation of JDK
Using text editor to write first few program
Understanding the JDK, JRE
Understanding a JVM
Understanding the classpath
Install a GUI environment for later programming
Java’s keywords
Primitive data types
Comments
Variables
Constants
Arithmetic, Relational and Equality Operators In Java
Increment and Decrement Operators
Logical Operators
Bitwise Operators
Assignment Operators
Operator Order of Precedence
Lots of Exercises and homework
Day 2
Block Scope
Strings in Java
Buffering
Control Flow
Decision (Conditional) Statements (if, switch, etc)
Ternary Operator
State machines
Loops (for, while, do-while): pretest and post test. Sentinel and counter controlled.
Jump Statements
Exercises and homework
Day 3 and 4
This section has been designed in such a way that those new to OO will get a complete overview of the technology. Getting to
understand OO is a huge paradigm shift for those who have been subject to functional/procedural software development for any
length of time.
Day 6
Collections Framework
Sets, dictionaries, maps and lists
Networking In Java
The Internet Protocol (IP)
The User Datagram Protocol (UDP)
The Transmission Control Protocol (TCP)
Client/Server socket programming
Datagrams
Database programming in Java
Client/Server Models
Java’s two-tier model
Java’s three-tier model
The components of a Database
Designing a Database and data normalisation up to 3NF
The JDBC configuration
Communicating with a database
A number of exercises.
Introducing ORM, O/RM and O/R mapping
JPA
Introducing Hibernate
Example
Exercises and homework
Day 7
Introduction to XML
The Creation of an XML Document
The XML document header section
The XML document content section
Parsing XML using SAX and accessing the data
Constraining XML
SAX2 Properties and Features
XML Instance Document Validation
SAXExceptions
Parsing XML using DOM and accessing the data
Introduction to HTML5 and CSS3
Lots of examples
Exercises and homework
Day 8
Java Servlets
Overview of the Java Servlet hierarchy
HttpServlet class
HttpServletRequest interface
HttpServletResponse interface
Tracking
Multi-tier programming using HTML, Servlets and JDBC
Introduction to Java Server Pages
JSP Access Models
JSP Syntax
Action Elements
Control elements
JavaBean element
Custom Tags
Using Servlets and JSP together (MVC pattern)
Controlling a Web application by means of the web.xml file
Web Application Security
Form based Authentication
HTTP Basic Authentication
Programmatic Security
Programmatic security together with container-managed security
Programmatic security
Servlet and JSP Filters
Build a web application and deploy to a Tomcat server
Exercises and homework
Day 9
Introduction to JSON.
Introduction to RESTful web services (JAX-RS) (may also be included on day 8)
Exercises and homework
Day 10
Create a web application using all the technologies presented. Each delegate will need to write both a client and server. Each client
must consume another delegate's service.