I'm a Java and Spring Boot Backend Engineer and Open Source Contributor focused on distributed systems, financial networks, high-assurance architecture, enterprise Java runtimes, and cloud-native backend engineering.
My core backend stack is Java 21 and Spring Boot, with practical experience in distributed payment orchestration, idempotent workflows, finite state machines, Spring Modulith, relational databases (PostgreSQL), enterprise application runtimes (Open Liberty, GlassFish, WildFly), Docker, Kubernetes, AWS, and enterprise standards.
I actively build and contribute to open-source software across the Java and distributed systems landscape, including FinSim (creator & maintainer), Jakarta Data TCK EE Runner (creator & maintainer), Open Liberty, Eclipse GlassFish, Jakarta EE / Jakarta Data, Eclipse JNoSQL, and Spring-related projects β diagnosing complex OSGi/class-loader and TCCL failures, authoring specification tests and TCK suites, building multi-provider container testbeds, and designing clean architecture boundaries.
- Java 21 & Spring Boot 4
- Distributed Financial Networks & Payment Orchestration
- Finite State Machines & Idempotent Architectures
- Enterprise Java Runtimes: Open Liberty, Eclipse GlassFish 8, WildFly
- Jakarta Data 1.1 Specification & TCK Suite Development
- Arquillian Managed Container Testbeds & Multi-Module Reactors
- Spring Modulith & Modular Monoliths
- Eclipse JNoSQL & Jakarta NoSQL Ecosystem
- PostgreSQL 17, Flyway & Testcontainers
- Docker, Docker Compose & Kubernetes
- AWS & Infrastructure as Code (Terraform)
- Property-Based Testing & Architecture Verification (ArchUnit)
- Modern Full-Stack Development (Next.js 16, TypeScript, React 19)
GitHub:
mhnuk2007
Primary focus: Java 21 β’ Spring Boot β’ Financial Systems β’ Distributed Systems β’ Jakarta EE β’ Cloud-Native
An open-source distributed financial network simulator: connect independent participant services (banks, merchants, gateways), run realistic payment flows, enforce strict idempotency, and inject distributed systems failures on purpose.
-
Language-Agnostic Participant Contract (
finsim/v1): External institutions (Java, Python, Node.js, Go) communicate over a versioned HTTP/JSON specification defined in OpenAPI 3.1 with interactive Swagger UI (/swagger-ui.html). -
UNKNOWNState & ADR 0001 Forward Reconciliation: Unlike naive sandboxes that convert network timeouts into "failed", FinSim modelsUNKNOWNas a first-class state. Retries are guarded (409 RECONCILIATION_REQUIRED), and an automated forward-first decision engine reconciles or reverses debit legs safely with guaranteed zero duplicate credits. -
Strict Idempotency Enforcement: Every mutating request requires an
Idempotency-Key(8β128 chars); identical bodies return cached executions, conflicting bodies return409 IDEMPOTENCY_CONFLICT. -
Fault Injection & Deterministic Replay Engine: Injects synthetic latency (
DELAY), transport cutoffs (TIMEOUT), and duplicated packets (DUPLICATE_DELIVERY). Uses domain-separated SHA-256 IDs, seeded PRNGs, and canonical trace normalization for byte-level deterministic scenario replays. - Deterministic Virtual Clock ("Two Clocks Rule"): Bifurcates temporal mechanics: physical wall-clock for security checks (TLS/JWS nonce TTL) and discrete-event virtual clock for business deadlines, cut-offs, and authorization hold expirations with instantaneous time-travel.
-
Double-Entry Ledger & Conservation Invariants: Append-only relational journal postings as the single source of truth; database-level immutability rules; mathematical multi-currency zero-sum invariant:
$\sum ext{Debits} \equiv \sum ext{Credits}$ . - Next.js 16 Web Workspace & Simulation Cockpit: Decoupled web experience featuring an educational human-first landing page ("The flight simulator for digital money") and an observability cockpit with network topologies and trace waterfalls.
-
Strict Architecture Boundaries: Built with Spring Modulith and ArchUnit to enforce strict cross-module isolation, deterministic clocks, and immutable audit logs (
transfer_stages).
π Repository: github.com/mhnuk2007/finsim
Standalone multi-provider Arquillian testbed and Maven reactor running official Jakarta Data 1.1 TCK suites against Open Liberty, Eclipse GlassFish 8, and WildFly.
- Multi-Runtime Container Adapters: Modular Maven reactor orchestrating Open Liberty (
liberty-maven-plugin+ managed container), GlassFish 8 (OmniFish managed adapteree.omnifish.arquillian), and WildFly (wildfly-arquillian-container-managed:5.1.0.Final). - Automated Resource Provisioning: Provisions embedded Derby connection pools and DataSources automatically across containers (
jdbc/DataTCK,DefaultDataSource) without manual server pre-configuration. - Dual TCK Execution Profiles: Validated against both standalone asynchronous tests (
AsyncTests) and full transactional persistence suites (CompanyRepositoryTest,OrderRepositoryTest,InventoryRepositoryTest). - Surefire Dynamic Discovery: Leverages maven-surefire
<dependenciesToScan>with protocol adaptors (tck_protocol=Servlet 5.0) to run tests directly from officialjakarta.data-tckartifacts without code duplication.
π Repository: github.com/mhnuk2007/jakarta-data-tck-ee-runner
Civic technology platform for the College Education Department, Government of Sindh
An authoritative, read-only analytical compendium managing seniority rosters, statutory retirement timelines, and institutional capacity for the entire collegiate cadre.
- 24 Cadre Categories & 8,978 Validated Records: Unified platform encompassing all 4 teaching tiers (Professor, Associate Professor, Assistant Professor, Lecturer β Male & Female) plus Collegiate Librarians and Directors Physical Education (DPE).
- Zero-Mutation Architectural Pipeline: Strict read-only ingestion from official departmental master records into validated, category-scoped immutable datasets without data fabrication or guessing.
- Retirement Analysis & Multi-Year Calendar: Real-time deterministic retirement projection (
DOB + 60 years - 1 day), multi-year interactive calendar (2024β2045+), upcoming cohort timelines, and senior/junior relationship mapping. - Institutional Directory & SNE Sanctioned Posts: Tracks 390+ public degree colleges and 6 regional directorates, providing detailed sanctioned posts vs. working strength audits, staffing capacity percentages, and structural vacancy tracking.
- Statutory Decision Support Calculators: Implements the Sindh Civil Service Pension Calculator (qualifying service rounding, commutation factor matrices) and BPS Pay Fixation Calculator (Rule 10(3) refixation).
- Engineering & Code Quality: Fully type-checked with TypeScript (
tsc --noEmit), React Compiler hygiene, 298 passing unit/integration tests with Vitest, and WCAG AA accessible light/dark theme architecture.
π Production Deployments: seniorityportal.mhnuk2007.tech β’ seniorityportal.vercel.app
Contributing to Open Liberty by diagnosing core runtime class-loading/OSGi boundaries, URL handler null-safety, and enterprise persistence runtime integrations.
Open Liberty β Issue #35697 / PR #36370 β’ Open
Investigated and resolved a runtime NullPointerException thrown in InMemoryUrlStreamHandler during persistence-unit bootstrap when initializing Jakarta Data 1.1 repositories backed by Jakarta Persistence 3.2 / 4.0.
What I contributed:
- Isolated the failure occurring during Hibernate / JPA entity scanning over OSGi in-memory archive URLs.
- Diagnosed null return paths when resolving custom in-memory stream protocols within
dev/com.ibm.ws.org.apache.felix.framework. - Hardened
InMemoryUrlStreamHandlerto safely handle null query/path components and properly delegate stream resolution. - Validated the fix with full Jakarta Data persistence test suites on Open Liberty.
π Issue #35697 β’ PR #36370
Contributing to Eclipse GlassFish (the reference implementation for Jakarta EE) through integration test coverage, NoSQL repository verification, and Surefire test runner discovery.
GlassFish β PR #26218 β’ Merged
Added end-to-end integration smoke testing for Jakarta Data repositories backed by MongoDB (NoSQLDataRepositoryTest) within the GlassFish test harness.
What I contributed:
- Implemented
NoSQLDataRepositoryTestexercising entity persistence, querying, and retrieval on GlassFish. - Verified CDI injection and container-managed persistence boundaries for NoSQL providers.
- Contributed full integration test lifecycle and validated in upstream CI.
π Merged PR #26218
GlassFish β PR #26284 β’ Merged
Resolved Maven Surefire test class discovery failures preventing NoSQL TCK test suites from executing during automated container builds.
What I contributed:
- Diagnosed test pattern mismatch and dependency scanning rules in the build reactor.
- Updated Surefire configuration to reliably locate and execute NoSQL TCK test classes.
- Validated build and test execution across Java 17 and Java 21 pipelines.
π Merged PR #26284
Contributing to Jakarta Data through TCK development, specification formulation, asynchronous behavior testing, transaction semantics, and compatibility-oriented test coverage.
Jakarta Data β PR #1556 β’ Merged
Added TCK coverage verifying that an asynchronous repository operation completes exceptionally when an insert violates an existing entity constraint.
What I contributed:
- Tested exceptional
CompletionStagecompletion. - Verified
EntityExistsExceptionas the underlying cause. - Added regression coverage for asynchronous repository behavior.
- Validated the test against Open Liberty.
- Incorporated review feedback and finalized the portable TCK scenario.
Validation:
mvn clean verify β successful
Open Liberty execution β successful
π Issue #19 β’ Merged PR #1556
Jakarta Data β PR #1561 β’ Merged
Added TCK coverage for:
@QueryOptions(flush = QueryFlushMode.FLUSH)on a repository method using @JakartaQuery.
The test verifies that a pending entity modification becomes visible to the repository operation within an active transaction without an explicit flush.
What I contributed:
- Added a
@JakartaQueryrepository scenario. - Added
QueryOptions/QueryFlushMode.FLUSHcoverage. - Designed the test around portable Jakarta Data transaction semantics.
- Revised the test based on TCK review feedback.
- Verified the scenario against a development Open Liberty environment.
π Merged PR #1561
Jakarta Data β PR #1567 β’ Merged
Added comprehensive @QueryOptions scenarios from Jakarta Data issue #965 across key repository query types:
@Find@Query@NativeQuery
Each test verifies that pending entity modifications become immediately visible to the repository operation when using:
@QueryOptions(flush = QueryFlushMode.FLUSH)What I contributed:
- Added
@Find+QueryOptionscoverage. - Added
@Query+QueryOptionscoverage. - Added
@NativeQuery+QueryOptionscoverage. - Designed the scenarios around active transaction semantics.
- Kept the tests portable and independent of a particular
EntityManager. - Successfully validated, reviewed, and merged into the official Jakarta Data TCK suite.
π Issue #965 β’ Merged PR #1567
Jakarta Data β Issue #965 β’ PR In Progress
Extended the @QueryOptions test suite to cover @Delete operations on stateful repositories (Inventory), ensuring that pending entity modifications are properly flushed prior to delete execution within active transactions.
What I contributed:
- Designed stateful repository delete scenarios verifying flush semantics before delete execution.
- Maintained clean separation from stateless repository tests.
- Formatted with Spotless and signed off with ECA commit credentials.
π Issue #965
Jakarta Data β Issue #1618 β’ Proposed
Formulated the specification draft for Section 6.4 ("Jakarta Persistence Integration") in jakarta-ee.adoc detailing explicit repository flush semantics and transactional visibility requirements.
What I contributed:
- Drafted normative specification text defining transactional state transitions when
@QueryOptions(flush = FLUSH)is used with Jakarta Persistence providers. - Formulated requirements for entity manager synchronization and persistence context interaction.
- Contributed to upstream architectural discussion alongside specification leads.
π Issue #1618
Contributing to the Jakarta NoSQL ecosystem through bug investigation, root-cause analysis, reproducible testing, regression coverage, production fixes, reusable utilities, and maintainability improvements.
JNoSQL Extensions β PR #209 β’ Merged
Identified and fixed an issue where Page.totalElements() could fail after an automatically created repository transaction had completed.
What I contributed:
- Traced the transaction lifecycle around repository method execution.
- Identified that
Pagecontent was eagerly loaded while totals remained lazy. - Updated
EnsureTransactionInterceptorto evaluatetotalElements()while the automatically created transaction was still active. - Added
PageOutsideTransactionTestas a regression test. - Contributed the fix to the
1.1.xbranch.
Result: Page.totalElements() can safely be accessed after the repository call returns.
π Issue #707 β’ Merged PR #209
JNoSQL Extensions β PR #210 β’ Merged
After a major Jakarta Persistence refactoring, I ported the regression scenario from the 1.1.x fix to the main branch.
What I contributed:
- Adapted the regression test to the new implementation.
- Verified that
Page.totalElements()remains accessible without an active transaction. - Reused the repository-level scenario against the refactored implementation.
- Added permanent regression coverage to
main.
π Merged PR #210
JNoSQL β Issue #631 / PR #765 β’ Merged
Investigated a NoSQLException reported in a reactive Quarkus application where ConstructorBuilderSupplier could not be discovered during initialization.
The issue was traced to Java ServiceLoader provider discovery and thread context class loader (TCCL) visibility.
What I contributed:
- Investigated the failure using standalone and Quarkus/Vert.x reproducer projects.
- Isolated the problem to
ServiceLoaderprovider discovery and class-loader visibility. - Implemented a TCCL-first with defining-class-loader fallback strategy.
- Preserved normal TCCL-based provider discovery where available.
- Added regression coverage using an isolated TCCL.
- Validated the fix with dedicated regression tests and downstream reproducer scenarios.
Result: ConstructorBuilderSupplier can still be discovered when the current thread's context class loader cannot see the provider.
π Issue #631 β’ Merged PR #765
JNoSQL β PR #768 β’ Merged
Applied the same ConstructorBuilder ServiceLoader fix to the main branch targeting the Jakarta EE 12 line.
What I contributed:
- Added the TCCL-first provider lookup strategy.
- Added fallback to
ConstructorBuilder.class.getClassLoader(). - Added a dedicated regression test using an isolated TCCL.
- Verified provider discovery through the fallback path.
- Ran the complete
jnosql-mapping-api-coretest suite.
Validation:
Dedicated regression test:
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Complete module test suite:
Tests run: 67, Failures: 0, Errors: 0, Skipped: 0
Checkstyle: 0 violations
Apache RAT: 0 unapproved files
Java 21 CI: Passed
Java 25 CI: Passed
Eclipse Contributor Agreement check: Passed
π Merged PR #768
JNoSQL β PR #764 β’ Merged
Worked on support for asynchronous repository methods returning CompletionStage types.
What I contributed:
CompletionStage<T>CompletionStage<List<T>>CompletionStage<Optional<T>>CompletionStage<Page<T>>- Regression coverage for asynchronous repository return types.
- Kept the asynchronous capability change separate from the class-loader fix.
π Merged PR #764
JNoSQL β Issue #766 β’ PR #769
After investigating repeated class-loader and ServiceLoader handling patterns, I worked on extracting common provider-loading behavior into reusable infrastructure.
What I contributed:
- Investigated repeated
ServiceLoaderlookup patterns. - Designed reusable provider-discovery behavior.
- Added tests covering provider loading.
- Migrated affected consumers.
- Preserved class-loader fallback behavior.
- Kept the reusable utility separate from the targeted
ConstructorBuilderbug fix.
π Issue #766 β’ PR #769
JNoSQL β PR #770 β’ Merged
Contributed a project-wide license-header update to align source files with the project's current licensing requirements.
What I contributed:
- Updated affected source-file license headers.
- Applied the required Eclipse Public License 2.0 / Apache License 2.0 notices.
- Preserved the project's existing licensing structure.
- Validated the changes with compliance checks.
π Merged PR #770
Contributing to the Jakarta Agentic AI project through practical improvements to example applications and domain models.
Jakarta Agentic AI β Issue #11 / PR #59 β’ Merged
Updated the fraud-detection example's BankTransaction model to represent monetary values using JSR 354 MonetaryAmount, making the example closer to a realistic financial domain model.
What I contributed:
- Replaced the simplistic monetary representation with JSR 354
MonetaryAmount. - Added the required Money API dependency.
- Updated the transaction domain model.
- Added getters and setters.
- Verified the implementation with Maven tests.
π Issue #11 β’ Merged PR #59
Spring Lens β Issue #269 / PR #270 β’ Merged
Implemented an immutable domain model for aggregating Spring bean-definition metrics.
What I contributed:
- Added the immutable
BeanDefinitionSummaryJava record. - Implemented defensive copying using
Map.copyOf(). - Added null-safe handling for distribution maps.
- Added validation for non-negative bean-definition totals.
- Introduced
LoadingModewithEAGERandLAZYvalues. - Added comprehensive unit tests.
- Added JavaDoc for the model and factory method.
Testing:
BeanDefinitionSummaryTest:
5 tests passed
π Issue #269 β’ Merged PR #270
| Contribution | Project | Focus | Status |
|---|---|---|---|
| FinSim (Simulator) | FinSim | Financial network simulator, payment state machines, fault injection | Creator & Lead |
| Jakarta Data TCK Runner | jakarta-data-tck-ee-runner | Multi-runtime TCK reactor (Open Liberty, GlassFish 8, WildFly) | Creator & Lead |
| OSGi URL Stream Handler Fix | Open Liberty | Fix InMemoryUrlStreamHandler NPE during JPA unit bootstrap |
PR #36370 β’ Open |
| MongoDB Smoke Test | GlassFish | MongoDB Jakarta Data repository integration smoke test | PR #26218 β’ Merged |
| Surefire TCK Runner Discovery | GlassFish | Maven Surefire discovery for NoSQL TCK test classes | PR #26284 β’ Merged |
| Transaction lifecycle fix | JNoSQL Extensions | Page.totalElements() outside transactions |
PR #209 β’ Merged |
| Regression coverage | JNoSQL Extensions | Jakarta Persistence refactoring port | PR #210 β’ Merged |
| Class-loader fix | JNoSQL | ServiceLoader / TCCL discovery in Quarkus |
PR #765 β’ Merged |
| Main branch fix | JNoSQL | ServiceLoader / TCCL Jakarta EE 12 port |
PR #768 β’ Merged |
| Async repository support | JNoSQL | CompletionStage repository return types |
PR #764 β’ Merged |
| Service discovery utility | JNoSQL | Reusable provider discovery infrastructure | PR #769 β’ Open |
| Jakarta Data TCK | Jakarta Data | Async exceptional completion | PR #1556 β’ Merged |
| Jakarta Data TCK | Jakarta Data | QueryOptions / JakartaQuery flush semantics |
PR #1561 β’ Merged |
| Jakarta Data TCK | Jakarta Data | QueryOptions on @Find, @Query, @NativeQuery |
PR #1567 β’ Merged |
| Jakarta Data TCK | Jakarta Data | @Delete with @QueryOptions flush coverage |
Issue #965 β’ Open |
| Jakarta Data Specification | Jakarta Data | Section 6.4 Jakarta Persistence integration text | Issue #1618 β’ Proposed |
| Domain modeling | Jakarta Agentic AI | JSR 354 MonetaryAmount in BankTransaction |
PR #59 β’ Merged |
| Domain modeling | Spring Lens | Immutable BeanDefinitionSummary record |
PR #270 β’ Merged |
| License maintenance | JNoSQL | Project-wide EPL/Apache notices | PR #770 β’ Merged |
Open source has fundamentally changed the way I approach software engineering.
It has pushed me beyond simply writing code that works. I have learned to investigate unfamiliar codebases, reproduce difficult distributed failures, trace framework lifecycles, understand class loaders and thread context switches, navigate Java platform internals, write portable regression and TCK test suites, build multi-provider managed container testbeds, collaborate across timezones with maintainers, and build robust public software.
The most valuable lesson has been simple:
Confidence does not always precede difficult work. True confidence is forged by taking on the difficult architectural problems you initially felt unready for.
Every issue investigated, reproducer built, failed hypothesis, regression test, review, reusable utility, and merged pull request has made me a better engineer.
Java 21 β’ Spring Boot 3 & 4 β’ Spring Modulith β’ Spring Security β’ Distributed Networks β’ Microservices β’ REST APIs
- Distributed payment orchestration & finite state machines (with
UNKNOWNrecovery) - Idempotency guarantees & forward-first reconciliation
- Modular monolith architecture with Spring Modulith & ArchUnit
- RESTful API design & OpenAPI 3.1 contract specification
- Concurrency, thread context class loaders (TCCL), and
ServiceLoaderinternals - Microservices communication, failure handling & circuit breaking
- AI-powered backend applications with Spring AI
Jakarta EE β’ Open Liberty β’ GlassFish β’ WildFly β’ Jakarta Data β’ Jakarta Persistence β’ Jakarta NoSQL β’ Arquillian β’ Eclipse JNoSQL β’ JSR 354 Money
- Enterprise Java APIs, specification development & official TCK authoring
- Arquillian managed container adapters and automated multi-server testbeds
- High-integrity transaction management & flush mode semantics
- Service provider discovery & modular class loading
- Asynchronous repository abstractions (
CompletionStage) - Portable persistence semantics across runtimes (Open Liberty, GlassFish, WildFly, Quarkus)
Next.js 16 β’ React 19 β’ TypeScript β’ Angular β’ Tailwind CSS
- Server-side rendering (SSR), Static Site Generation (SSG) & Turbopack
- Type-safe domain models & strict component architecture
- High-density analytical dashboards & civic technology portals
- WCAG AA accessibility, responsive design & dark mode theming
PostgreSQL 17 β’ Flyway β’ Testcontainers β’ Docker β’ Kubernetes β’ AWS β’ Terraform
- Relational database schema design, migrations & optimistic locking
- Strict PostgreSQL parity testing via Testcontainers (no H2 fallbacks)
- Containerization & multi-stage Docker builds
- Infrastructure as Code (Terraform) on AWS
- Automated CI/CD pipelines (GitHub Actions, Spotless formatting, DCO enforcement)
- π§© Root-Cause Problem Solver β I investigate, reproduce, isolate, and resolve deep architectural bugs.
- β Java & Enterprise Systems Specialist β Deep expertise in Java 21, Spring Boot, Open Liberty, GlassFish, WildFly, and high-assurance architecture.
- π³ Financial & Systems Engineering β Proven track record building idempotent, state-machine-driven financial simulators.
- π Open Source Provenance β Active committer and contributor across Open Liberty, GlassFish, Jakarta EE / Jakarta Data, Eclipse JNoSQL, and Spring libraries.
- π§ͺ Testing & Verification Discipline β Experienced in TCK development, Arquillian multi-container runners, regression test suites, property testing, and ArchUnit rules.
- β‘ Continuous Learner β Persistent, self-directed, and constantly pushing into complex domains.
Mohan Lal β’ mhnuk2007
Self-taught. Curious. Persistent. Always learning.
Confidence is built by doing the difficult work you initially think you are not ready for.
Still learning. Still building. Still contributing. π
β Crafted with code & dedication β’ Last updated: November 2026