PV168
Layered Architecture
Layered Architecture
Each layer of the layered architecture pattern has a specific role and responsibility within the application.[1]
Back to the seminar
- How did your solutions look like?
- What if we wanted JSON or XML instead?
Open-Closed Principle
- Definition
- Software entities should be open for extension, but closed for modification
- What does it mean?
- How to achieve that?
New stuff in Employee Records
- We have added a dozen commits since last week
- Let’s explore them in greater details
N-tier architecture
Separation of concerns
Layers of isolation
Architecture sinkhole anti-pattern
Error Handling
- What is and Why we need error handling?
- Best practices
- Checked vs Unchecked exceptions
- Demo
Work with files
- Existing API
- Resource leaks
try
-with-resources
- Documentation vs Implementation
- Best practices
- Demo