Skip to main content

175 docs tagged with "Java"

View all tags

Abstract Factory Pattern

Explains the Abstract Factory pattern for creating related object families without coupling code to concrete classes.

Adapter Pattern

Explains the Adapter pattern for bridging incompatible interfaces so existing classes can work together cleanly.

Amazon RDS & Aurora

Amazon RDS and Aurora for DVA-C02. Multi-AZ vs Read Replicas, Aurora Serverless, RDS Proxy, IAM authentication, connection pooling, encryption, and common developer patterns with Java/Spring Boot.

AWS CodeBuild

AWS CodeBuild deep dive for DVA-C02. buildspec.yml phases, environment variables, artifacts, caching, VPC support, test reports, and Maven/Gradle Java integration.

AWS Elastic Beanstalk

Elastic Beanstalk for DVA-C02. Deployment policies (All at once, Rolling, Rolling with additional batch, Immutable, Blue/Green), .ebextensions, .platform, environment tiers, database decoupling, and Java Spring Boot deployment.

AWS SDK for Java v2 — Developer Guide

AWS SDK for Java v2 for DVA-C02. Client initialization patterns, credential providers, default credential chain, pagination, waiters, presigners, and Spring Boot autoconfiguration. Essential for Java developers taking the DVA-C02 exam.

Bridge Pattern

Explains the Bridge pattern for separating abstractions from implementations so both can evolve independently.

Builder Pattern

Explains the Builder pattern for constructing complex objects step by step with clearer, more maintainable APIs.

Change Data Capture (CDC)

Comprehensive guide on Change Data Capture (CDC), detailing how it works, alternatives comparison, implementation patterns with Debezium and Spring, and deep dives for senior engineers.

Cognizant 3 Years Interview Experience | Java Spring Boot

A detailed collection of real interview questions and answers from a Cognizant Java Developer interview for a candidate with 3 years of experience. Covers Spring Boot, Microservices, Performance Optimization, and System Migration.

Command Pattern

Explains the Command pattern for encapsulating requests as objects to support queuing, logging, and undo operations.

Common OS Interview Questions

Comprehensive collection of operating systems interview questions with detailed answers, covering all major topics from processes to Linux internals.

Composite Pattern

Explains the Composite pattern for modeling part-whole hierarchies and treating single objects and object groups uniformly.

CQRS & Event Sourcing

Comprehensive guide on Command Query Responsibility Segregation (CQRS) and Event Sourcing, detailing architecture, implementation patterns, comparisons with alternatives, and deep dives for senior engineers.

Cryptography & Secure Design

Practical cryptography for Java engineers — AES-GCM, RSA, HMAC, digital signatures, key management, secure random, constant-time comparisons. Pairs with the Keys, Signing & TLS doc.

Dead Letter Queue (DLQ) Pattern

A comprehensive guide to the Dead Letter Queue (DLQ) pattern — covering poison pill handling, retry strategies, alternatives comparison, AWS SQS / Kafka / RabbitMQ implementations, and production deep dives for senior engineers.

Decorator Pattern

Explains the Decorator pattern for adding responsibilities to objects dynamically without relying on subclassing.

EPAM 3 Years Interview Experience | Java Spring Boot

A comprehensive collection of real interview questions and answers from an EPAM Java Developer interview. Ideal for candidates with 3 years of experience, covering Core Java, Spring Boot, Microservices, and Memory Management.

Exception Handling in Spring Boot

A complete guide to @ControllerAdvice and @RestControllerAdvice — handling checked and unchecked exceptions globally, building consistent error responses, validation errors, and senior-level exception hierarchy design.

Facade Pattern

Explains the Facade pattern for exposing a simple interface over complex subsystems to reduce coupling.

Factory Method Pattern

Explains the Factory Method pattern for deferring object creation to subclasses while preserving a common creation contract.

Flyweight Pattern

Explains the Flyweight pattern for minimizing memory usage by sharing as much data as possible with similar objects.

HCL 3 Years Interview Experience | Java Spring Boot

A comprehensive collection of real technical interview questions and answers from an HCL Java Developer interview for a candidate with 3 years of experience. Covers JVM Architecture, OOPs, Collections, and Spring Boot Internals.

IBM 3 Years Interview Experience | Java Spring Boot

A comprehensive collection of real interview questions and answers from an IBM Java Developer interview. Ideal for candidates with ~3 years of experience, covering Java 11 features, Microservices (Saga), Spring Boot Internals, and SOLID principles.

IBM Java Developer Interview Experience & Questions

A comprehensive list of technical interview questions and answers from an IBM Java Full Stack Developer interview. Ideal for candidates with 3 to 7 years of experience, covering Java 8, Spring Boot, REST APIs, and AWS basics.

Interpreter Pattern

Explains the Interpreter pattern used to evaluate sentences in a specific language by defining a grammar representation and an interpreter.

