HomeCase studiesMulti-Tenant 3PL Warehouse Management Software for Directed...

Case study · Antwerp, Belgium

Multi-Tenant 3PL Warehouse Management Software for Directed Slotting and Barcode Picking Built with Java, Spring Boot, and PostgreSQL

3PL Fulfillment, Slotting & Barcode Picking

Third-party logistics providers operating shared distribution facilities struggle when spreadsheet-era tools fail to enforce bin-level accuracy, FEFO lot rotation, and multi-client billing isolation. We engineered a multi-tenant warehouse management system using Java, Spring Boot, and PostgreSQL. The platform orchestrates ASN container receiving, rule-driven directed putaway, wave and zone barcode picking across rugged handheld terminals, and real-time client inventory synchronization.

Industry
3PL Fulfillment, Slotting & Barcode Picking
Solution
A transactional multi-tenant 3PL warehouse execution platform built with Java, Spring Boot, PostgreSQL, Kafka, and React for directed slotting, wave picking, and barcode verification.
Platforms
Web & API
Stack
Java · Spring Boot · PostgreSQL · React · Redis · Kafka
Location
Antwerp, Belgium · delivered remotely
Role
Engineering, with the team behind for mobile and QA

Delivered remotely for a business based in Antwerp, Belgium. Names withheld by agreement.

Project Overview

High-volume third-party logistics facilities near major maritime hubs juggle thousands of inbound containers, mixed-SKU pallets, and tight same-day carrier cutoffs across dozens of merchant clients simultaneously. When floor teams rely on paper pick lists or loosely coupled inventory scripts, phantom stock accumulates in reserve racking, forklift operators travel unnecessary aisles, and 3PL billing disputes drag on every month-end.

Built for a multi-client fulfillment operator in Antwerp, we developed warehouse management software grounded in Java, Spring Boot, and PostgreSQL. The platform governs physical warehouse movement from dock-door ASN receiving through directed slotting, barcode-verified wave picking, pack-station validation, and automated client ERP synchronization.

Floor Execution & Inventory Drift

Operating multi-tenant distribution centers under real-world throughput pressure surfaces four critical engineering challenges:

  • Phantom inventory from race conditions: Concurrent wave releases and ad-hoc cycle counts corrupt stock balances when systems increment and decrement simple integer counters without strict locking.
  • Inefficient travel and congestion: Uncoordinated pick lists send multiple operators down the same narrow aisle while fast-moving SKUs sit buried in distant high-bay slots.
  • Lot and expiry blind spots: Mixed-batch pallets require strict FEFO (First Expired, First Out) enforcement and instant recall traceability—impossible when stock tracks only SKU totals.
  • Opaque 3PL billing events: Reconciling pallet-days, pick touches, and value-added kitting labor manually from exported spreadsheets invites margin leakage and client friction.

Architectural Strategy

We designed the WMS around an append-only inventory movement journal coupled with strict bin-level balance locks in PostgreSQL. Physical inventory never teleports or mutates silently; every scan records an explicit source location, destination location (receiving dock, reserve rack, forward pick face, picker tote, pack bench), quantity, lot code, and operator ID inside a Spring Boot @Transactional boundary.

A React desktop control tower equips supervisors with wave planning, dock scheduling, and heatmap slotting views, while a stripped-down, high-contrast React handheld interface drives Zebra and browser-based barcode scanners with zero mouse interaction required.

Core Capabilities

  • Dock Receiving & Directed Putaway: Matches inbound deliveries against client ASNs, captures lot/expiry codes, prints GS1-128 pallet labels, and assigns optimal reserve or forward bins based on velocity and weight rules.
  • Dynamic Slotting & Replenishment: Monitors forward pick-face minimums continuously and dispatches forklift replenishment tasks before active waves stall on empty bins.
  • Wave, Batch & Zone Picking: Groups orders by carrier cutoff, aisle zone, or single-line efficiency, guiding pickers along shortest-path bin sequences with mandatory location and item barcode confirmation.
  • Pack-Station Verification & Carrier Labels: Re-verifies picked totes against carton weights and item barcodes before generating ZPL thermal shipping labels and triggering ASN/shipment webhooks.
  • Cycle Counting & Discrepancy Quarantine: Isolates short-picks automatically into supervisor recount queues without halting adjacent pickers.
  • Multi-Tenant 3PL Billing Stream: Emits standardized Kafka events for every receipt, daily bin occupancy snapshot, pick touch, and special handling task.

Technical Architecture

Client ERPs push inbound ASNs and outbound fulfillment orders into Spring Boot REST and EDI gateways. Wave planners evaluate PostgreSQL stock reservations and Redis task claims to generate directed work queues for React handheld terminals, while every committed stock movement publishes an asynchronous domain event to Kafka for client webhooks and billing aggregation.

Flow: Client ERP / EDI Orders → Spring Boot API Gateway → Wave & Slotting Engine → PostgreSQL Inventory Ledger & Redis Task Locks → React RF Handheld & Supervisor Console → Apache Kafka Movement Stream → Client Webhooks & 3PL Billing Engine

Separating synchronous transactional bin commits in PostgreSQL from downstream Kafka consumers ensures external ERP webhook slowdowns never freeze an operator standing at a pack bench with a barcode scanner.

Technology Stack

