Java Programming – Basic Course

Java Programming – Basic Course

Course Summary

This is the course for those who want to learn the object-oriented programming language Java from scratch. The course covers basic syntax and knowledge from Java’s most important libraries with support for computer science classes in the Collections Framework and the news from Java 10, communication with databases and creating professional GUIs.
You will also learn how to write and run unit tests using the JUnit framework.

Exercises

  • Use of functionality taken from the Java standard library
  • Implementing object-oriented models in program code
  • Writing program code for handling different exception situations
  • Writing and running tests with JUnit
  • Writing stream management programs for console and file systems
  • Connecting a Java application to a database
  • Building graphical user interfaces with the AWT and Swing class libraries
  • Packaging of application for running on arbitrary platform

 

  • Introduction to Java-based technologies
  • Using Java as a programming language
  • Basic object-oriented modeling in UML
  • Implementing object-oriented models in Java
  • Using computer science classes in the Collections Framework
  • Preventing program errors with exception handling
  • Managing different types of streams in Java
  • Using Java database support
  • Create graphical user interfaces
  • Writing and running JUnit tests

Programmers, system architects, testers and project managers.

Basic programming knowledge in any programming language like C, C++, C#.

This course has no certification.

Info to come…

1. Java as a programming language

  • Linguistic structure
  • Automatic memory recovery – garbage collection
  • Standard library: java.lang, java.util
  • Data types: primitives and classes
  • Type safe constants: enum
  • Simple variables, vectors, objects
  • Initialization: variables, vectors, objects
  • Operators: arithmetic, comparative, logical
  • Syntax for lambda expressions
  • Selective statements: if, switch, ?/:
  • Iterative statements: while, do/while, for
  • Allocation rates
  • Access control: public, private, (package), protected
  • Type modifiers: static, final
  • Type conversion: generalizing, specializing
  • Annotations
  • Autoboxing/autounboxing for primitive data types
  • Exception handling: use, discard/catch exception items
  • Recommendations for good coding practices
  • Naming conventions: packages, classes, interfaces, methods, variables, art
  • Support for documentation with JavaDoc

2. Object orientation with Java

  • Introduction to object orientation
  • Encapsulation: objects, classes, methods, attributes
  • UML as a tool for OO diagrams
  • Class relations: Aggregate, Association, User
  • Inheritance, class hierarchies, polymorphism, metadata
  • Constructors, abstract methods, abstract classes
  • Interface definition and implementation

3. testing of Java programs

  • Unit testing background, philosophy
  • JUnit4 a framework for testing Java programs
  • Test classes
  • Test Siter

4. collections framework

  • Type-safe collection classes for arbitrary object types
  • Overall Collection, List, Set and Map interfaces
  • Interfaces for traversal Iterator and ListIterator
  • for:each loop for easy traversal of collection classes
  • Comparable, Comparator, SortedSet and SortedMap sorting interfaces
  • List implementation classes: ArrayList and LinkedList
  • Set implementation classes: HashSet and TreeSet
  • Map implementation classes: HashMap and TreeMap
  • Resource classes Arrays and Collections

5. Currents in Java

  • Streams as a concept: data flow between source and destination
  • Default startup streams: System.in, System.out, System.err
  • File management: FileInputStream, FileOutputStream
  • Classes for handling character streams: Reader and Writer
  • Store/read data types: DataInputStream, DataOutputStream
  • Serialization: ObjectOutputStream, ObjectInputStream

6. Database management with Java

  • JDBC architecture
  • Addressing the database
  • Connecting to database
  • Sending SQL statements
  • Management of responses from database: ResultSet
  • DataSource for general database management
  • Three-layer architecture for database applications

7. user interface with Java

  • Graphical user interfaces for applications
    – Swing
    – JavaFX
    – JSF
  • MVC – Model View Controller
  • Overview of the component architecture
  • Components used
  • Using layout managers
  • Event management

8. distribution of Java applications

  • JRE – Java Runtime Environment
  • Archive types
    – JAR – Java ARchive
    – WAR – Web ARchive
    – EAR – Enterprise ARchive
  • Ant/Maven for building Java applications

Course Overview

28 450 kr

3 days

Can’t find a (suitable) date, but are interested in the course? Send in an expression of interest and we will do what we can to find a suitable opportunity.

Customized Courses

The course can be adapted from several perspectives:

  • Content and focus area
  • Extent and scope
  • Delivery approach

In interaction with the course leader, we ensure that the course meets your needs.

Skicka intresseanmälan för utbildningen

Send an expression of interest for the training