Java
Course
In London
Description
-
Type
Course
-
Location
London
-
Duration
5 Days
No existing knowledge of Java is assumed, but to succeed fully in the course, previous use a programming or scripting language is recommended.
Facilities
Location
Start date
Start date
Reviews
Teachers and trainers (1)
Simon Dineen
Software Developer
The course instructor is Simon Dineen, a freelance software developer with eight years experience in .NET development and training.
Course programme
Java Course
Synopsis
This course begins with an introduction to object-oriented programming in Java, progressing to cover databases, graphical user interfaces, file streams, threads, enterprise beans, web services and web applications with the JavaServer Faces framework.
The Eclipse development environment is used, in conjunction with the Glassfish EE6 compliant application server, to develop and deploy an application that follows the model-view-controller architectural pattern.
Each delegate has the use of a computer; course hours are 9:00 to 5:00. Lunch and refreshments are included.
Course Content
Introduction
- Java technology and the Java Runtime Environment
- Integrated Development Environments
- Building a simple command line application
- Overview of the Java Development Kit (JDK 6) documentation.
Object-oriented programming:
- Define a class comprising fields and methods
- Packages and encapsulation
- Build an object and invoke its methods
- Constructors and method overloading.
Java Language Syntax:
- Keywords and primitive types
- Conversion, casting and autoboxing
- Operators and their precedence
- Declare arrays of primitive or class types
- Conditionals and loops
- Catching and throwing exceptions
- Enumerated types.
Class Design:
- Describing the static structure of an Java application with Unified Modelling Language (UML).
- Inheritance compared with composition.
- Invoke a specific base class constructor.
- Method overriding and Polymorphism.
- Abstract classes and interfaces.
Collections and Generics:
- Core interfaces in the Collections framework
- Write a Generic method
- Build generic collections including a List and a Map
- Iterate through a collection using for and while loops.
Storing and Retrieving Data with File I/O:
- Byte streams and character streams
- Read and write text from a file
- Use Object Serialization to write the state of an object to a file.
Relational Databases:
- Connect to a database with the JDBC API
- Map between SQL and Java types
- Interrogate and update a database with the ResultSet and PreparedStatement classes.
Java Persistence:
- Define an entity class using annotations
- The persistence context and managed entities
- Persist, retrieve, remove and merge entities
- Use Java Persistence Query Language to retrieve entities.
Developing GUIs:
- Outline of Swing components, containers and layout managers
- Overview of the Swing packages and classes
- Displaying data in a Table with an associated TableModel
- Registering event handlers and anonymous inner classes.
Threads:
- Declaring and starting a thread
- Use object locking to protect shared variables from concurrent access
- Communicate between threads using wait and notify.
Enterprise Beans (EJB 3.1):
- Java EE 6 application servers and the EJB container
- Stateful and stateless session beans
- Instance pooling and passivation.
Web Applications:
- HTML forms and HTTP methods
- Build a Servlet and configure the deployment descriptor
- Use dependency injection to call a session bean from the servlet
- The Java Server Faces (JSF) 2.0 Web application framework
- Use JSF components, managed beans and navigation
- Configure web application security.
Web services:
- Overview of web service protocols including WSDL and SOAP
- Deploy a JAX-WS service
- Connect a JAX-WS client to a web service.
Maven:
- Using Apache Maven to apply patterns to a project's build infrastructure
- Generating a Maven project and running build phases, plugins and goals
- Configuring the Project Object Model (POM)
- Downloading dependencies from a remote repository
- Running unit tests with JUnit 4 and Maven.
Java