Iterator Pattern

Explains the Iterator pattern used to traverse collections without exposing their underlying representation.

Java 8+ Date Time API

Java 8 and later Date Time API interview questions with migration and best-practice guidance.

Java Concurrency & Utilities

Comprehensive guide to Java concurrency, covering concurrent utilities, thread pools, the Fork/Join framework, and async programming.

Java Design Patterns: Overview

Overview of Java design patterns, their categories, and how they improve maintainability, readability, and software design decisions.

Java Knowledge Base Overview

A comprehensive reference covering Java fundamentals, collections, concurrency, JVM internals, modern language features, and interview preparation.

Java Locks & Synchronization

Deep dive into Java locks and synchronization primitives, including synchronized, volatile, ReentrantLock, ReadWriteLock, StampedLock, and AQS.

Java Threads & Processes

A complete guide to threads, processes, lifecycles, and basic thread coordination (join, interrupt, daemon threads) in Java.

Mediator Pattern

Explains the Mediator pattern used to reduce chaotic dependencies between objects by centralizing their communication.

Memento Pattern

Explains the Memento pattern used to capture and restore an object's internal state without violating encapsulation.

Memory Management — OS & Java

A complete guide to memory management — virtual memory, paging, TLB, page replacement, fragmentation, Linux allocators, JVM heap regions, GC algorithms, tuning, and production memory profiling. Beginner through senior depth.

Networking & IPC

Network stack internals, socket programming, TCP deep dive, IPC mechanisms, and high-performance networking with Java NIO and Netty patterns.

Observer Pattern

Explains the Observer pattern for propagating state changes to dependent objects through event-style notifications.

Operating Systems Knowledge Base

A comprehensive knowledge base covering all major operating system concepts, with a focus on Linux internals and Java/JVM perspective.

Processes & Threads — Complete Guide

A complete guide to processes and threads — memory layout, lifecycles, IPC, threading models, context switching, Java concurrency, virtual threads, thread pool tuning, memory visibility, and production patterns. Beginner through senior depth.

Prototype Pattern

Explains the Prototype pattern for creating new objects by cloning existing instances instead of rebuilding them from scratch.

Proximity Search & Geospatial Indexes

A comprehensive guide to proximity search and geospatial indexing — covering spatial trees, encoded key indexes, production Java/Spring implementation, and senior deep dives on trade-offs and failure modes.

Proxy Pattern

Explains the Proxy pattern for controlling access to another object through an intermediary with the same interface.

Secure SDLC & DevSecOps

Embedding security into the software development lifecycle — threat modeling, SAST, DAST, SCA, secrets scanning, container security, and shift-left security practices for Java/Spring teams.

Security Interview Questions — Master Reference

Comprehensive security interview question bank for Java/Spring engineers — covering authentication, JWT, JWKS, MLE, payload signing, TLS, web vulnerabilities, cryptography, network security, cloud security, and secure design.

Singleton Pattern

Explains the Singleton pattern for ensuring a single shared instance and a controlled global access point.

Socket Programming & I/O Models

Blocking vs non-blocking I/O, Java NIO, epoll, the C10K problem, Netty, and how event-driven servers handle massive concurrency.

Spring AOP (Aspect-Oriented Programming)

Comprehensive guide on Spring AOP — covering core concepts, proxy mechanics, pointcut expressions, advice types, alternatives comparison, and production deep dives for senior engineers.

Spring Batch — Complete Guide

A complete guide to Spring Batch — Job architecture, Chunk-oriented processing, ItemReader/Processor/Writer, fault tolerance, scaling patterns, transaction boundaries, and production monitoring.

Spring Boot — Advanced Topics

Advanced Spring Boot topics covering security, performance tuning, reactive systems, deployment, and production-ready design.

Spring Boot: Interview Questions

Curated Spring Boot interview questions and answers spanning fundamentals, advanced topics, and real-world production scenarios.

Spring Cloud — Microservices Ecosystem

Complete guide to Spring Cloud, covering Service Discovery (Eureka), Config Server, API Gateway, Circuit Breakers, Distributed Tracing, internal workings, integration patterns, pros/cons, and interview questions.

Spring Data JPA Overview

High-level map of Spring Data JPA concepts and links to focused guides on repositories and Hibernate internals.

Spring Data JPA: Custom Queries with @Query

A complete guide to custom JPQL, Native SQL, SpEL, projections, and senior-level internals — persistence context mechanics, N+1 prevention, memory optimization, and connection pool management.

Spring Framework: Deep Dive

Advanced Spring Framework guide covering bean lifecycle, AOP, data access, reactive programming, and batch processing.

Spring Framework: Overview

Foundational overview of the Spring Framework, including IoC, dependency injection, modules, and enterprise application development.

Spring MVC — Complete Guide

