Course description
Modern Java code extends well beyond object orientation and the associated principles. This hands-on course, delivered using Java 17, endeavours to provide a grounding in advanced topics including generics, functional programming, concurrency, annotations, reflection, and security (among others).
This course assumes you are familiar with the fundamentals of the Java language including object oriented principles, and that you can build simple applications. If not, you should consider our Java Programming 1 / Java Developer course instead.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
Who will the Course Benefit?The Java Programming 2 / Java Advanced Developer course is aimed at existing Java developers who are seeking to build on their knowledge of the fundamentals so as to make full use of the language's advanced features.
Course ObjectivesThis course aims to provide the delegate with the skills needed to build and/or maintain Java applications that exploit advanced features. It also serves as good preparation for developers seeking to contribute to enterprise level applications built with Java EE/Jakarta EE/Spring or similar.
Upcoming start dates
Suitability - Who should attend?
Delegates attending this course should be familiar with the fundamentals of the Java language including object oriented principles, and should be able to build simple applications. This knowledge can be obtained by attendance on the pre-requisite Java Programming 1 / Java Developer course.
Experience to the level as demonstrated in this course is recommended:
- Java Programming 1 / Java Developer
Training Course Content
Java Programming 2 / Java Advanced Developer Training Course
Course Contents - DAY 1
Course Introduction- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
- Generic types
- Generic methods
- Bounded type parameters
- Generics and inheritance
- Type inference
- Wildcards
- Type erasure
- Restrictions
- The Collection interface hierarchy
- Iterable and Iterator
- Collection operations and traversal
- The Collections class
- Collection types (characteristics and implementations) incl. List, Set and Queue
- The Map interface hierarchy
- Map operations and traversal
- Map types (characteristics and implementations)
- The Object class
- Overriding toString
- Equality and membership testing
- Hashing collections
- Overriding hashCode and equals
- The Comparable and Comparator interfaces
- Searching and sorting
- Overriding compareTo and compare
Course Contents - DAY 2
Session 4: NESTED CLASSES- Static nested classes
- Inner classes
- Shadowing
- Local classes
- Anonymous classes
- Variable capture and effectively final
- What is a lambda expression?
- Lambda use case: collection filter
- Lambda syntax
- What is a method reference?
- Method reference use case: collection sort
- Method reference types x 4
- What is functional programming?
- Functions as first class objects
- Pure functions
- Higher order functions
- Immutable objects
- Java's functional interfaces
- Functional composition
- What is a stream?
- Obtaining/creating a stream
- Intermediate (non-terminal) operations
- Terminal operations
- The Optional class
- The Collectors class
- Stream concatenation
- Primitive streams
Course Contents - DAY 3
Session 8: EXCEPTIONS, ASSERTIONS & LOCALISATION- Exceptions (a review)
- Custom exceptions
- Try with resources
- Assertions
- Dates and times
- Internationalisation and localisation
- Resource bundles
- Modules (a review)
- Module types
- Analysing dependencies
- Migrating an existing application
- Creating a service
- Low-level threading incl. Runnable, sleep, join
- The Java memory model
- Threading problems incl. race conditions, deadlock, and starvation
- Immutable objects and ThreadLocal
- Thread synchronization incl. volatile, synchronized, atomic data types, and locks
Course Contents - DAY 4
Session 10 (Continued): CONCURRENCY- ExecutorService, thread pools, Callable, and Future
- Concurrent and immutable collections
- Parallel streams
- Files and directories
- I/O streams
- Common operations
- Binary data, character data, and serialisation
- Console I/O
- What is NIO?
- Paths
- Manipulating the filesystem
- File attributes
- Listing, traversing, and searching a directory
Course Contents - DAY 5
Session 13: ANNOTATIONS- What is an annotation?
- Form and application
- Standard annotations
- Declaring an annotation
- What is reflection?
- Modules, classes, constructors, fields, and methods
- Private members
- Annotations
- Generics and arrays
- Dynamic proxies
- Dynamic class loading
- Securing objects
- Injection and input validation
- Handling confidential information
- Serialising and deserialising objects
- Sensitive objects
- Preventing denial of service attacks
Customer Outreach Award
We believe that it should be easy for you to find and compare training courses.
Our Customer Outreach Award is presented to trusted providers who are excellent at responding to enquiries, making your search quicker, more efficient and easier, too.
Reviews
Average rating 4.8
Well thought out course. Enjoyed that the requirements/parts for the Exam activity developed as I was taught new concepts. All concepts on the course were explained well as were...
Best lecturer I've ever had. Brilliant paced and brilliantly presented. Hope future training courses have Stuart as a lecturer.
Continuing Studies
Further Learning
- Developing Applications with Java EE
- Unit Testing with JUnit
- Core Spring
Request info
Why StayAhead. From a single person on a scheduled course to large scale training projects StayAhead Training have the expertise and experience to help. Established since 1992, StayAhead Training is recognised as one of the leading independent IT Training specialists...
It was amazing as usual.