Java Best Practices and Design Patterns
Contact us to book this course
Curriculum
Java
Delivery methods
On-Site, Virtual
Duration
4 days
This in-depth workshop provides developers and architects the ability to identify, apply, and customize object-oriented (Gang-of-Four) and Java Enterprise design patterns. The course also introduces best practices in organizing and testing Java projects.
Learning objectives
- Write lighter and more flexible code
- Automate building and testing Java applications
- Design better Java classes
- Create behavior at runtime
- Create objects on demand
- Improve code structure
- Optimize Java code using design patterns
Who should attend
This is an intermediate level Java programming course, designed for developers who wish to improve their Java programming and design skills. The student should be an experienced J2EE/Java programmer, with practical development experience in Java
Course outline
- Coding Conventions
- A Few Best Practices
- Unit Testing
- Why Effective Java?
- Creation and Destruction
- java.lang.Object
- Classes and Interfaces
- Methods
- General Programming
- Exceptions
- Design Principles
- Singleton
- Template Method
- Strategy
- Command
- Memento
- General Purpose Classes
- Bridge
- Composite
- Role
- Visitor
- Limitations of Constructors
- Simple Factory
- Prototype Factory
- Inversion of Control
- Builder
- Abstract Factory
- API Design
- Façade
- Adapter
- Proxy
- Decorator
- Observer
- Chain of Responsibility
- Mediator
- Measuring Performance
- Java Optimizations
- Lambda Expressions
- Functional Interfaces
- Optional Variables
- Streams