Category Technology detail
Core WMS Engine Java 21 and Spring Boot executing transactional inventory ledgers, wave planning, and slotting rules
Relational Ledger PostgreSQL persisting tenant-isolated bins, stock balances, lot/expiry attributes, and scan logs
Supervisor & RF UI React and TypeScript providing desktop floor control towers and lightweight handheld barcode workflows
Task & Lock Cache Redis coordinating active pick-task claims, bin reservations, and fast barcode lookup caches
Event Streaming Apache Kafka emitting immutable stock movements for client ERP webhooks and 3PL storage billing
EDI & Client APIs REST and webhook gateways syncing ASNs, sales orders, and shipping confirmations with client systems
Label & Print Bus Asynchronous ZPL thermal label rendering for GS1-128 pallet tags, bin barcodes, and shipping labels
Deployment Runtime Dockerized Spring Boot microservices supporting isolated tenant workloads and predictable rollouts

Engineering Trade-offs & Solutions

Engineering Challenge Solution & Trade-off
Heavy multi-order wave planning queries can contend with live barcode scan writes Isolated wave-generation reads onto read-tolerant planning snapshots and committed final bin reservations in short, sorted-key lock transactions to avoid deadlocks.
Browser-based RF screens lag if they load heavy dashboards or wait on thermal label PDFs Built a minimal keyboard/scanner-first React route with pre-fetched next-task payloads and offloaded ZPL printer spooling to async worker queues.
Shared warehouse zones mix multiple 3PL clients in adjacent bins, risking cross-tenant mistakes Enforced tenant-scoped barcode prefixes and explicit Spring Security query filters across every service repository, trading slightly longer bin-tag scans for strict isolation.
Calculating 3PL invoice storage fees by querying raw movement logs locks reporting tables Streamed daily occupancy snapshots and billable touch events over Kafka into dedicated billing rollups, keeping the operational PostgreSQL ledger lean.

Tenant Isolation & Audit Traceability

Multi-tenant 3PL operations demand ironclad data boundaries alongside total physical traceability. Spring Boot injects mandatory tenant context from authenticated API credentials and supervisor session scopes into every database repository call, preventing one merchant client from ever querying another's inventory levels or inbound ASNs.

Every handheld scan logs the authenticated operator badge, timestamp, scanned bin check-digit, and SKU/lot barcode into an immutable PostgreSQL journal. When a client questions a damaged unit or missing batch, supervisors trace the exact chain of custody from container unload to carrier manifest within seconds.

Concurrency Under High-Velocity Picking

During afternoon carrier-cutoff sprints, dozens of pickers and forklift drivers scan thousands of locations concurrently. To prevent deadlocks when multiple tasks touch overlapping SKUs, Spring Boot services acquire PostgreSQL FOR UPDATE row locks in deterministic (tenant_id, sku_id, bin_id) order and keep transactions strictly confined to inventory validation—never holding database locks across external network calls or printer sockets.

Redis caches static SKU barcode mappings, aisle coordinates, and active operator task claims so handheld terminals receive sub-100ms scan acknowledgements across the warehouse floor.

Operational Outcomes

Replacing manual pick sheets and disconnected client spreadsheets with a transactional Spring Boot and PostgreSQL warehouse core elevated execution across every shift:

  • Trusted real-time bin accuracy: Mandatory check-digit and item-barcode validation paired with atomic ledger locking keeps digital stock aligned with physical racking.
  • Higher pick-path discipline: Directed wave sequencing and proactive forward-pick replenishment cut wasted operator aisle backtracking during peak cutoffs.
  • Audit-ready batch traceability: Full FEFO enforcement and end-to-end movement journals satisfy strict retail and regulated-goods compliance reviews effortlessly.
  • Transparent client billing: Immutable Kafka movement and occupancy events eliminate end-of-month invoice disputes between warehouse operators and 3PL clients.

01 — Questions

asked about this kind of project

How does the system prevent two pickers from claiming or overselling the last unit in a bin?

All stock allocations and bin-to-cart transfers execute inside serializable or pessimistic row-locked PostgreSQL transactions managed by Spring Boot. Available quantity separates physical on-hand stock from active wave reservations, making double-allocation impossible under concurrent scanning.

How does the WMS support food, cosmetics, or regulated goods requiring FEFO and batch traceability?

Inventory records anchor to SKU, tenant, bin location, lot number, and expiration date rather than aggregate SKU totals. Directed wave-picking rules sort eligible forward-pick bins strictly by earliest expiry (FEFO) while retaining full lot genealogy from ASN receipt to outbound parcel.

What happens when handheld barcode scanners hit Wi-Fi dead zones inside high-bay steel racking?

The React handheld PWA queues validated scan confirmations locally with sequence IDs when signal drops and replays them idempotently once connectivity returns, while critical allocation commits re-verify server lock tokens before finalizing pack-out.

How do multiple 3PL clients share one warehouse building without data leaks or billing disputes?

Every SKU, order, bin allocation, and movement journal row carries an explicit tenant identifier enforced at the Spring Security repository layer. Every storage day and pick touch emits an immutable Kafka movement event feeding transparent per-client billing.

Why choose Java and Spring Boot with PostgreSQL instead of a NoSQL document store for WMS?

Warehouse execution relies heavily on ACID invariants—moving stock from receiving dock to reserve pallet to pick bin to shipping carton cannot tolerate eventual consistency. Java's strong typing and Spring Boot's declarative transaction management pair naturally with PostgreSQL row locks.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.