Complete guide to Spring MVC covering controllers, request handling, model binding, validation, and REST application structure.

Spring Security — Complete Guide

Comprehensive guide to Spring Security, including authentication, authorization, filter chains, exception handling, and common application security patterns.

Stack vs Heap Memory in Java

An in-depth guide to understanding what data is stored in stack memory and heap memory in the Java Virtual Machine (JVM), including memory tuning and garbage collection.

State Pattern

Explains the State pattern which allows an object to alter its behavior when its internal state changes.

Strategy Pattern

Explains the Strategy pattern for swapping algorithms at runtime through a shared interface and composition.

Synchronization & Deadlocks

Race conditions, critical sections, mutexes, semaphores, monitors, classic synchronization problems, deadlock detection/prevention, and Java concurrency utilities.

TCS 3 Years Interview Experience | Java Spring Boot

A comprehensive collection of real interview questions and answers from a TCS Java Developer interview. Ideal for candidates with ~3 years of experience, covering Core Java, API Security, Spring Boot, and Microservices.

Template Method Pattern

Explains the Template Method pattern for defining an algorithm skeleton while allowing subclasses to customize specific steps.

Virtual Memory — Deep Dive

A comprehensive guide to virtual memory — covering address spaces, paging mechanics, swap, OOM killer, huge pages, NUMA, and practical Linux/JVM tuning for senior engineers.

Virtual Threads (Project Loom)

A comprehensive deep dive into Java 21 Virtual Threads, Carrier Threads, continuations, and avoiding synchronized pinning for senior engineers.

Visitor Pattern

Explains the Visitor pattern used to separate algorithms from the objects on which they operate.

Week 1: Arrays, Strings & Prefix Sums

Master contiguous memory structures in Java, including static arrays and string immutability, and optimize range queries using the Prefix Sum pattern.

Week 10: Recursion & Backtracking

Master the art of recursive thinking and the 'Choose-Explore-Unchoose' pattern. Learn to solve complex combinatorial problems like permutations, combinations, and grid-based searches in Java.

Week 13: Dynamic Programming I (1D)

Enter Phase 4 by conquering Dynamic Programming. Learn to identify overlapping subproblems and map recursion to bottom-up tabulation and memoization in Java.

Week 14: Dynamic Programming II (2D)

Master multi-dimensional Dynamic Programming. Learn to solve Grid Traversals, String Alignments (LCS, Edit Distance), and 2D space optimization in Java.

Week 15: Advanced Sliding Windows

Master the variable-size sliding window pattern in Java. Learn to dynamically expand and shrink boundaries to solve complex substring, subarray, and stream processing problems.

Week 16: Tries (Prefix Trees)

Master the Trie data structure for lightning-fast string manipulation. Learn to build Autocomplete systems, handle wildcard searches, and optimize multi-word grid searches in Java.

Week 17: Shortest Paths & MST

Begin Phase 5 by conquering weighted graphs. Master Dijkstra's Algorithm for finding the shortest path and Prim's Algorithm for building Minimum Spanning Trees in Java.

Week 18: Disjoint Set Union (Union-Find)

Master the Disjoint Set Union (DSU) data structure. Learn how to dynamically track connected components and optimize with Path Compression and Union by Rank in Java.

Week 19: Bit Manipulation & Math

Shift from high-level data structures to low-level CPU operations. Master XOR properties, Bit Masking, signed vs. unsigned shifts, and core Number Theory in Java.

Week 4: Hash Tables & Sets

Master Hash Maps and Hash Sets in Java. Learn about O(1) lookups, collision resolution, frequency counting, and the equals() and hashCode() contract.

Week 5: Stacks, Queues & Monotonic Stack

Transition to Phase 2 by mastering LIFO and FIFO data structures. Learn why to avoid Java's legacy Stack class and dive deep into the highly-tested Monotonic Stack pattern.

Week 6: Binary Trees & BSTs

Move from linear to hierarchical data structures. Master Depth-First Search (DFS), Breadth-First Search (BFS), and the properties of Binary Search Trees in Java.

Week 7: Graph Foundations

Transition from trees to general networks. Master graph representations, Adjacency Lists, and grid-based DFS/BFS traversals in Java.

Week 8: Advanced Graph Concepts

Master Directed Acyclic Graphs (DAGs), cycle detection in directed graphs, and dependency resolution using Kahn's Algorithm (Topological Sort) in Java.

Week 9: Binary Search & The Answer Space

Start Phase 3 by mastering logarithmic time complexity. Learn standard Binary Search, handling rotated arrays, and the advanced "Binary Search on Answer Space" pattern in Java.

Wipro 3 Years Interview Experience [Java Springboot]

A detailed collection of real interview questions and answers from a Wipro Java Developer interview. Ideal for candidates with ~3 years of experience, covering JVM Internals, Memory Management, Spring Boot, and Core Java snippets.